Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Missing ecommerce getter #566

Open
SassNinja opened this issue Jul 13, 2021 · 0 comments
Open

Missing ecommerce getter #566

SassNinja opened this issue Jul 13, 2021 · 0 comments

Comments

@SassNinja
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Unfortunately the matomo javascript doesn't support promises or callbacks for the ecommerce actions.
(Further information: matomo-org/matomo#17756)

Since I need to wait until the order has been tracked, I'm trying to build a workaround by waiting until the untracked cart items are cleared (which occurs after successful order tracking)
However the problem is that this matomo-tracker doesn't provide the getter getEcommerceItems which is listed in the docs.

Describe the solution you'd like
I'd like the integration to provide the missing method getEcommerceItems

Describe alternatives you've considered
An alternative would be to do a PR in the matomo repo to add a callback in the trackOrder part.
However since this integration doesn't support everything that is listed in the docs, I'd start here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant