feat(flow): send page views from web-seo-consulting.eu to Matomo site 12 #6

Merged
csaeum merged 2 commits from feature/matomo-site12 into main 2026-11-08 18:08:59 +00:00
Owner

Summary

  • New destination matomo (@walkeros/server-destination-api 4.9.0): sends only page view to idsite=12, requires consent analytics.
  • Only events with Origin: https://web-seo-consulting.eu reach Matomo (before route); IP and user agent are passed to this destination only.
  • MATOMO_URL and MATOMO_TOKEN_AUTH are passed to the collector and stay empty by default, so nothing is sent until they are set in .env.local on the server.
  • The visitor ID _id is forced to 16 hex characters, as required by the Matomo Tracking API.
  • STATUS.md updated after the walker.js rollout.

Tested locally

  • flow_validate (strict): valid
  • flow_simulate with a dummy URL: page view from web-seo-consulting.eu is sent with all fields; other origin, session start and missing consent send nothing
  • docker compose config -q, yamllint: ok
  • Image build and smoke test: /ready ok, /collect accepts events, Matomo logs "url missing" without URL and the container keeps running

Not tested yet

  • Whether real walker.js events contain source.url
  • Whether Matomo accepts the form-encoded POST

🤖 Generated with Claude Code

## Summary - New destination `matomo` (`@walkeros/server-destination-api` 4.9.0): sends only `page view` to `idsite=12`, requires consent `analytics`. - Only events with `Origin: https://web-seo-consulting.eu` reach Matomo (`before` route); IP and user agent are passed to this destination only. - `MATOMO_URL` and `MATOMO_TOKEN_AUTH` are passed to the collector and stay empty by default, so nothing is sent until they are set in `.env.local` on the server. - The visitor ID `_id` is forced to 16 hex characters, as required by the Matomo Tracking API. - `STATUS.md` updated after the walker.js rollout. ## Tested locally - `flow_validate` (strict): valid - `flow_simulate` with a dummy URL: page view from web-seo-consulting.eu is sent with all fields; other origin, `session start` and missing consent send nothing - `docker compose config -q`, `yamllint`: ok - Image build and smoke test: `/ready` ok, `/collect` accepts events, Matomo logs "url missing" without URL and the container keeps running ## Not tested yet - Whether real walker.js events contain `source.url` - Whether Matomo accepts the form-encoded POST 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(flow): send page views from web-seo-consulting.eu to Matomo site 12
All checks were successful
CI / lint (push) Successful in 5s
CI / sicherheit (push) Successful in 50s
CI / docker (push) Successful in 1m49s
CI / lint (pull_request) Successful in 5s
CI / sicherheit (pull_request) Successful in 48s
CI / docker (pull_request) Successful in 49s
1c03cc1c11
Only events with Origin https://web-seo-consulting.eu reach the Matomo
destination; IP and user agent are passed to this destination only.
Matomo URL and token come from the environment and stay empty by default,
so nothing is sent without them. The visitor ID is forced to 16 hex
characters as required by the Matomo Tracking API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
csaeum merged commit a92a37a9ae into main 2026-11-08 18:08:59 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Docker-Stacks/analytics-walkeros!6
No description provided.