Skip to content

Commit

Permalink
[CALCITE-6610] ASF matomo integration for website analytics
Browse files Browse the repository at this point in the history
The analytics will be available under: https://analytics.apache.org/

Close apache#3993
  • Loading branch information
zabetak committed Oct 15, 2024
1 parent 6b95df5 commit df2328b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions site/_includes/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,21 @@
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="{{ site.baseurl }}/css/screen.css">
<link rel="icon" type="image/x-icon" href="{{ site.baseurl }}/favicon.ico">
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDoNotTrack", true]);
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://analytics.apache.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '64']);
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>

0 comments on commit df2328b

Please sign in to comment.