Skip to content

Commit

Permalink
feat: add matomo to header in index.html (#3824)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kammerlo authored Aug 28, 2024
1 parent 606c3f7 commit 0e34b60
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@
-->
<link rel="manifest" href="/manifest.json" />

<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['setCustomUrl', 'https://beta.explorer.cardano.org/']);
(function() {
var u="https://cardanofoundation.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '8']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://cdn.matomo.cloud/cardanofoundation.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->

<!--
Notice the use of in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand Down

0 comments on commit 0e34b60

Please sign in to comment.