Skip to content

Commit

Permalink
Update head.html
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhjaltalin authored Apr 10, 2024
1 parent 3143b6f commit d9acb01
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,21 @@
{%- endfor -%}
{%- endif -%}

<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://hagstofa.matomo.cloud/";
_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='//cdn.matomo.cloud/hagstofa.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
<!-- 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://hagstofa.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '5']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://cdn.matomo.cloud/hagstofa.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->

{% include meta-tags.html %}

Expand Down

0 comments on commit d9acb01

Please sign in to comment.