Author: janhoy
Date: Wed Mar 26 12:00:57 2025
New Revision: 1089556
URL: http://svn.apache.org/viewvc?rev=1089556&view=rev
Log:
Add Matomo tracker to page at https://solr.apache.org/docs/9_8_1/
Modified:
sites/solr/docs/9_8_1/index.html
Modified: sites/solr/docs/9_8_1/index.html
URL:
http://svn.apache.org/viewvc/sites/solr/docs/9_8_1/index.html?rev=1089556&r1=1089555&r2=1089556&view=diff
==============================================================================
--- sites/solr/docs/9_8_1/index.html (original)
+++ sites/solr/docs/9_8_1/index.html Wed Mar 26 12:00:57 2025
@@ -2,6 +2,23 @@
<head>
<title>Apache Solr⢠9.8.1 Documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <!-- 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', '76']);
+ 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>
<body>
<div>