Change Piwik tracking code


#1

I have seen a couple of incidents where templating schemes want to correct the path of src attributes which the Piwik tracking code may fall victim to.
To make this easier for more lay people using the code as cut and paste, consider changing the code that is generated from:


document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));

to:


document.write(unescape("%3Cscript [b][size=x-large]sr"+"c[/size][/b]='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));

I’m not sure how many people would benefit from it, but there should be no downside to the change.