-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Matomo Tag Manager #32
Comments
We are also interested in this. Is there any news about this? Did anybody start working on this. @tsteur Does it mean that the datalayer calls also have to be replaced or is it only about the container embedding? |
I am working on this, but for the https://github.com/fnogatz/magento2-matomo fork |
* Add config flag for switching between Tag Manager Container and direct Tracking code * Don't check for window._mtm anymore -> use configuration * Remote unnecessary JsOptions / calls only for paq
@fnogatz You can have a look at the pull request #1 - it basically already tracking page views. But I think I have to push different options, because in the tag manager preview debug log I see
And also
|
It looks like in Matomo Tag Manager new tags for all the events have to be created (https://matomo.org/faq/tag-manager/faq_35847/) - wondering if we can do this seamlessly, so that Matomo Ecommerce Tracking works with less possible changes. |
I came up with this solution for warding the ecommerce events to Matomo https://github.com/iMi-digital/magento2-matomo/blob/main/doc/tag-manager.md |
* Separate templates * Include the Tag Manager code in the <head> tag
* Add config flag for switching between Tag Manager Container and direct Tracking code * Don't check for window._mtm anymore -> use configuration * Remote unnecessary JsOptions / calls only for paq
* Separate templates * Include the Tag Manager code in the <head> tag
New pull request #51 |
As announced last week there is now a Matomo Tag Manager available which integrates into Matomo and eventually will be directly shipped with Matomo.
It would be great if you could offer an easy way for users to embed their Tag Manager containers. We have written a guide that helps on how to write an integration plugin:
https://developer.matomo.org/guides/tagmanager/integration-plugin
Please let me know if there are any questions. Happy to improve the guide and making integrations as easy as possible.
FYI: Piwik is now Matomo.
The text was updated successfully, but these errors were encountered: