Sub topic 3
Reading Trends: Smoothing, Seasonality, and Year-over-Year
Assume you know Search Console, an analytics tool such as GA4, and basic tables. A daily ranking or traffic value is noisy. Read patterns across time instead of reacting to one point.
Separate trend from noise
A rolling average replaces each value with the average of nearby values. A seven-day rolling average reduces weekday effects in clicks. Compare a 28-day total with the same weekdays from the previous year to account for seasonality.
Do not average daily position values equally. Use an impression-weighted position when aggregating Search Console data. For traffic, compare clicks and organic sessions separately because they come from different systems.
import pandas as pd
df = pd.read_csv("gsc_daily.csv", parse_dates=["date"])
daily_clicks = df.groupby("date")["clicks"].sum().asfreq("D", fill_value=0)
trend = daily_clicks.rolling(7).mean()
yoy_change = (
daily_clicks.rolling(28).sum()
/ daily_clicks.shift(364).rolling(28).sum()
- 1
)Annotate and diagnose changes
Record releases, redirects, migrations, campaign launches, major algorithm updates, and tracking changes in an annotation table. Include the date, event, affected pages, and expected effect.
When a metric changes, segment it before proposing a cause. Compare brand and non-brand queries, page groups, devices, countries, and landing pages. Check whether impressions changed before clicks, whether CTR changed at a stable position, and whether analytics sessions changed with Search Console clicks.
Report and alert
A useful dashboard shows clicks, impressions, CTR, position, and organic sessions over time. Add filters for query segment, page group, device, and country. Show the current seven-day trend beside the prior period and the year-over-year change.
Report on a fixed schedule. Explain material changes with annotations and link to the affected segment. Alert only when a change persists and exceeds a practical threshold, such as a 20% drop in seven-day clicks and a matching drop in organic sessions. Avoid alerts for a single unusual day.
Exercise
Clicks fell 25% for one day, but the seven-day average and year-over-year result are unchanged. Should you page the team?
Show answer
No. Investigate the day for outages or data delays, but do not treat it as a confirmed trend.