Hi,
Can someone please tell me what files I should modify to change the following in the tracking code (I basically want to personalize the tracking code):
rename piwik.js to track.js
rename piwik.php to tracker.php
rename “var piwikTracker” to “var siteTracker”
rename “Piwik.getTracker” to “sTrack.getTracker”
–
Thank you!
James
vipsoft
(vipsoft)
December 11, 2011, 6:44pm
2
Use the ‘js/’ proxy instead of piwik.js and piwik.php. Renaming files is not recommended – it leads you off the automatic upgrade path.
Hi,
So the code should look like the following:
–
Thank you!
J
vipsoft
(vipsoft)
December 14, 2011, 11:36pm
4
yes (you’re missing one more in the img tag)
dan
July 14, 2012, 7:58am
5
Does the js/ replacement still apply for the image tag?
And what about the other questions from the original post?
rename “var piwikTracker” to “var siteTracker”
rename “Piwik.getTracker” to “sTrack.getTracker”
Could these be renamed, and if so what other files would need to get updated?
Sorry for digging up an old post but I’d also like to know how to rename “_paq” and “piwikTracker” to something else?
Thanks