Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Commit

Permalink
Add matomo tracking code
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Jain committed Sep 6, 2019
1 parent 1f360ca commit afcedf5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docinfo-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,17 @@
return;
}

//matomo
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://matomo.bisq.network/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
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>

0 comments on commit afcedf5

Please sign in to comment.