Skip to content

Anomaly engine

Find the likely cause of a traffic drop.

  • Lesson 4 of 6
  • Intermediate
  • 5 min read
  • 2:10 video
  • Checked against the product 2026-11-03

Listen to this lesson · 2:09

In shortThe Anomaly engine checks whether your most recent day of GA4 sessions fell more than 15% below the same weekday in the previous two weeks. If it did, it splits the drop by source and medium, country and device, names the biggest contributor and writes a plain-English explanation you can send a client. Open Analytics → Google Analytics 4 → Anomaly engine and click Detect Anomaly. It flags drops, not spikes, and costs credits per run.

How to use it in AI Rank Lab

  1. Find it in the dashboardAnalytics → Google Analytics 4 → Anomaly engine
  2. Watch while you workOpen Anomaly engine from here and the video plays in a small corner window of your dashboard, so you can follow each step on your own data. Expand it or go full screen any time. Open Anomaly engine with the video
  3. Turn it into a routineThese playbooks show where this fits in a repeatable workflow:

What the Anomaly engine is for

Traffic looks low today and someone asks why. The slow way is to open GA4 and compare sources, countries and devices one by one against last week. The Anomaly engine does that comparison in one click and tells you which slice explains most of the gap: one referral source that stopped sending visits, one country, or mobile traffic only.

Use it when a day looks wrong and you want a first answer fast. For slow declines over weeks or months, use Content decay radar and Algorithm impact on your Search Console data instead.

Before you start

  • GA4 connected and the right property selected. See Connect GA4 and read the overview.
  • At least two weeks of session data, so there are earlier days with the same weekday to compare against.

How it decides there's an anomaly

  1. It reads daily sessions for the last 15 days (14 days ago up to today).
  2. It takes the latest day in that data and finds the earlier days in the window that fall on the same weekday. In 15 days that's normally two: 7 and 14 days before.
  3. It averages those days to get a baseline and works out the change.
  4. If the latest day is more than 15% below the baseline, it calls it an anomaly and splits the drop by source and medium, country and device. Otherwise it reports No Anomaly Detected.
The latest day is usually today, and today isn't over

The window ends today, so the latest day is normally the current, partial day. Run it at 10 a.m. and today's sessions will look far below a full Monday from last week, which can trigger a false drop. Read the date in the Traffic Anomaly Detected on banner. If it's today, check the same comparison for yesterday in GA4 before you raise an alarm.

Drops only, and a two-day baseline

Spikes are never flagged, however large. And because the baseline is usually just two days, a holiday or campaign on one of those days moves it a lot. Treat the result as a lead to check, not a verdict.

Run it step by step

  1. Open the Anomaly engineGo to Analytics → Google Analytics 4 → Anomaly engine. The page is titled Root-Cause Anomaly Engine, with the price on a badge next to the button.
    Root-Cause Anomaly Engine page header with a credits badge and a Detect Anomaly button, an info card explaining the 15-day same-weekday comparison, and an empty state reading No scan run yet.
    The Anomaly engine before a run.
  2. Click Detect AnomalyThe button shows Scanning... while it fetches the data and, if needed, writes the explanation.
  3. If nothing is wrongA green card says No Anomaly Detected, with the latest day's sessions, the baseline and the percentage change. If there wasn't enough history, the card says so instead.
    Green result card reading No Anomaly Detected with the latest day's sessions, the baseline and a small percentage change.
    A normal day: no further analysis is run.
  4. If a drop is foundA red banner reads Traffic Anomaly Detected on the date, with Sessions, Baseline and Drop. Below it, Primary Root Cause names the slice that explains the largest share of the drop.
    Red banner reading Traffic Anomaly Detected on a date with Sessions, Baseline and Drop figures, followed by an orange Primary Root Cause card naming a source and medium and its share of the drop.
    A detected drop with its main cause.
  5. Read the explanation and breakdownThe Client-Ready Explanation describes what happened in plain language, says whether it looks like a tracking problem or a real traffic change, and suggests one next step. Variance Breakdown has three tables, By Source / Medium, By Country and By Device Category, each with Anomaly Day, Baseline and Contribution.

How to read the breakdown

PatternLikely meaningWhat to check
One source/medium explains most of the dropA referrer, campaign or channel stoppedWas a campaign paused, a link removed, or an email not sent?
google / organic explains most of itSearch traffic fellSearch Console for that day, and Algorithm impact for an update date
All sources fall evenlyPossibly tracking, not trafficIs the GA4 tag still on every page? Did a consent banner change?
One country onlyLocal event or holidayA public holiday, outage or ad targeting change there
Mobile onlyA mobile bug or layout changeLoad the site on a phone; check Core Web Vitals

Contribution is the share of the total drop that one value explains. Values can add up to more than 100% across a table when some segments rose while others fell.

Send the explanation, keep the tables

The client-ready text is written for non-technical readers. Paste it into your update, but keep the breakdown tables for yourself so you can answer the follow-up question.

What it costs

Check yourself

1. Traffic doubled yesterday after a newsletter. What will the Anomaly engine report?
2. You run it at 9 a.m. and it reports a 70% drop on today's date. What's the most likely explanation?
3. Every source, country and device fell by roughly the same share. What should you check first?

0 of 3 answered.

Progress is saved in this browser.

Screenshots and video come from an AI Rank Lab demo account. Where a screen needs data that account doesn't have, such as a connected Google account or real visitors, it shows fictional example.com data.

Transcript
In this lesson you'll use the Anomaly engine to explain a sudden drop in traffic. When a day looks wrong, the slow way is to compare every source, country and device against last week in GA4. The Anomaly engine does that in one click and tells you which slice explains most of the gap. Here's how it works. It reads your daily sessions for the last fifteen days. It takes the latest day and compares it with the same weekday earlier in that window, usually seven and fourteen days before. If the latest day is more than fifteen percent lower, it calls that an anomaly. Then it splits the drop by source and medium, by country and by device, and works out which one explains the biggest share. Go to Analytics, Google Analytics 4, Anomaly engine, and click Detect Anomaly. If everything's normal, you get a green card saying No Anomaly Detected, with the latest day's sessions and the baseline. If there's a drop, you get a red banner with the date, the sessions, the baseline and the size of the drop. Below it, Primary Root Cause names the slice behind most of it. Then there's a client-ready explanation in plain language, and three tables: by source and medium, by country, and by device. Read the pattern. One source explaining most of the drop usually means a campaign or link stopped. Google organic means search traffic fell, so check Search Console. And if everything fell evenly, suspect tracking, like a missing tag or a new consent banner. Now three honest warnings. First, the latest day is usually today, and today isn't over. Run it in the morning and a normal day can look like a big drop. Always check the date in the result. Second, it only looks for drops. Spikes are never flagged. Third, the baseline is usually just two days, so a holiday on one of them moves it a lot. Each run costs credits, even when nothing is found, and the price is on the page. In the next lesson, you'll use the Spam purger to find junk traffic in your reports.

Put the lesson to work

Paste your site and get a free SEO, AEO and GEO audit with the fixes, then come back to the next lesson.