The user wants to build a "Content Decay Detector."
This implies a system that analyzes content performance over time to identify when it's no longer effective ("decaying").
The system needs three specific components:
- Refresh Thresholds: Metrics or rules that trigger an update.
- Rewrite Policy: Guidelines or workflows for how to update the content.
- Wins Tracking: A method to measure the success of the updates.
1. Conceptualizing the Solution:
- Input: Content data (traffic, rankings, conversions, backlinks, date published/updated).
- Process:
- Analyze data against benchmarks.
- Flag content based on decay rules.
- Assign an action (Refresh, Rewrite, Retire).
- Track post-update performance.
- Output: A dashboard, a report, or a script (Python) to calculate this.
2. Defining the Components (The "What"):
-
Refresh Thresholds (Trigger): How do we know it's broken?
- Metric 1: Traffic Drop. (e.g., -20% MoM or -30% YoY).
- Metric 2: Ranking Drop. (e.g., fell off page 1, or dropped 5+ positions).
- Metric 3: Age. (e.g., older than 12 months without an update).
- Metric 4: Conversion Rate. (e.g., CVR dropped below average).
- Scoring System: A weighted score helps prioritize (e.g., High traffic + High decay = Urgent).
-
Rewrite Policy (The Action): What do we do?
- Level 1: Polish. Fix broken links, update dates, refresh CTA. (Low effort).
- Level 2: Refresh. Add new sections, update statistics, optimize for new keywords. (Med effort).
- Level 3: Rewrite/Consolidate. Total overhaul or merge with another post. (High effort).
- Decision Matrix: Effort vs. Impact.
-
Wins Tracking (The Validation): Did it work?
- Pre vs. Post: Compare 30/60/90 days before vs. after.
- Metrics: "Recovered Traffic," "New Keywords Ranked," "Revenue Uplift."
- ROI: Time spent vs. Value gained.
3. Structuring the Output:
Since the user asked to "Build" it, providing just a theoretical explanation isn't enough. I should provide:
- The Framework: The logic and definitions.
- The Implementation (Code): A Python script (using pandas) that simulates the detection logic. This makes it actionable for a technical user.
- The Workflow: A step-by-step guide for a content manager.
4. Drafting the Content (Iterative refinement):
- Framework Section: Keep it tight. Define the "Decay Score."
- Formula idea: (Traffic Decline % * Weight) + (Age Factor) = Decay Score.
- Code Section:
- Need dummy data.
- Calculate change over time.
- Classify content status.
- Generate a "To-Do" list.
- Policy Section:
- Standardize the actions. If X happens, do Y.
- Wins Section:
- How to visualize the win. "The Gap Analysis."
5. Refining the specific requests:
- Refresh Thresholds: I'll define specific mathematical triggers (e.g., >15% drop in clicks over 3 months).
- Rewrite Policy: I'll create a tiered system (Tactical vs. Strategic).
- Wins Tracking: I'll define a "Recovery Rate" metric.
6. Final Polish:
Make it look professional. Use Markdown headers, code blocks, and bullet points. Ensure the tone is authoritative yet practical (SEO/Data-driven).
(Self-Correction during drafting): Simply calculating decay isn't enough. I need to emphasize prioritization. A low-traffic page decaying isn't as important as a high-traffic pillar page decaying. I will add a "Priority Score" to the logic.
7. Plan:
- Part 1: The Logic (Strategy): Defining the metrics and decay score.
- Part 2: The Engine (Python Script): A script to detect the decay.
- Part 3: The Policy (Workflow): The 3-Tier Rewrite system.
- Part 4: The Validation (Wins Tracking): How to calculate ROI.
Let's write it.
This is a complete blueprint for building a Content Decay Detector. This system is designed to identify when content stops performing, prescribe the exact intervention needed, and track the revenue/traffic recovered after the update.
I have broken this down into a Strategic Framework (for planning) and a Python Engine (for implementation).
Part 1: The Framework
1. Refresh Thresholds (The Triggers)
Content rarely dies suddenly; it slowly bleeds traffic. You need mathematical triggers to identify the bleed before it becomes a hemorrhage.
- The "Safety Zone": Traffic fluctuation is within -5% to +∞% (Do nothing).
- The "Warning Zone" (Decay Started): Traffic is down 15%–25% compared to the previous 90-day moving average.
- Action: Refresh. Update stats, fix broken links, refresh the intro.
- The "Danger Zone" (Decay Confirmed): Traffic is down >25% AND the average position has dropped >5 spots.
- Action: Rewrite. Structural changes, new outlines, merged content.
- The Time Trigger: Any content older than 12 months without an update automatically flags for a "Competitor Comparison Check."
2. Rewrite Policy (The Protocol)
When the detector flags a URL, assign a Tiered Action Plan based on the severity of the decay.
| Decay Severity | Policy Code | Action Required | Checklist |
|---|
| Stale | POL-1 | Polish | Check broken links, update copyright year, refresh call-to-action (CTA). |
| Outdated | POL-2 | Refresh | Add 300+ words of new content, update screenshots/statistics, re-optimize for new Search Intent. |
| Broken | POL-3 | Rewrite | Keep the URL, scrap the content. New outline, new headers, comprehensive update. |
| Obsolete | POL-4 | Retire/Redirect | Topic is no longer relevant. 301 redirect to a relevant active page or hub page. |
3. Wins Tracking (The ROI)
You cannot prove the value of this system without tracking the "Recovery."
- Baseline Metric: Capture traffic/revenue data for the 90 days prior to the update.
- Recovery Window: Track performance for 60 days post-publication.
- The Win Equation:
Net Win=(Post-Update Value−Pre-Decay Value)×Time
Part 2: The Detector Engine (Python)
Here is a Python script that connects to your data source (e.g., a CSV export from Google Analytics/Search Console), calculates decay, assigns a policy, and prepares a tracking report.
Prerequisites: pandas, numpy.
Part 3: The Wins Tracking Dashboard
To prove the value of this work, you must track the "Rebound." When a writer completes a POL-3 (Rewrite), log the event.
You can set up a simple spreadsheet or Looker Studio with the following columns:
| ID | URL | Date Updated | Pre-Update Traffic (90d Avg) | Post-Update Traffic (30d) | Change % | $ Value Recovered |
|---|
| 101 | /blog/google-analytics-guide | 2023-11-01 | 2,000 | 3,200 | +60% | $450 |
The Logic:
- Date Updated: The day the changes were deployed.
- Post-Update Traffic: You must wait 30 days after the Date Updated to fill this in.
- $ Value Recovered:
(Post-Update Traffic - Pre-Update Traffic) * Conversion Value.
Summary of Implementation
- Input: Connect the Python script to your Google Search Console API.
- Schedule: Run the script on the 1st of every month.
- Workflow: Send the generated CSV to your Content Lead.
- Review: During monthly content planning, pull 100% of resources from "New Content" to "Decay Recovery" until the Priority List is cleared.