Build a content decay detector: traffic/position delta rules, competitor surge flags,…
- User
Build a content decay detector: traffic/position delta rules, competitor surge flags, and refresh sequencing.
Assistant
Build a content decay detector: traffic/position delta rules, competitor surge flags, and refresh sequencing.
The user wants a "content decay detector." This is a tool or system used in SEO (Search Engine Optimization) to identify when content is losing its effectiveness (traffic, rankings) and needs to be updated.
The specific requirements are:
Target Audience: SEO specialists, content managers, digital marketers. Output Format: A structured guide or a conceptual framework (could include pseudo-code, logic rules, or a strategic plan). Since the prompt asks to "Build" it, providing a logical framework with specific thresholds and a workflow is best.
1. Traffic/Position Delta Rules (The "What" and "How much"):
2. Competitor Surge Flags (The "Why" - External Factors):
3. Refresh Sequencing (The "Action Plan"):
Structure of the Response:
Refining the Logic:
Drafting the content:
Delta = (Current_Period - Previous_Period) / Previous_Period.Delta < -0.15 AND Position_Drop > 2.SERP_History. If Competitor_Rank_Change > +5 AND My_Rank_Change < -2, Flag = "Competitor Surge".(Traffic_Volume * Decay_Severity). High volume pages losing traffic cost more money than low volume pages losing traffic.Let's add a "Action Plan" for the refresh (what to actually do), briefly, just to make it practical. (e.g., Update date, add FAQ, rewrite intro).
Final Polish: Use clear headings, bold text for emphasis, and perhaps a pseudo-code block for the "Detector" logic.
Self-Correction during drafting: Make sure to distinguish between "Fluctuation" (normal) and "Decay" (sustained downward trend). A single day drop isn't decay. A 30-day trend is.
Plan:
This covers all bases. It provides a strategic framework and technical implementation details. A Content Decay Detector is a system that identifies when high-value content is losing momentum before it becomes a critical revenue issue. To build this, you need a logic layer that processes data from sources like Google Search Console (GSC), Ahrefs/Semrush, and your CMS.
Here is the architectural blueprint for building the detector, divided into three modules: Delta Rules, Competitor Flags, and Refresh Sequencing.
The core engine. This module calculates the rate of change. You are looking for negative acceleration.
Instead of simple "Traffic dropped," use a weighted decay score to filter out noise.
Input Data:
The Rules Engine (Pseudo-code Logic):
# Define Thresholds
TRAFFIC_DROP_CRITICAL = -0.30 # 30% drop
TRAFFIC_DROP_WARN = -0.15 # 15% drop
POSITION_DROP = 3.0 # Lost 3 spots
def calculate_decay_status(url_data):
traffic_delta = (current_traffic - previous_traffic) / previous_traffic
position_delta = current_position - previous_position
impression_delta = (current_impressions - previous_impressions) / previous_impressions
# Rule 1: Critical Decay
# Traffic is down significantly, regardless of position.
if traffic_delta <= TRAFFIC_DROP_CRITICAL:
return "CRITICAL_DECAY"
# Rule 2: Position Slide (The "Slow Bleed")
# Position dropping, but traffic hasn't crashed yet (lagging indicator).
if position_delta >= POSITION_DROP and traffic_delta < 0:
return "POSITION_DECAY"
# Rule 3: False Positive Filter (Seasonality)
# If traffic is down, but impressions are also down equally, it might be seasonal.
# Decay is confirmed if Traffic drops > Impression drops (losing CTR).
if traffic_delta < -0.10 and impression_delta > -0.05:
return "CTR_DECAY" # You are getting impressions but losing clicks
return "HEALTHY"
Do not compare Feb 1st to Jan 31st. Compare Last 28 Days to Same 28 Days Last Year (YoY) to account for seasonality, or Last 90 Days vs Previous 90 Days (QoQ) for trend detection.
Internal metrics tell you what is happening; competitor data tells you why.
Trigger this when a new URL enters the top 10 or top 5 for your primary keyword.
Current Rank > 5 AND Competitor did not exist in Top 20 last month.Google often prefers freshly updated content. This rule detects if competitors are refreshing their content to overtake you.
Last Modified Date of URLs ranking in positions 1-5.Last Modified date of the top 3 competitors is < 3 months old.Sometimes content decays not because the page is bad, but because Google changed the SERP layout.
You cannot update everything at once. This module prioritizes the queue based on ROI (Return on Investment). Use a "Value vs. Effort" matrix.
Assign points to create a "Refresh Priority Score."
Base Value (Traffic Potential):
Urgency (Decay Status):
Conversion Weight:
Sort the output list by Total Score (Descending).
Tier 1: The "Stop the Bleed" List (Score 7+)
Tier 2: The "Optimization" List (Score 4-6)
Tier 3: The "Archive/Merge" List (Score 1-3)
If you are building this in Python (Pandas) or SQL, here is the schema structure you need to join your data:
| URL | Organic_Traffic_L30D | Traffic_Delta_% | Avg_Position | Position_Delta | Primary_KW | Competitor_Surge (Bool) | Priority_Score |
|---|---|---|---|---|---|---|---|
/blog/seo-tips | 5,200 | -35% | 4.2 | +1.5 | "seo tips" | TRUE | 9 |
/pricing | 1,000 | -5% | 1.1 | 0.0 | "saas pricing" | FALSE | 3 |
To make this usable, build a dashboard (Streamlit/Tableau/Looker) with three tabs:
Status = CRITICAL sorted by Traffic Volume.Competitor_Surge = TRUE.Date Updated and reset its baseline in the detector logic.