Skip to content

Commit

Permalink
TEZ-4581: ASF matomo integration for web site analytics (#375) (Stama…
Browse files Browse the repository at this point in the history
…tis Zampetakis reviewed by Laszlo Bodor)
  • Loading branch information
zabetak authored Dec 23, 2024
1 parent 44c4f1e commit fd6f152
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 fd6f152

Please sign in to comment.