Analytics and Tracking

Anomaly Detection

Also called alerting, outlier detection

Automated monitoring that flags a value sitting outside its expected range, so a silent break or a spike is noticed early.

Quick facts: Anomaly Detection

Category
Analytics and Tracking
Also called
alerting, outlier detection
Level
Intermediate
Affects
Fault detection speed, wasted ad spend, trust in reporting
Where to see it
GA4 custom insights, Google Ads automated rules and alerts, Looker Studio, scheduled scripts
In this article4
  1. How anomaly detection works
  2. Why anomaly detection matters
  3. Where anomaly detection goes wrong
  4. How to act on it

How anomaly detection works

An anomaly detector learns what a measure normally does, then raises a flag when the latest value sits too far from that pattern. The history it learns from includes the rhythms of the business: quieter weekends, busier evenings, a festival period that lifts everything. A value is only unusual relative to what that day and that hour usually look like.

Detection ranges from the very simple to the statistical. A threshold rule fires when spend passes a fixed ceiling or when a conversion count drops to nothing. A trained model instead estimates a plausible range for each period and flags anything outside it. GA4 and Google Ads include their own detection; Looker Studio, spreadsheets and simple scheduled scripts can all carry the same logic for a small business.

What gets watched matters more than the sophistication of the method. Conversions per day, spend per campaign, form submissions, page load failures and the ratio between clicks and sessions all break in ways that a person will not notice quickly by eye.

Why anomaly detection matters

Most measurement faults are silent. A tag removed during a website release, a form that stops sending, a payment step that fails on one browser — none of these announce themselves. They show up as a gentle decline that gets blamed on the market, sometimes weeks later, after budget has been spent buying traffic that could not convert.

The same alerting catches the opposite problem. Runaway spend, a duplicated tag inflating conversions, or a competitor entering the auction all move a number sharply, and the sooner that is seen the cheaper it is to fix.

Where anomaly detection goes wrong

Too many alerts is the usual failure. Set the sensitivity high and every ordinary quiet Saturday triggers a message, until people mute the channel and miss the one alert that mattered. Small accounts suffer most, because low daily volumes swing naturally and look dramatic beside a typical day.

The second failure is alerting without a next step. A flag saying conversions are low is not useful unless someone knows who checks it, what they check first, and what counts as resolved. The third is forgetting seasonality, so a genuinely predictable holiday drop is investigated every year.

How to act on it

Start narrow. Pick the handful of measures whose failure would actually cost money, alert on those only, and set the sensitivity so that a normal week is quiet. Route the alerts to a person, not a shared inbox nobody owns.

Pair every alert with a short checklist of what to inspect: recent website releases, tag firing, consent changes, campaign status. Annotate known events so predictable swings stop being flagged. And treat detection as a complement to data validation rules, which stop bad values entering in the first place. Getting the underlying measurement dependable enough to alert on is the point of a solid analytics and tracking setup.

Do and do not

Do

  • Alert only on measures whose failure costs money
  • Tune sensitivity until a normal week stays quiet
  • Give every alert an owner and a checklist

Do not

  • Alert on single days in a low-volume account
  • Send alerts to an inbox nobody owns
  • Ignore seasonality and re-investigate the same holiday yearly

Questions people ask about this

Do I need a special tool for anomaly detection?

Not to begin with. GA4 and Google Ads both include built-in detection, and a scheduled Looker Studio report or even a spreadsheet with a simple rule will catch the failures that cost the most, such as conversions falling to zero or spend running away. Dedicated tools help once you are monitoring many accounts.

Why do I get so many false alarms?

Usually because the sensitivity is too high for the volume of data involved. Small daily counts swing naturally, and a detector that has not learned your weekly and seasonal pattern reads normal quiet days as failures. Widen the expected range, alert on longer windows rather than single days, and mark known events.

What should a small business monitor first?

Monitor the things whose failure is expensive and silent. Daily conversions or form submissions, daily spend per account, and whether your key tags are still firing will cover most real emergencies. Add page performance and checkout errors if you sell online. Anything else can wait until the first few alerts prove useful.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.