Platform API
Give analytics to your customers.
Embed white label analytics in your own product. One API key provisions a project per customer, injects the tracker into the sites you generate, and reads their stats back into your dashboard — your branding, your UI, your customers.
Three calls, end to end
Provision a project, register a site, read the stats back. Everything between those three steps — collection, storage, aggregation — is ours to run.
# 1. Your backend creates a project for one of your users
curl -X POST https://quantalog-be.daorbit.in/v1/projects \
-H "Authorization: Bearer sk_live_..." \
-d '{ "name": "Jane'\''s Store", "extUserId": "user_8812" }'
# 2. Register the site they deployed — the snippet comes back
curl -X POST https://quantalog-be.daorbit.in/v1/projects/prj_31f/sites \
-H "Authorization: Bearer sk_live_..." \
-d '{ "name": "Store", "domain": "jane.shop" }'// 3. Render their numbers inside YOUR product's UI
const res = await fetch(
`https://quantalog-be.daorbit.in/v1/sites/${siteId}/stats?range=24h`,
{ headers: { Authorization: `Bearer ${process.env.QUANTALOG_KEY}` } }
);
const { visitors, pageviews, live, topPages } = await res.json();Endpoints
/v1/projectsCreate a project for an end-user/v1/projectsList projects, filter by your user id/v1/projects/:pid/sitesRegister a site, get the snippet/v1/projects/:pid/sitesList the sites under a project/v1/sites/:siteId/statsRead every dashboard metric/v1/sites/:siteId/snippetFetch the snippet again, any time/v1/sites/:siteIdRemove a site and its dataWho this is for
Site and app builders
Every site your users publish gets analytics automatically. The tracker goes into the template you generate, so the customer never installs anything and never sees a setup step.
White label agencies
Client dashboards under your own brand. Read the stats through the API and render them in your UI — your customers never encounter the Quantalog name unless you want them to.
SaaS products with a dashboard
If your product already shows customers a dashboard, traffic and SEO data is a feature you can ship without building a pipeline, a store or a query layer for it.
What you can rely on
One key, many tenants
A single secret key manages every project. Each project is isolated: a customer's events, sites and stats are never reachable from another project's context.
The same real-time data
The stats endpoint returns what the dashboard shows, including the live visitor count. No batch job sits between an event and your API response.
Delete means delete
Removing a site removes its data. When your customer leaves your platform, you can honour their deletion request with one call rather than a support ticket.
Common questions
- Can I white label Quantalog analytics inside my own product?
- Yes. The Platform API returns raw JSON, so you render the numbers in your own interface with your own branding. Your customers do not need a Quantalog account and never see the Quantalog dashboard unless you link them to it.
- How do I give each of my customers their own analytics?
- Create one project per customer with your API key, passing your own user id as extUserId so you can look them up later. Register each site they publish under that project; the tracker snippet comes back in the response, ready to inject into whatever you generate.
- Is customer data isolated between projects?
- Yes. A project scopes its sites, events and stats. One customer's data is never returned by a request in the context of another project.
- What does the stats endpoint return?
- Every metric the dashboard renders — visitors, pageviews, sessions, bounce rate, live visitor count, top pages, referrers, channels, countries, devices and goals — for whatever range you ask for.
- What happens when one of my customers leaves?
- DELETE the site. Its events go with it, which is what lets you answer a deletion request from your own customer without escalating it to us.
Build it against the real API
Sign up, generate a key, and provision your first project in a few minutes. The free tier is enough to build and test the integration before a single customer is on it.