This is an automated email from the ASF dual-hosted git repository. rawkintrevo pushed a commit to branch matamo in repository https://gitbox.apache.org/repos/asf/mahout.git
commit 36509f72ccc4e2970c65be862c4ec556fdd7d4bc Author: Trevor Grant <[email protected]> AuthorDate: Tue Jan 21 12:01:52 2025 -0600 Add Matamo --- website/_includes/analytics.html | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/website/_includes/analytics.html b/website/_includes/analytics.html index 8b1378917..624e02aef 100644 --- a/website/_includes/analytics.html +++ b/website/_includes/analytics.html @@ -1 +1,17 @@ - +<!-- 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', '70']); + 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 -->
