Use js/ instead of piwik.js/php for caching and compression

This commit is contained in:
Philipp Oppermann
2017-06-13 21:33:06 +02:00
parent f807eaa95e
commit 0048d3bcd3

View File

@@ -48,10 +48,10 @@
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.phil-opp.com/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setTrackerUrl', u+'js/']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'js/'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->