Skip to content
all posts
Product 3 min read updated August 12, 2026

Measure what matters, not everything

Most analytics setups measure everything and answer nothing. Decide the question first, then track the two or three events that answer it.

By Sourav · Building sonex
All posts

The default analytics setup measures everything and answers nothing. Dozens of dimensions, hundreds of automatic events, and a dashboard so dense you close it without learning a thing.

A better habit: decide the question first, then track the two or three events that answer it. Everything below is that idea applied.

Start from the question, not the event

The failure mode is instrumenting first and hoping insight falls out later. It does not, because a number only means something next to a decision you were going to make anyway.

So write the question down before you write any code. “Is this launch working?” is a question. It maps to a small set of events:

window.sonex.track("signup", { plan: "pro" });
window.sonex.track("cta-click", { position: "hero" });

Now the funnel from visit to signup is a straight line you can read in one glance, and you know in advance what a good result looks like.

Contrast that with the usual approach: enable everything, then go looking. You end up with three hundred events, no baseline, and no idea which of them was supposed to move.

The four numbers most sites actually need

Before any custom event, four numbers cover most decisions:

  • How many people came. The trend matters far more than the absolute value.
  • Where they came from. Referrers and campaigns tell you which of your efforts is working.
  • What they read. Top pages tell you what your site is actually about, which is often not what you think.
  • How many did the thing. One conversion number, defined by you.

If you cannot articulate why a fifth number would change what you do next week, you do not need the fifth number yet.

Declarative when it is simpler

For a button, you do not need a script at all. Annotate the markup:

<button data-sonex-event="cta-click" data-sonex-event-position="hero">
  Start free
</button>

The extra data-sonex-event-* attributes ride along as event properties. This matters more than it looks: instrumentation that lives next to the element it measures does not rot when someone redesigns the page, because the person editing the markup can see it.

Analytics code that lives in a separate file quietly stops matching reality within about two redesigns.

Name events like you will read them in a year

You will. Pick one shape and hold to it:

  • One casing, everywhere. Most analytics tools treat event names as case-sensitive, so Signup and signup become two rows that never add up.
  • Verb-noun, past tense, lower kebab-case: signup-completed, checkout-started, trial-expired.
  • Put the variable part in properties, not in the name. cta-click with { position: "hero" } stays one event you can total. hero-cta-click, footer-cta-click and sidebar-cta-click are three events you now have to remember to add up by hand.

The same discipline applies to campaign tagging — inconsistent casing in UTM parameters splits one campaign into several rows for exactly the same reason. If you tag links by hand, a UTM builder that normalises casing for you removes the whole class of problem.

Prune on a schedule

Instrumentation accumulates. Once a quarter, open the event list and ask of each one: has this changed a decision since I added it?

Delete what has not. This is not tidiness for its own sake — on a tool that bills per tracked event, unread events are a line item, and a shorter list makes the events that matter easier to find. An analytics setup should get smaller as your understanding of the product gets better, not bigger.

Fewer, sharper signals

Three deliberate events beat three hundred automatic ones. They load faster, they respect the visitor, and they leave you with a dashboard that answers the question you opened it to ask.

That is the whole point of sonex: fast to insight, quiet by default. Read custom events for the full API, or what the numbers count if you want to be precise about what a visit, a visitor and a view each mean here.

Frequently asked questions

How many events should a website track?
Fewer than you think. For most sites, pageviews plus three to five deliberate custom events cover every decision anyone actually makes. If an event has not changed a decision in three months, it is noise you are paying to store.
What metrics actually matter for a small site?
Four. How many people came, where they came from, what they read, and how many did the thing you wanted. Everything else is a more detailed version of one of those, and is only worth adding once one of the four raises a question you cannot answer.
How should I name analytics events?
Pick one casing and one shape and never deviate. A verb-noun pattern in lower kebab-case, such as signup-completed or checkout-started, stays readable and sorts predictably. Most tools treat event names as case-sensitive, so Signup and signup will silently become two different events.
Is it bad to track too many events?
Yes, in three ways. Metered tools bill per event, so noise costs money. Long unsorted event lists make the useful ones harder to find. And most importantly, a dashboard nobody can read is a dashboard nobody opens.

sonex is privacy-first web analytics. No cookies, no consent banner, no personal data. Drop one script and read realtime visitors, funnels and a world map in seconds.

Try sonex free
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