Skip to content

Commit

Permalink
TEZ-4581: ASF matomo integration for web site analytics
Browse files Browse the repository at this point in the history
1. Use matomo for gathering usage statistics
2. Update the privacy policy link accordingly
  • Loading branch information
zabetak committed Dec 23, 2024
1 parent 9efa6f1 commit af40e3c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 54 deletions.
52 changes: 0 additions & 52 deletions docs/src/site/markdown/privacy-policy.md

This file was deleted.

20 changes: 18 additions & 2 deletions docs/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,23 @@

<body>
<head>
<![CDATA[<style>
<![CDATA[
<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', '63']);
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>
<style>
.well.sidebar-nav {
background-color: #fff;
}
Expand Down Expand Up @@ -133,7 +149,7 @@
</div>
<br/>
<div class="row span12">
<a href="privacy-policy.html">Privacy Policy</a>
<a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
</div>
]]>
</footer>
Expand Down

0 comments on commit af40e3c

Please sign in to comment.