Skip to content

Commit

Permalink
Merge pull request #8 from projectcaluma/matomo
Browse files Browse the repository at this point in the history
Add matomo
  • Loading branch information
czosel authored Feb 18, 2019
2 parents 02f6284 + a796419 commit 499e9e7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,20 @@ <h2 class="project-tagline">{{ site.description | default: site.github.project_t
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
</main>

<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://piwik.adfinis-sygroup.ch/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '11']);
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+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</body>
</html>

0 comments on commit 499e9e7

Please sign in to comment.