juzhiyuan opened a new pull request, #2152:
URL: https://github.com/apache/apisix-website/pull/2152
## Summary
Restore page-view tracking for the homepage, blog, and current docs. These
Astro pages bypass the Docusaurus template that loads the ASF Matomo tracker.
```text
Astro shared layout
apisix.apache.org → load ASF Matomo asynchronously
cookies disabled → send page view to site 17
```
## Evidence
- **Before:** Chromium on the live homepage, blog, and current CORS docs
made no Matomo request. The Docusaurus 3.16 CORS page requested `matomo.php`
with `idsite=17`.
- **After:** `npm run build` in `next/` passed. Chromium loaded the built
homepage, blog index, and current CORS docs in English and Chinese, plus the
English Getting Started page. Using the ASF tracker script, each page issued
one request with `idsite=17` and the expected page URL, with cookies disabled.
A preview hostname loaded no tracker. The browser intercepted tracking requests
locally.
## Merge Danger
**Door:** Two-way. Revert the layout change to remove the Astro tracker.
**Blast Radius:** Analytics on Astro pages served at `apisix.apache.org`.
--
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]