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

The tags only apply when setting a custom jsFilename but an error is logged in the console #50

Open
Nureckiy opened this issue Feb 16, 2022 · 0 comments

Comments

@Nureckiy
Copy link

After configuring the tag with a Tag Manager (hotjar in my case), it doesn't work by default until jsFilename is set to "https://<mydomain>.containers.piwik.pro/<siteId>.js". Then it works fine, but siteId and setTrackerId are added twice to the _paq variable and the following errors are logged in the console:
The method setTrackerUrl is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation
The method setSiteId is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation

Any ideas how to avoid this? Thanks in advance!

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