Skip to content

Commit

Permalink
updated matomo code
Browse files Browse the repository at this point in the history
  • Loading branch information
qtrinh2 committed Feb 4, 2025
1 parent a1bd97c commit ef158ca
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions django/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
{% tailwind_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="//dev.stats.rrchnm.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '118']);
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>
<!-- End Matomo Code -->
<!-- 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="//dev.stats.rrchnm.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
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>
<!-- End Matomo Code -->
</head>

<body class="bg-gray-50 font-serif leading-normal tracking-normal">
Expand Down

0 comments on commit ef158ca

Please sign in to comment.