Solutions · SaaS platforms

Analytics for SaaS platforms, inside your own product.

Give every user their own analytics. The TypeScript SDK sets up their accounts and websites from your sign-up, counts sales from your server and shows the stats in your app.

Users and sites

Made from your own sign-up.

Clients, portal users and websites are created by your code, with your own IDs.

  • One platform key, kept on your server
  • Visitors and pageviews per site and per client, for your billing
  • Send a user into their branded client portal with one link
Your users and their sites →
What the SDK sets upSummary
  • Clients and portal usersYour IDs
  • Their websitesYour IDs
  • Portal sign-inOne link
  • Usage for billingPer site and client

Keep the platform key on your server, never in a browser or an app.

Stats in your app

Fast reads, straight from Cloudflare.

Your server makes a short-lived read token, and your dashboard reads with it. WordPress isn’t involved.

  • A token reads only the sites it names, and can only read
  • Ends after the time you set, at most 7 days
  • Reads with a token don’t count against the rate limit
Reading the stats in your app →
A read tokenSummary
  • The sites it namesOnly
  • ReadingOnly
  • LifetimeUp to 7 days
  • Rate limitNot counted

Limited to your app’s pages with origins.

Safe by design

Built so stats can’t break your product.

The SDK keeps analytics out of the way of your checkout and your users.

  • No broken checkouts

    track() never throws. A stats hiccup can’t stop an order.

  • No double sales

    The same event id within 3 days counts once.

  • Sales from your server

    A purchase joins the buyer’s visit, so the source that sold gets the credit.

  • Your Cloudflare

    The data lives in your own Cloudflare account.

Questions

SaaS questions

Something else? Ask us.

Who is the SDK for?

A SaaS, website builder, host or app that gives its own users analytics.

Does it cost extra?

No. The SDK comes with your license.

Can I use another language?

Yes. Everything the SDK does is plain HTTP, described in an OpenAPI 3.1 file in the package.

Where does the data live?

In your own Cloudflare account, like every other site on Nahnu Analytics.

Try it on your own sites.

Unlimited websites, every feature, one license.