Skip to content

Commit

Permalink
replaces GA with matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
Geert van Geest committed Aug 28, 2024
1 parent c4a1d68 commit 92d8bb1
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ website:
favicon: assets/SIB_logo.svg
search: true
page-navigation: true
google-analytics: G-1H5B39PY7V
cookie-consent: true
# google-analytics: G-1H5B39PY7V
# cookie-consent: true
navbar:
background: "#003eaa"
left:
Expand Down Expand Up @@ -55,6 +55,22 @@ format:
toc: true
header-includes: |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro">
<!-- 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://matomo.sib.swiss/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '220']);
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 -->
execute:
freeze: auto
Expand Down

0 comments on commit 92d8bb1

Please sign in to comment.