codeant-ai-for-open-source[bot] commented on PR #37526:
URL: https://github.com/apache/superset/pull/37526#issuecomment-3812624992
## **Sequence Diagram**
Adds a trackPageView helper that logs page view details in dev mode and then
delegates to Matomo; replaces the raw trackPageView push with this helper so
developers see console confirmation when navigating pages.
```mermaid
sequenceDiagram
participant User
participant DocsSite
participant Matomo
User->>DocsSite: Navigate to new page (route change)
DocsSite->>DocsSite: Set custom URL, referrer, and document title
DocsSite->>DocsSite: Call trackPageView(url, title)
DocsSite-->>DocsSite: If dev mode, console.log "Matomo trackPageView:
{url, title}"
DocsSite->>Matomo: window._paq.push(['trackPageView'])
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
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]