matomo-org / matomo-org/developer-documentation
Lack of detail for expected parameter types in JavaScript Tracking Client API reference
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 58
- Forks
- 88
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 13
Description
https://developer.matomo.org/api-reference/tracking-javascript#ecommerce
just names params for the JS Tracking Client function `trackEcommerceOrder`. However [the matomo docs](https://matomo.org/docs/ecommerce-analytics/#example-of-tracking-the-ecommerce-order) explain the expected types and defaults.
It would be great if these details would also be included within API docs (and [their param names consistent between the two pages](https://github.com/matomo-org/matomo/issues/17909))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the ecommerce section of the JavaScript Tracking Client API reference with the linked Matomo ecommerce documentation, focusing on trackEcommerceOrder. Document the expected parameter types and defaults, and make the parameter names consistent with the related issue 17909; done means the API reference contains these details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100