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
Duplicating data using multiple Piwik trackers doesn't work (documentation) #11340
Comments
Could you send us your website URL where you have put this code? |
Thanks for the report, I could reproduce this issue. The solution is to explicitely set the piwik URL as the second parameter. So replace by I'll fix now the documentation |
… piwikUrl to null since it may not work refs matomo-org/matomo#11340
… piwikUrl to null since it may not work (#172) refs matomo-org/matomo#11340
Thank you Matt, works perfectly! :) |
BTW we could likely make that work by changing order in piwik.js of var applyFirst = ['addTracker', 'disableCookies', 'setTrackerUrl', to var applyFirst = ['setTrackerUrl', 'addTracker', 'disableCookies', but haven't tested it |
Hey, I'm using latest PIWIK 3.0.1 and want one part of the website being tracked in 2 websites simultaneously.
I followed the way written in the documentation to accomplish this: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers
The tracking code I'm using:
But only the first Website gets tracked.
It's the same behaviour in PIWIK 2.16.5.
The text was updated successfully, but these errors were encountered: