Skip to content

Commit

Permalink
adds matomo analytics tag
Browse files Browse the repository at this point in the history
SandyRogers committed Sep 30, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 68c7508 commit 2b7605e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
@@ -33,6 +33,22 @@
defer></script>
<!-- For autocomplete/typeahead -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected]/dist/css/autoComplete.02.min.css"/>

<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://ebi-mgnify.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '7']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://cdn.matomo.cloud/ebi-mgnify.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
{% endblock head %}
</head>
<body class="vf-body | vf-stack vf-stack--200">

0 comments on commit 2b7605e

Please sign in to comment.