Actions

MediaWiki

Common.js: Difference between revisions

From Mahara Wiki

No edit summary
No edit summary
Line 1: Line 1:
<script type="text/javascript">
   var _paq = _paq || [];
   var _paq = _paq || [];
   _paq.push(["setDoNotTrack", true]);
   _paq.push(["setDoNotTrack", true]);
Line 11: Line 10:
     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+'piwik.js'; s.parentNode.insertBefore(g,s);
   })();
   })();
</script>

Revision as of 12:01, 13 August 2015

  var _paq = _paq || [];
  _paq.push(["setDoNotTrack", true]);
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//www.catalyst-analytics.nz/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', 71]);
    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);
  })();