Sub topic 9
Detecting AI Overview exposure with SERP tracking tools
Search Console does not tell you which queries showed an AI Overview. Without that label you cannot split your queries into exposed and comparison cohorts. This chapter covers how to get the label from SERP tracking tools, how reliable it is, and how to turn it into the exposed_queries set used in earlier chapters.
This chapter assumes you can read the Performance report, run basic pandas code, and that you already know why the analysis needs an exposed group and a comparison group.
What a SERP tracker is
A SERP tracker is a tool that runs a fixed list of search queries on a schedule and records what the results page looks like. SERP stands for search engine results page. For each query it stores the ranked URLs and, in most current tools, which result features appeared, such as featured snippets, People Also Ask boxes, and AI Overviews.
Trackers fall into three groups:
- Commercial rank trackers and SEO suites. They offer a dashboard and an export. Most added an AI Overview flag, and some also record whether your domain was cited in it.
- SERP APIs. You send a query and receive structured results. They give you control over timing and sampling, but you pay per request and write the code.
- Your own scripts. These break easily and may violate the search engine's terms of service. Prefer a licensed API.
Whichever you choose, you need the same output: one row per query, per check date, with a flag for whether an AI Overview was present.
What the tracker gives you and what it does not
A tracker answers one question: on the check date, from the tracker's location and device, did this query show an AI Overview?
It does not answer these:
- Whether your real users saw it. Trackers check from a fixed location with a clean browser profile. Real users have different locations, devices, languages and histories.
- Whether the Overview appeared every time. AI Overviews can come and go for the same query from one day to the next.
- Whether anyone clicked on it or scrolled past it.
So the tracker flag is a proxy for exposure. It measures a noisy version of the thing you care about. Keep this in mind when you interpret results later.
Choosing which queries to track
You cannot track every query. Tracking costs money per query per check, and Search Console may list tens of thousands of distinct queries. Choose a sample that supports the comparison.
- Start from Search Console. Pull the queries with meaningful impressions in the pre-period, for example at least 100 impressions over the quarter.
- Remove branded queries or put them in their own group. Branded queries rarely trigger AI Overviews and behave differently from generic ones, so mixing them in makes the comparison group look unlike the exposed group.
- Sample across intent types: informational ("how to descale a kettle"), commercial ("best kettle under 50"), and navigational. AI Overviews show up far more often for informational queries, so intent is a strong confounder.
- Include enough queries in each group. A few dozen per group gives very wide error bars. Hundreds is a better target.
Record the sampling rule you used. Someone will ask later why a query was or was not tracked.
Timing: check before the change window
The analysis in this tutorial compares a pre-period with a post-period. Exposure must be defined using information from before the change, or at least independent of the outcome.
Here is why. Suppose you label a query "exposed" because the tracker saw an AI Overview during the post-period, and you pick it up only because its clicks dropped. Then the label depends on the result you are trying to measure, and you will overstate the effect.
Follow these rules:
- Take the exposure label from checks made before the change window starts, or from a baseline period that is not used in the outcome comparison.
- Keep tracking through the post-period, so you can check whether the comparison group became exposed later.
- Fix the cohort definition before you look at CTR by cohort.
The diagram shows the order of steps.
Turning repeated checks into one label
Because the Overview can flicker, a single check is a weak signal. Run each query several times in the baseline window, for example weekly for four weeks, and compute the share of checks that showed an Overview.
Suppose the tracker export looks like this:
| query | check_date | ai_overview |
|---|---|---|
| how to descale a kettle | 2026-01-05 | true |
| how to descale a kettle | 2026-01-12 | true |
| how to descale a kettle | 2026-01-19 | false |
| how to descale a kettle | 2026-01-26 | true |
| buy kettle online | 2026-01-05 | false |
| buy kettle online | 2026-01-12 | false |
The following code reads such an export, computes the exposure rate per query, and builds the two query sets. The sample data is inline so the code runs as shown.
import pandas as pd
tracker = pd.DataFrame(
{
"query": [
"how to descale a kettle"] * 4 + ["buy kettle online"] * 4,
"check_date": pd.to_datetime(
["2026-01-05", "2026-01-12", "2026-01-19", "2026-01-26"] * 2
),
"ai_overview": [True, True, False, True, False, False, False, False],
}
)
# Use only checks made before the change window starts.
baseline = tracker[tracker["check_date"] < "2026-02-01"]
rate = (
baseline.groupby("query")["ai_overview"]
.agg(checks="count", exposure_rate="mean")
.reset_index()
)
THRESHOLD = 0.5
MIN_CHECKS = 3
rate = rate[rate["checks"] >= MIN_CHECKS]
exposed_queries = set(rate.loc[rate["exposure_rate"] >= THRESHOLD, "query"])
comparison_queries = set(rate.loc[rate["exposure_rate"] == 0, "query"])
print(rate)
print("exposed:", exposed_queries)
print("comparison:", comparison_queries)The code makes three choices that you should state in your report:
MIN_CHECKSdrops queries with too few checks to judge.THRESHOLDof 0.5 means a query counts as exposed if it showed an Overview in at least half its checks.- The comparison group requires an exposure rate of exactly 0. Queries between 0 and the threshold are left out of both groups, because they are ambiguous. This keeps the contrast sharp, at the cost of fewer queries.
Try a different threshold and see how the cohort sizes and the final difference-in-differences number change. If the answer swings widely, say so.
Joining the labels to Search Console data
The exposed_queries set is what the earlier cohort code expects. In that code the line df["cohort"] = np.where(df["query"].isin(exposed_queries), "exposed", "comparison") put every non-exposed query into the comparison group. With tracker data you can do better and use only queries you positively observed as unexposed:
import numpy as np
# df holds Search Console rows with a "query" column.
df = df[df["query"].isin(exposed_queries | comparison_queries)].copy()
df["cohort"] = np.where(df["query"].isin(exposed_queries), "exposed", "comparison")This filter discards queries you never tracked. Those are the main reason a "comparison" group built by exclusion is risky. It would include queries that were exposed but untracked, which dilutes the contrast and pulls the estimate toward zero.
Common errors
- Labelling by outcome. Marking a query as exposed after seeing its clicks fall. Define cohorts from pre-change data only.
- One check per query. A single observation misclassifies queries that flicker. Use repeated checks and a threshold.
- Mixing devices and locations. Mobile and desktop results differ, and so do countries. Track from the same device and location that account for most of your Search Console clicks. Filter Search Console to that device and country before you compare.
- Ignoring the tracker's own changes. Vendors change how they detect AI Overviews. A jump in exposed queries on one date may be a detection update, not a Google change. Check the vendor's release notes, and keep the raw export.
- Comparison group that drifts. Queries in the comparison group may gain an Overview during the post-period. If so, the contrast shrinks. Measure how many did, and report it.
- Treating citation as exposure. Some tools report whether your site is cited in the Overview. That is a separate variable. A query can be exposed while you are not cited. Citation may affect clicks differently, so keep it as a secondary split.
Checking tracker quality
You can test the tracker's label against something you can observe. Search Console's Performance report does not label AI Overviews, but a few direct checks help:
- Hand-check a random sample of 30 to 50 queries in a browser from your target location, and compare your observation with the tracker flag. Report the agreement rate.
- Compare two trackers on the same queries if you have access to both. Large disagreement means the label is unstable.
- Look at whether the exposed cohort differs from the comparison cohort before the change, in CTR, position and impressions. If it does, the groups are not comparable, and the later chapter on confounders tells you what to do about it.
What to carry forward
The label from this chapter feeds the difference-in-differences design. Its quality sets a ceiling on how trustworthy that estimate can be. Noisy labels usually bias the estimate toward zero, because some "exposed" queries were not exposed and some "comparison" queries were. So a small measured effect may hide a larger true one. Record the label's error rate and carry it into the uncertainty section of your report.
Exercise
You label queries as "exposed" using a tracker check made in March, after the change window started. You only track queries whose clicks fell between January and March. Name two problems with this approach and say how to fix each.
Show answer
First, the label comes from post-change data, so it can be affected by the result. Fix it by using checks made before the change window, or from a baseline period. Second, selecting queries because their clicks fell builds the outcome into the cohort and overstates the effect. Fix it by sampling queries by impressions in the pre-period, before looking at clicks, and by fixing the cohort rule in advance.
Exercise
A query was checked four times in the baseline: Overview present twice, absent twice. With THRESHOLD = 0.5 and a comparison rule of exposure rate equal to 0, which cohort does it join, and why might you still want to flag it?
Show answer
It joins the exposed cohort, because its rate of 0.5 meets the threshold. You may still want to flag it as unstable, because it showed no Overview in half the checks. Run a sensitivity check that raises the threshold to 0.75 or drops such mid-range queries, and see whether the estimate changes.
Exercise
Why do noisy exposure labels usually push a difference-in-differences estimate toward zero?
Show answer
Misclassified queries put unexposed queries into the exposed group and exposed queries into the comparison group. Both groups then contain a mix of treated and untreated queries, so the gap in CTR change between them shrinks. The true effect is probably at least as large as the measured one.