Skip to content
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

Setting up Matomo's Tag Manager #61

Closed
kafkasl opened this issue Aug 13, 2021 · 1 comment
Closed

Setting up Matomo's Tag Manager #61

kafkasl opened this issue Aug 13, 2021 · 1 comment

Comments

@kafkasl
Copy link

kafkasl commented Aug 13, 2021

I am trying to set up matomo's tag manager. Emitting events and tracking in general was working correctly using the call:

init({ url: MATOMO_URL, siteId});

However, I am unsure as to where I should place the tag manager call. I have tried to add the container's js into the init call (replacing the original one) because the container JS file just extends the matomo.js one as far as I can tell. It does not seem to work.

init({ url: MATOMO_URL, siteId, jsTrackerFile: 'js/container_lXXXXX.js' });

Am I missing something? Do I need to initialize both things? How can I debug this?

@kafkasl kafkasl changed the title Setting up Matomo's Tag. Manager Setting up Matomo's Tag Manager Aug 13, 2021
@kafkasl
Copy link
Author

kafkasl commented Aug 16, 2021

I'm closing as I've seen this is not supported and we managed to set it up separately (using the library for normal tracking & normal head script injection for tag manager).

@kafkasl kafkasl closed this as completed Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant