I want to compare my new Piwik install (1.7.1) with my old Piwik server (1.0). During several days, I would like to track in these 2 different Piwik servers running 2 different Piwik versions.
Any advice for including the tracking codes without conflict ?
I’m currently running successfully with two different versions of piwik.js
The first step is renaming one of the singleton, replacing all the “Piwik” by “Piwik2”.
Then you can safely use multiple piwik trackers with different versions. e.g.:
var piwikTracker2 = Piwik2.getTracker(...);
piwikTracker2.trackPageView();