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

Missing callback support #568

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

Missing callback support #568

SassNinja opened this issue Jul 15, 2021 · 0 comments

Comments

@SassNinja
Copy link
Contributor

The more I use matomo, the more missing features I find in this integration (sorry for that 馃槃 )

Since I must track some events before redirecting the use to another website, it's crucial to wait for matomo to be done with the tracking request. Matomo supports a callback param for this case
https://github.com/matomo-org/matomo/blob/fa66bc580852c2b098ba5ea7f7ba57048f258714/js/piwik.js#L6507

Unfortunately your integration doesn't care about this and doesn't provide a way to pass a callback.
That should be changed, precisely ALL additional data should be supported meaning

  • customTitle (trackPageView)
  • customData (trackPageView & trackEvent)
  • callback (trackPageView & trackEvent)
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