rusackas opened a new pull request, #36743:
URL: https://github.com/apache/superset/pull/36743

   ## Summary
   
   Enhances the Matomo analytics implementation on the Superset docs site to 
capture more comprehensive user behavior data. This addresses the observation 
that our stats are lower than other ASF projects.
   
   **New tracking features:**
   
   - **Site search tracking**: Tracks Algolia search queries (debounced, 3+ 
characters) with result counts using Matomo's `trackSiteSearch` API
   - **Download tracking**: Extends tracked file extensions to include PDF, 
ZIP, TAR, executables, office documents, and data files (CSV, JSON, YAML)
   - **Event tracking**:
     - External link clicks categorized by domain (GitHub, Slack, Stack 
Overflow, Mailing List, Preset, Kapa AI)
     - CTA button clicks (Get Started, etc.)
     - Video plays on homepage
   - **Outbound link categorization**: Better analytics segmentation for 
understanding which external resources users visit most
   
   **What this helps with:**
   - Understanding what users search for (and whether they find results)
   - Tracking engagement with key CTAs
   - Measuring video engagement
   - Understanding which external resources drive the most interest
   
   ## Test plan
   
   - [ ] Run docs site locally (`yarn start`) and verify console logs show 
tracking events
   - [ ] Test Algolia search triggers `trackSiteSearch` calls
   - [ ] Test clicking external links triggers categorized `trackEvent` calls
   - [ ] Test video play triggers `trackEvent` calls
   - [ ] Test CTA button clicks trigger `trackEvent` calls
   - [ ] Verify no errors in browser console
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to