Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Commit

Permalink
Update matomo tracking code to Carpentries self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
froggleston authored Aug 7, 2024
1 parent d301bed commit c445499
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _includes/head
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://carpentries.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '10']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='//cdn.matomo.cloud/carpentries.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
var u="https://matomo.carpentries.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '10']);
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>
<noscript><p><img src="https://carpentries.matomo.cloud/matomo.php?idsite=10&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<noscript><p><img src="https://matomo.carpentries.org/matomo.php?idsite=10&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->

{% if site.google_site_verification %}<meta name="google-site-verification" content="{{ site.google_site_verification}}" />{% endif %}
Expand Down

0 comments on commit c445499

Please sign in to comment.