lainchan/js/piwik.js

13 lines
445 B
JavaScript
Raw Normal View History

2015-01-24 16:59:23 -05:00
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
2016-01-08 20:31:28 -05:00
var u="//lainchan.org/analytics/piwik/";
2015-01-24 16:59:23 -05:00
_paq.push(['setTrackerUrl', u+'piwik.php']);
2016-01-08 20:31:28 -05:00
_paq.push(['setSiteId', 1]);
2015-01-24 16:59:23 -05:00
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);
})();