Skip to content
Permalink
Browse files

Adding analytics

  • Loading branch information...
Depado committed Jan 15, 2016
1 parent 0da52bd commit 0f093deeec375e125788645efd40c571ad74388c
Showing with 20 additions and 0 deletions.
  1. +20 −0 templates/index.html
@@ -202,7 +202,27 @@ <h5 class="center-align">https://jagon.depado.eu/api/v1/</h5>
$('.button-collapse').sideNav();
});
})(jQuery);
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u = "http://analytics.depado.eu/";
_paq.push(['setTrackerUrl', u + 'mypi.php']);
_paq.push(['setSiteId', 9]);
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 + 'mypi.js';
s.parentNode.insertBefore(g, s);
})();
</script>
<noscript>
<p><img src="http://analytics.depado.eu/piwik.php?idsite=9" style="border:0;" alt="" /></p>
</noscript>

</body>

0 comments on commit 0f093de

Please sign in to comment.
You can’t perform that action at this time.