<script> tags manually.
Why use Cloudflare Web Analytics?
- Privacy-first: No cookies, no personal data collection, yet you still get accurate traffic charts.
- Lightweight: Cloudflare’s beacon is tiny and won’t slow down your Sherpo site.
- Simple setup: You only need a token; Sherpo handles script injection for every page.
- Unlimited sites: Connect Cloudflare analytics separately for each Sherpo site if you run multiple storefronts.
Generate a Cloudflare token
- Sign in to your Cloudflare dashboard.
- Go to Web Analytics and add a new Domain (e.g.,
yourbrand.sherpo.ioor your custom domain). - Cloudflare shows a script snippet containing a token (
data-cf-beacon='{"token": "xxxxxxxx"}'). - Copy the token value.
Connect Cloudflare analytics in Sherpo
- Open Organization -> Integrations in Sherpo.
- Select Cloudflare Web Analytics.
- Click Configure and paste the token.
- Save. Sherpo injects Cloudflare’s beacon on every public page for that site (space).
Verify data
- In Cloudflare Analytics, select your domain and check the dashboard. You should see page views within minutes.
- Filter by path or referrer to confirm Sherpo pages are being tracked.
- If no data appears, double-check the token and ensure the domain you added in Cloudflare matches your Sherpo site URL.
Tips & best practices
- Use separate tokens for production vs. staging domains to keep reports clean.
- Combine Cloudflare analytics with GA4 or Meta Conversions if you need both cookieless insights and marketing attribution.
- Document which token belongs to which Sherpo site so teammates can update credentials when cloning spaces.