GaneshPatil7517 opened a new pull request, #12:
URL: https://github.com/apache/grails-website/pull/12

   Resolves #5 - Add Apache Analytics to historical docs
   
   This PR adds Apache Analytics (Matomo) tracking to historical documentation 
pages 
   that were missing analytics instrumentation.
   
   ## Changes
   - **6,624 HTML files updated** across `docs/` and `docs-legacy-*` directories
   - Matomo tracking script injected before `</head>` tag
   - Added utility script `add_matomo_analytics.py` for bulk processing
   
   # Implementation Details
   The Matomo tracking code follows Apache Analytics best practices:
   - ✅ DoNotTrack support enabled (`setDoNotTrack`)
   - ✅ Cookies disabled for privacy compliance (`disableCookies`)
   - ✅ Tracker methods called **before** `trackPageView()`
   - ✅ Link tracking enabled for comprehensive analytics
   - ✅ Uses Apache's analytics endpoint (analytics.apache.org)
   - ✅ Site ID 79 (Grails project)
   
   ## Testing
   - [x] No console errors
   - [x] No broken links or UI issues
   - [x] No syntax warnings
   - [x] Script loads correctly from analytics.apache.org
   - [x] All historical pages updated safely
   
   ## Example Pages Updated
   - https://grails.apache.org/docs/snapshot/api/
   - https://grails.apache.org/docs/snapshot/grails-data/api/
   - docs-legacy-gorm, docs-legacy-gsp, docs-legacy-async, etc.
   
   
   


-- 
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