You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bifromq.apache.org by "visoar (via GitHub)" <gi...@apache.org> on 2026/08/17 12:45:18 UTC
[PR] fix: track updated titles on client-side navigation [bifromq-sites]
visoar opened a new pull request, #85:
URL: https://github.com/apache/bifromq-sites/pull/85
## Summary
- wait for React Helmet's animation-frame update before recording Matomo page views
- ensure client-side navigation records the destination page title instead of the previous page title
## Root cause
Docusaurus updates metadata through React Helmet, which defers `document.title` changes with `requestAnimationFrame`. The existing zero-delay timer could run first and queue the previous page title.
## Validation
- `pnpm run typecheck`
- production build
- site policy checks passed for 124 indexable pages
- browser verification with `analytics.apache.org` blocked: navigating from `/` to `/blog/` queued the `/blog/` URL, matching destination title, previous URL as referrer, and one additional page view
--
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: commits-unsubscribe@bifromq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: track updated titles on client-side navigation [bifromq-sites]
Posted by "visoar (via GitHub)" <gi...@apache.org>.
visoar merged PR #85:
URL: https://github.com/apache/bifromq-sites/pull/85
--
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: commits-unsubscribe@bifromq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org