How it works
WordPress is the control panel. Cloudflare does all the work.
Nahnu Analytics never stores a visit in WordPress. Every visit, chart and report lives on your own Cloudflare account, and the connector, the script, the SDK and every dashboard talk to it directly.
Visits come from
- Client WordPress sitesFree connector plugin
- Any websiteOne-line script
- Your SaaS or Next.js appSDK, on your own domains
- Mobile and desktop appsSDK for React Native, Expo
All the data, and all the work. Nearest to visitors, or in the EU only.
- WorkersReceive every visit and answer every chart, at the edge
- Analytics EngineEvery visit and event
- D1 and Durable ObjectsWebsites, goals, funnels and daily totals
- KVSettings for each website
- R2OptionalArchive of older detail
- Workers AIOptionalAI summaries and answers
Read directly by
- Your agency dashboardIn wp-admin, read from Cloudflare
- Your clients’ branded portalTheir stats, read from Cloudflare
- Share links, embeds, client wp-adminLoaded straight from Cloudflare
- Dashboards inside your SaaSShort-lived read tokens
Your WordPress: the control panel
Builds and updates the platform, holds your settings, clients, plans and invoices, and hands out read tokens. It is not in the path of a single visit.
Two jobs, two places
Control in WordPress. Data on Cloudflare.
Keeping them apart is what makes it fast, private and easy to grow.
Your WordPress keeps
- Your settings and white label
- Clients and portal accounts
- Plans, invoices and your Stripe connection
- API keys, stored only as hashes
- Google and Bing connections
- Visits, events or recordings
- Anything a tracking request touches
Your Cloudflare keeps and does
- Receives every visit and event
- Stores every website’s stats, nearest to visitors or in the EU
- Answers every number on every dashboard
- Serves the tracking script
- Archives older detail to R2, if you turn it on
Why it matters
Your WordPress never carries the load.
visits stored in WordPress
No tables filling up, no slow admin, nothing to clean out.
answers every chart
Dashboards read straight from Cloudflare, close to whoever is looking.
control panel for every client
Add a hundred sites and your WordPress does the same work as for one.
own the account
Visits never pass through our servers. Move or delete it whenever you like.
For SaaS and website builders
Build white-label analytics into your own product.
Because the data lives on Cloudflare, your app can talk to it directly. Your users get their own analytics, under your brand, without you building an analytics backend.
- Create clients and websites from your own system, by your own ids
- Track every custom domain your app serves, past ad blockers
- Show dashboards in your app, read straight from Cloudflare
- Or sign users in to a branded portal with one click
// Your server: a short-lived token for this user's sites
const t = await stats.readToken({ client: user.id, ttl: 600 });
// Their browser reads straight from your Cloudflare
import { createReader } from 'nahnu-analytics-sdk/read';
const reader = createReader({ endpoint: t.endpoint, token: t.token });
await reader.overview(siteId, { period: '30d' }); Setup
From install to first visit.
- 01
Install the plugin
On your agency’s WordPress. One license, one control panel. Needs WordPress 7.1 and PHP 8.3.
- 02
Connect Cloudflare
Paste a token. The plugin builds your platform in your own account.
- 03
Choose your address and region
A tracking address on your domain, and EU-only storage if you want it.
- 04
Add websites
Install the connector, paste the script, or call the SDK.
Does the client’s WordPress store visits?
No. The connector adds the script and records shop, form and video events, but every visit is stored on your Cloudflare.
Why serve from the client’s own domain?
It is optional. The script and visits then come from the client’s own address, so ad blockers rarely stop them.
Can I move to another Cloudflare account or region?
Yes. There are built-in steps for moving the platform, and for moving to a new WordPress.
What does Cloudflare cost?
The free plan is enough to start. Workers Paid, $5 a month paid to Cloudflare, removes its daily limits. Very busy sites can use more, billed by Cloudflare.
Keep WordPress for control. Let Cloudflare do the rest.
One license, unlimited client websites, every feature.