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

Missing ecommerce getter #566

Description

@SassNinja

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions