Skip to content

Commit

Permalink
add matomo link
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDTR committed Oct 21, 2024
1 parent 3271195 commit 37086e4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,21 @@ const { imgLink, title, subtitle } = Astro.props;
></script>
<div id="tooltip" class="tooltip"></div>
<script src="../scripts/tooltip.js"></script>
<script>
var _paq = (window._paq = window._paq || []);
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function () {
var u = "//matomo.amoses.dev/";
_paq.push(["setTrackerUrl", u + "matomo.php"]);
_paq.push(["setSiteId", "2"]);
var d = document,
g = d.createElement("script"),
s = d.getElementsByTagName("script")[0];
g.async = true;
g.src = u + "matomo.js";
s.parentNode.insertBefore(g, s);
})();
</script>
</body>
</html>

0 comments on commit 37086e4

Please sign in to comment.