Skip to content
15 · Track more

Revenue

Connect Stripe or Polar to see real money next to your traffic.

All pages

Traffic without revenue tells you a campaign worked. Traffic with revenue tells you whether it was worth running. Connect a payment provider and sonex reads your revenue directly from it, per website.

Connect a provider

Go to the website’s Settings, find the Revenue card, and pick your provider. (The last step of onboarding offers this too; skipping it there costs nothing.)

Stripe

Paste a restricted API key (Stripe calls these RAKs; they start with rk_live_). Create it in the Stripe dashboard under Developers → API keys → Create restricted key.

sonex reads two endpoints and nothing else, so grant exactly two permissions and leave every other resource on None:

Stripe resourcePermissionWhat it is for
ChargesReadThe revenue itself
BalanceReadConfirming the key works when you connect it

Do not paste a standard secret key (sk_live_). It carries write access to your whole account, and sonex has no use for any of it.

sonex verifies the key against your account balance before saving, so a key with the wrong permissions is rejected on the spot rather than failing silently a week later.

Revenue is aggregated from succeeded charges, net of refunds. Failed and unpaid charges are ignored.

Polar

Paste your organization ID and an organization access token.

Create the token in Polar under Settings → Developers → New token, and give it only these scopes:

Polar scopeWhat it is for
metrics:readThe revenue itself
organizations:readConfirming the token belongs to the organization you named

Set an expiry you are willing to maintain. When the token expires, revenue stops updating and the Revenue card asks you to reconnect; nothing else about your analytics is affected.

Where revenue appears

Once connected:

  • Overview gains revenue as a focusable series in the main chart, alongside views and visitors, plus a revenue tile.
  • Reports gains the Revenue runner: pick a currency, press Run, see revenue over time for the selected range.

The Revenue card in Settings then shows the connected provider and its last four characters, with a Disconnect button.

Reading it honestly

  • This is your provider’s data, not sonex’s. Revenue is read from Stripe or Polar over their API. It is not derived from tracked events, and no tracked event is needed for it to work.
  • It is not per-visitor attribution. You are seeing revenue over time next to traffic over time. When both climb together the story is suggestive, not proven. For credit assignment, use the Attribution report and a conversion event you fire yourself.
  • One currency at a time. The Revenue runner takes a currency, so a business charging in several reads them one at a time rather than adding unlike things together.

Next: Websites and teams.

Questions

Frequently asked.

Cookies, install and pricing, answered. Still stuck? Ask us anything .

01 Can sonex show revenue next to my traffic?

Yes. Connect Stripe or Polar with a read-only key and sonex reads revenue straight from your payment provider, per website. Revenue then appears as a focusable series on the Overview chart and as its own report, beside the traffic that earned it. No tracked event is needed for it to work.

02 Does sonex use cookies?

No. sonex sets no cookies and needs no consent banner. It counts visits without cookies, fingerprinting, or any personal data, so it is GDPR, PECR and CCPA-ready by default.

03 How do I install sonex?

Add one script tag to your site's <head> with your website id. It is a single lightweight tracker — no build step and no SDK required.

04 Is sonex a Google Analytics alternative?

Yes. sonex gives you the reports that matter — visitors, pages, referrers, funnels, revenue and a world map — without surveilling your audience or drowning you in configuration.

05 How is sonex priced?

By monthly tracked events. Free covers 2k events, Pro is $20/mo for 200k events, and Business is $200/mo for 2M events with team seats.

See what your traffic actually earns.

Revenue beside the visitors that produced it. No cookies, no credit card, no consent banner.

Get started