@mattab opened this Pull Request on February 9th 2018 Member

When addTracker is called twice or more, currently the following message is displayed in the console:

The method addTracker 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: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers

In reality it's allowed to call addTracker multiple times and this is an edge case as all other methods should only be called once: var applyFirst = ['addTracker', 'disableCookies', 'setTrackerUrl', 'setAPIUrl', 'enableCrossDomainLinking', 'setCrossDomainLinkingTimeout', 'setSecureCookie', 'setCookiePath', 'setCookieDomain', 'setDomains', 'setUserId', 'setSiteId', 'enableLinkTracking'];

This Pull Request was closed on February 28th 2018
Powered by GitHub Issue Mirror