-
Notifications
You must be signed in to change notification settings - Fork 9
Add Apache Analytics to historical docs #5
Copy link
Copy link
Open
Description
Some historical documentation is missing analytics. It did not have Google Analytics, which was replaced with Apache Analytics.
Locate html pages with missing analytics and bulk add it to those pages.
Examples:
https://grails.apache.org/docs/snapshot/grails-data/
https://grails.apache.org/docs/snapshot/api/
https://grails.apache.org/docs/snapshot/grails-data/api/
Apache Analytics Code:
<!-- 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', '79']);
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 -->
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress