Case Study: SQL Powered Content Decay Dashboard

The Challenge

A large scale blog with 500+ articles was losing 10% of its total traffic month-over-month, but the team couldn’t identify which specific posts were failing until it was too late.

The Zero Waste Solution

  1. Algorithmic Decay Detection: Engineered a BigQuery SQL script to programmatically detect “content decay” by correlating stable impressions with declining CTR and average position.
  2. Automated Governance: Built a Looker Studio pipeline to deliver weekly “Traffic Health” reports, eliminating manual auditing and editorial guesswork.
  3. Strategic Pivot: Transitioned the team to a 70/30 production model (70% new, 30% data-backed refreshes) to stabilize the “leaky bucket” of legacy traffic.

Tools Used

The Business Impact

The Deep Dive

/* SQL: Identifying Content Decay */
SELECT 
    page_url,
    clicks_last_90_days,
    clicks_previous_90_days,
    ((clicks_last_90_days - clicks_previous_90_days) / NULLIF(clicks_previous_90_days, 0)) * 100 AS pct_change
FROM `search_console_data`
WHERE clicks_last_90_days < clicks_previous_90_days
  AND clicks_previous_90_days > 100
ORDER BY pct_change ASC
LIMIT 10;
Content Decay Priority Matrix

Evidence: Automated trend tracking that separates "Stable" assets from "Critical" revenue risks.

Manual vs Engineered Workflow Comparison

Strategic Shift: Transitioning from reactive "Intuition" to automated "Revenue Protection."

View
PDF
Download