Chrome dev tools error on piwik javascript

The code on my webpage looks like so :


<!-- Piwik --> 
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://xxxxx.xxx/piwik/" : "http://xxxx.xxx/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 5);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://xxxx.xxxx/xxxx/piwik.php?idsite=5" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
</body>

Piwik appears to be trakcing the website correctly however when I visit I always note an error in Chrome dev tools:


GET http://xxx.xxx/piwik/piwik.js  www.domain.info:132
(anonymous function)

Line 132 is


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

Any ideas? Thanks.

Same here, chrome 26. This forum’s piwik.js is doing the exact same thing as well, so I don’t believe it’s tied to a particular installation.

can you post a screenshot of the problem /message you see?

Here you go!

I dont get this error on my chrome, not sure what it would be, probably a bug in chromium… ?