Pro tool

Automated GA4 anomaly detection

Schedule checks on your GA4 properties and get an email the moment sessions, conversions, or revenue drop — or spike — past the thresholds you set.

  • Drop & spike alerts
  • Custom thresholds
  • Email recipients
  • Multi-property
app.tagfire.io/app/tools/anomaly-detector
Purchases — 7-day baseline 412/day−66% · ALERT SENT
Sessions — 7-day baseline 24,180/day−6% · within threshold
Revenue — 7-day baseline $38,400/day−59% · ALERT SENT
  • Purchases fell 66% vs 7-day baseline — threshold is 25%EMAILED
  • Revenue fell 59% vs 7-day baseline — threshold is 25%EMAILED
  • Sessions steady — no alertOK
Three detectors on one property: current value against baseline, with the threshold each one is watching.

In short

What is GA4 anomaly detection?

GA4 anomaly detection is automated monitoring that compares a metric — sessions, conversions, revenue — against its recent baseline and alerts you when the change exceeds a threshold you set. It exists because a tracking break produces no error message: the numbers simply go quiet, and without an alert nobody notices until someone opens a report days later.

Metrics watched
Sessions, conversions, revenue, custom
Cadence
Daily or weekly, per detector
Thresholds
Percentage change you define
Direction
Drops and spikes
Alerts
Email to any recipient list
Scope
Multiple GA4 properties at once

How anomaly detection works

Detectors run on a schedule against the GA4 Data API and email you only on a breach.

  1. 01

    Create a detector

    Pick a property and a metric — sessions, key events, revenue, or a custom metric. Choose whether you care about drops, spikes, or both, and set the percentage change that counts as an anomaly.

  2. 02

    Choose the schedule and recipients

    Run daily or weekly, at the hour you choose. Add the email addresses that should hear about it — usually the analytics owner plus whoever owns the site.

  3. 03

    Get an email only when it matters

    Each run compares the latest period against its recent baseline. Within threshold, nothing happens. Past threshold, you get one email naming the metric, the property, the size of the change, and the period involved.

Guide

Why tracking failures go unnoticed, and what to alert on

Broken analytics tracking has no error state. When a payment API fails, something throws, someone gets paged, and a dashboard turns red. When a purchase tag stops firing, GA4 reports a smaller number — and a smaller number is completely indistinguishable from a quiet week until someone looks closely enough to be suspicious.

That is why the median time-to-detection for a tracking break is measured in days rather than minutes. Anomaly detection closes the gap by making the absence of data an event in itself.

What a detector actually compares

A detector watches one metric on one property. On each run it pulls the most recent complete period from the GA4 Data API and compares it against a baseline built from the preceding periods. If the percentage change exceeds your threshold, in the direction you care about, it sends an email. Otherwise it stays silent.

That silence is the design goal. An alerting system that emails you every day is one you stop reading within a fortnight, and a threshold set too tight is worse than no alerting at all — it teaches the team to ignore the channel that will eventually carry the real failure.

Which metrics are worth a detector

Key events / conversions
The highest-signal detector you can create. Conversion tags are the most fragile part of any implementation, because they depend on specific page structures and specific user paths that change often. A 25 percent drop threshold catches real breakage without firing on a slow Sunday.
Revenue
Worth watching separately from purchase count, because they break differently. Purchases holding steady while revenue collapses usually means value or currency stopped being sent, not that customers changed behaviour.
Sessions
The blunt instrument, and the one that catches catastrophic failures — a container removed during a deploy, a consent banner change that blocks everything. Use a wider threshold here, around 30 to 40 percent, since sessions swing naturally with campaigns.
Spikes, not just drops
A doubling of sessions overnight is rarely good news. It is usually a duplicated GA4 configuration tag, a bot wave, or a page_view firing on every route change in a single-page app. Enable spike detection on sessions and you will catch the duplicate-tag class of bug the same day it ships.

Setting thresholds you will actually keep

  • Look at the last 90 days of the metric first, and note the biggest legitimate day-over-day swing. Set the threshold above that.
  • Start loose and tighten. A detector that has never fired teaches you nothing about whether it works; one that fires weekly gets muted.
  • Use weekly cadence for metrics with strong weekday and weekend patterns, so you compare like with like.
  • Give high-traffic properties tighter thresholds than low-traffic ones — noise scales inversely with volume, and a 40 percent swing on 200 sessions a day means nothing.
  • Alert the person who can act, not the whole team. An alert with no clear owner is a notification, not a process.

Anomaly detection versus tag monitoring

These two solve the same problem from opposite ends, and mature setups run both.

Anomaly detection catches

  • Anything that changes the numbers, whatever the cause
  • Breakage on pages and journeys you never thought to test
  • Gradual degradation across a whole property
  • Problems that originate outside your tracking entirely

Tag monitoring catches

  • A specific journey breaking, within the hour
  • The exact assertion that failed, not just a number
  • Failures before they have accumulated enough volume to move a metric
  • Layout breaks that stop users reaching the tag at all

The difference in practice is diagnosis. An anomaly alert tells you conversions fell 66 percent — true, urgent, and unhelpful about the cause. A tag debugger monitor tells you the purchase event stopped carrying transaction_id on the checkout page, with a screenshot. Anomaly detection is broad and cheap; monitoring is narrow and specific.

What an alert cannot tell you

When an alert lands, resist the urge to conclude tracking is broken. A conversion drop has three plausible causes and only one of them is your tags: the tracking broke, the site broke, or the business genuinely had a bad day. Work through them in that order — check whether the journey still fires with the tag debugger, then check whether the page still works at all, then check whether ad spend was paused.

Comparison

Tagfire vs. the alternatives

How dedicated anomaly detection compares to the alerting built into GA4 and to BI tooling.

CapabilityTagfireGA4 InsightsBI dashboard
Custom percentage thresholdsYesLimitedYes
Alerts on drops and spikesYesMostly spikesIf built
Email to a chosen recipient listYesProperty users onlyVaries
Multiple properties in one placeYesNoYes
Choose the run hourYesNoVaries
Setup timeMinutesMinutesDays
No pipeline to maintainYesYesNo
Pairs with journey-level monitoringYesNoNo

Anomaly detection is part of the Pro plan. Detector runs are scheduled server-side, so nothing needs to stay open.

FAQ

Frequently asked questions

Hear about a tracking drop within the hour

Set thresholds on the metrics that matter, choose who gets emailed, and stop discovering broken tracking a week late.

Set up anomaly alerts