Skip to content

feat: count visits with Cloudflare Web Analytics - #13

Merged
benatespina merged 1 commit into
mainfrom
feat/web-analytics
Oct 17, 2026
Merged

benatespina merged 1 commit into
mainfrom
feat/web-analytics

Conversation

@benatespina

Copy link
Copy Markdown
Member

Summary

  • The landing loads Cloudflare's Web Analytics beacon, so the launch can be measured.

Changes

  • base.astro: the beacon before </body>, is:inline so Astro leaves it as is. No cookies.
  • The Web Analytics site bounda.dev moved from automatic injection (which never reached this Worker's pages and skipped EU visitors) to a manual snippet. The same token counts docs.bounda.dev and demo.bounda.dev.

Checked

  • astro check and astro build green; the beacon is in dist/index.html and dist/404.html.

The site was set to inject the beacon on its own, which never reached a Worker's pages and left out every visitor from the EU. It is now installed by hand, without cookies, under the bounda.dev site that also counts the docs and the demo.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
bounda-website c88ee57 Oct 17 2026, 02:09 PM

@benatespina
benatespina merged commit 169dc1e into main Oct 17, 2026
2 checks passed
@benatespina
benatespina deleted the feat/web-analytics branch October 17, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant