Websites and web apps

Your sites, counted without cookies

One script tag, about 1 KB. Pageviews, client-side routes, referrers, campaigns, goals, funnels and revenue, counted without cookies and kept out of production until the traffic is real.

How it works

Paste one tag and your numbers are live in seconds

  1. 1

    Add the script

    One tag in the head of every page, or the npm package for apps that bundle their own code. Your agent can do it for you.

  2. 2

    Name your domains

    Your domains count as production. Vercel, Netlify and Cloudflare Pages previews count as preview. localhost is skipped.

  3. 3

    Watch it land

    The install page shows each event as it arrives, with its environment, within five seconds.

What it replaces

Your current web analytics, minus the per-site pricing

Everything a privacy-first web tool does, plus environments, a live feed, an MCP, and your apps beside your sites. Unlimited sites on Studio, so the tenth side project costs nothing extra.

FathomPlausibleSimple AnalyticsGoogle Analytics for small sites

What you get on every site

  • Pageviews and client-side route changes
  • Entry and exit pages
  • Sources, referrers and UTM campaigns
  • Channels, including AI assistants
  • Countries and regions
  • Devices, browsers and operating systems
  • Custom events with properties
  • No-code events from data attributes
  • Goals and 2 to 8 step funnels
  • Revenue in any currency
  • Filters you can combine, kept in the URL
  • Compare to last period or last year
  • Share links, read-only, with a password (next)
  • CSV export of any breakdown
  • Visitors right now
  • Honours Global Privacy Control and Do Not Track

The install

Staging stays out of your numbers

Query strings are cut back to campaign tags in the browser, so tokens and emails in URLs never leave it. Events from hosts you haven't named are held, not counted.

index.html
<script defer src="https://api.pagebee.ai/script.js"
  data-site="pb_pk_your_site_key"></script>
Anywhere in your app
pagebee("Signed up", { props: { plan: "pro" } });
pagebee("Purchase", { revenue: 1999, currency: "GBP" });
No code
<a href="/pricing" data-pagebee-event="Pricing CTA">See pricing</a>

Questions

Asked often

Do I need a cookie banner for Pagebee?

Pagebee sets no cookies and stores nothing on your visitors' devices, so it doesn't add anything to a banner. Whether your site needs one depends on the other scripts you run. The line for your privacy notice is on the How we count page.

Does it work with single-page apps?

Yes. The script listens to the history API, so route changes in Next.js, React Router, Vue and SvelteKit count as pageviews. Hash routers work with data-hash on the tag.

What about ad blockers?

Some block third-party analytics hosts, ours included, and those visits aren't counted. Once our own domain is live you'll be able to serve the script from your domain to cut that down. The docs explain how.

Every site and app you ship, in one place

Free to 10,000 events a month. No card.