Skip to content

Commit

Permalink
replace Plausible with Matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
rieckpil committed May 15, 2023
1 parent 176cede commit 1c1c850
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions layouts/partials/extend_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,21 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato" rel="stylesheet">

<!-- Plausible -->
<script defer data-domain="progmot.com" src="https://plausible.io/js/plausible.js"></script>
<!-- End Plausible Code -->
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setExcludedQueryParams", ["mc_eid","mc_cid","tve_name","email","twclid","customer_email","rdt_cid"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://analytics.rieckpil.de/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '4']);
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 -->

<img src="https://vg04.met.vgwort.de/na/{{ .Params.trackingPixel }}" width="1" height="1" alt="">

0 comments on commit 1c1c850

Please sign in to comment.