NightOwl888 opened a new issue, #1208:
URL: https://github.com/apache/lucenenet/issues/1208

   ### Is there an existing issue for this?
   
   - [x] I have searched the existing issues
   
   ### Task description
   
   Apache supports analytics tracking through Matomo, and many other projects 
have added this to their websites to track page views, demographics, etc. This 
can provide us with some valuable feedback as to how much traffic and what sort 
of traffic is visiting our website.
   
   This task involves installing this tracking script on our website (both 
"site" and "apidocs" templates).
   
   ### Set-up Documentation
   
   https://privacy.apache.org/matomo/creating-a-new-site.html
   
   ### Dashboard
   
   https://analytics.apache.org/
   
   ### Tracking Script
   
   ```html
   <!-- 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', '84']);
       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 -->
   
   ```
   
   It is recommended that the Matomo Code is included immediately before the 
closing `</head>` tag on all web pages.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to