Sub topic 6
Reading CTR, Impressions and Position by Cohort
Assume you know Search Console’s Performance report, basic pandas, and the difference between organic clicks and impressions. This chapter uses those measures to compare query cohorts after you have labeled queries as exposed to AI Overviews or part of a comparison group.
Read the three metrics together
- Impressions count how often a result from your site appeared in search results.
- Clicks count visits from those result appearances.
- Click-through rate (CTR) is clicks divided by impressions.
- Position is the average position of your result when it appeared.
CTR is usually the first signal to inspect. If AI Overviews answer more of a query on the results page, users may click your result less often even when your ranking stays similar. A falling CTR with stable position is therefore consistent with reduced attention or click demand. It does not prove that an AI Overview caused the change.
Impressions provide context. A CTR decline during a large impression increase may still produce more clicks. A CTR decline during an impression decline may have a different cause, such as lower demand, changed query coverage, or ranking loss.
Position helps separate these explanations. Compare position changes within each cohort rather than comparing the exposed cohort’s absolute position with the comparison cohort’s absolute position. Different query groups often have different normal rankings.
| Metric | What a change can indicate | What it cannot prove |
|---|---|---|
| CTR | A change in the share of impressions that become clicks | That AI Overviews caused the change |
| Impressions | A change in search demand or result visibility | Whether users wanted your result |
| Position | A change in ranking or result placement | Whether the result page layout changed |
Aggregate by cohort and period
Calculate CTR from summed clicks and impressions:
import pandas as pd
data = pd.DataFrame({
"cohort": ["exposed", "exposed", "comparison", "comparison"],
"period": ["pre", "post", "pre", "post"],
"clicks": [1200, 1050, 1400, 1450],
"impressions": [10000, 11000, 14000, 15000],
"position": [3.2, 3.4, 7.1, 7.0],
})
summary = (
data.groupby(["cohort", "period"], as_index=False)
.agg(
clicks=("clicks", "sum"),
impressions=("impressions", "sum"),
position=("position", "mean"),
)
)
summary["ctr"] = summary["clicks"] / summary["impressions"]
summary["ctr_percent"] = summary["ctr"] * 100
print(summary.round({"position": 2, "ctr_percent": 2}))For query-level or page-level rows, do not average row-level CTR values directly. A query with 20 impressions should not have the same influence as a query with 20,000 impressions. Sum clicks and impressions first, then divide.
Position requires similar care. When your source contains rows with different impression counts, use an impression-weighted average:
summary = (
data.assign(position_weight=data["position"] * data["impressions"])
.groupby(["cohort", "period"], as_index=False)
.agg(
clicks=("clicks", "sum"),
impressions=("impressions", "sum"),
position_weight=("position_weight", "sum"),
)
)
summary["ctr"] = summary["clicks"] / summary["impressions"]
summary["position"] = summary["position_weight"] / summary["impressions"]Interpret patterns without overclaiming
Use a four-cell comparison:
For example, suppose exposed-query CTR falls from 12% to 9%, while comparison-query CTR falls from 10% to 9.5%. The exposed cohort changed by -3 percentage points, and the comparison cohort changed by -0.5 points. The extra -2.5 percentage points is the relevant difference for later difference-in-differences analysis.
Check impressions before translating that change into lost clicks. If the exposed cohort gained impressions, multiplying the CTR decline by post-period impressions estimates the clicks associated with the gap. Label this as an estimate, not observed lost revenue.
Also inspect the time series, query mix, device, country, and landing page. A cohort can change composition between periods. Large changes from a few high-volume queries can hide what happened to smaller queries.
Exercise
Exposed queries move from 10% to 8% CTR. Comparison queries move from 9% to 8.5%. What is the exposed cohort’s difference-in-differences change in percentage points?
Show answer
The exposed change is -2 points and the comparison change is -0.5 points, so the difference-in-differences estimate is -1.5 percentage points.