Skip to content

04 Audience Retention Feedback Loop

Yoan Yomba edited this page Nov 28, 2026 · 3 revisions

Pillar 04 — Closed-Loop Audience Retention & Delivery Intelligence

← Pillar 03: Studio Cloud · Deep Wiki Index · Next: Pillar 05 — Distribution, Expansion & Monetization →


1. Strategic Context & Why This Is an Uncopyable Moat

Every creator tool today is blind to outcomes:

  • Writing tools (Notion, Docs) know the script, not how it was spoken or how viewers reacted.
  • Video editors (Premiere, Resolve, CapCut) know the final cuts, not the original script structure or hook variants.
  • YouTube Studio shows a retention graph ("42% still watching at 1:15"), but doesn't show which exact sentence, speaking pace (WPM), pause, or B-roll gap caused viewers to leave.

Dante is uniquely positioned to connect all three. Because Dante owns:

  1. The structured script (Hook Variants A/B/C, # Headings, sentence lengths, [B-ROLL] cues),
  2. The live delivery telemetry (PacingCoachEngine rolling WPM curve, pause hotspots, vocal energy variance, retake counts), and
  3. The clean-pass / rough-cut timeline (TakeTranscriptRecord word timestamps),

overlaying a published video's actual YouTube Audience Retention Curve onto the script turns Dante into a self-improving personal delivery coach that gets smarter with every video a creator publishes.


2. Data Alignment Engine (How Retention Maps to Exact Script Words)

The hardest technical problem is aligning YouTube Analytics' 100-point normalized retention curve (elapsedVideoTimeRatio: 0.00 → 1.00) back to the exact words in Dante's script—even after an editor trimmed retakes or inserted B-roll!

flowchart LR
    YT["YouTube Analytics API\n(Read-Only OAuth)\n100-bucket audienceWatchRatio\n+ relativeRetentionPerformance"]
    RC["Dante TakeTranscriptRecord\n+ RoughCutBuilder Clean Timeline\n(Expected Final Video Duration & Word Timestamps)"]
    ALIGN["RetentionAlignmentEngine\n1. Map ratio * finalDuration -> timeline second\n2. Optional Drift Snap via YouTube Captions / Audio Sync\n3. Attribute delta-retention to exact Sentence & Paragraph"]
    PROFILE["CreatorDeliveryProfile\n(100% Local On-Device Aggregation)\n• Optimal Hook WPM Range\n• Optimal Hook Duration\n• Drop-Off Sentence Length Threshold\n• B-Roll Cadence Correlation"]
    LINTER["Personalized Speakability Linter\n(Feeds Directly Back into Pre-Production Editor!)"]

    YT --> ALIGN
    RC --> ALIGN
    ALIGN --> PROFILE --> LINTER
Loading

Alignment Precision Tiers

  1. Tier 1 (Instant Zero-Effort): Map bucket.ratio * publishedDurationSeconds directly onto Dante's RoughCutBuilder clean-pass timeline (accurate within ~1–2 seconds when exported via Dante's Auto-Rough-Cut or synced .SRT).
  2. Tier 2 (Word-Exact Calibration): Optionally fetch the published video's own YouTube caption track (or match Dante's uploaded .SRT timestamps) via PromptMatcher sequence alignment to snap every retention bucket to the exact sentence even if the editor reordered sections!

3. Core Data Models (Textream/Shared/RetentionIntelligence.swift)

struct PublishedVideoLink: Codable, Equatable, Sendable {
    let platform: PublishPlatform          // .youtube, .tiktokManual, .reelsManual
    let externalVideoID: String            // e.g. YouTube 11-char ID
    let publishedAt: Date
    let publishedDurationSeconds: Double
    let hookVariantUsed: String?           // e.g. "Hook B"
    let viewsCount: Int
}

struct RetentionSample: Codable, Equatable, Sendable {
    let elapsedRatio: Double               // 0.00 ... 1.00
    let timestampSeconds: Double
    let audienceWatchRatio: Double         // % of viewers still watching
    let relativePerformance: Double?       // vs. similar-length YouTube videos
}

struct SentenceRetentionMetric: Codable, Equatable, Sendable {
    let sentenceIndex: Int
    let textPreview: String
    let spokenWPM: Int
    let wordCount: Int
    let hasBRollCue: Bool
    let retentionStart: Double
    let retentionDelta: Double             // negative = viewer drop-off
}

struct CreatorDeliveryProfile: Codable, Equatable, Sendable {
    let analyzedVideoCount: Int
    let optimalHookWPMRange: ClosedRange<Int>
    let maxLowDropSentenceWords: Int
    let averageIntroDropAtSeconds: Double
    let hookVariantWinRates: [String: Double]
}

4. Creator-Facing UX Surfaces

4.1 Script Retention Heatmap (Post-Publish Review)

Open any published script in Dante and toggle Retention Overlay:

  • Every sentence is tinted subtly along a studio heat scale (emerald = high hold / replayed spike, neutral = normal decay, amber/crimson = steeper-than-baseline drop-off).
  • Hovering/tapping a red sentence reveals the diagnostic breakdown:

    Sentence 4 · −6.8% retention dip (0:24–0:36) 34 words · 128 WPM (−22 below your target) · No [B-ROLL] cue for 28s

4.2 Closed-Loop Personalized Speakability Linter

Once a creator links ≥ 5 published videos (with statistical guardrails filtering out low-view outliers < 200 views):

  • The Pre-Production Speakability Linter (#29) automatically personalizes its thresholds to their audience!
  • Instead of generic advice, Dante highlights in the editor while drafting the next video:
    • "Your audience drops 2.1× faster when Hook exceeds 14s — currently 21s."
    • "Your best-retaining intros average 168 WPM; this script target is set to 140 WPM."
    • "42 seconds without a [B-ROLL] or [SCREEN] cue — your retention dips after ~25s of static talking head."

4.3 Hook Variant Win-Rate Tracker

When creators use A/B Hook Variants (#32) and tag which hook shipped (or ran a YouTube Title/Thumbnail/Hook test), Dante tracks 30-second intro retention across hook styles (Question vs. Bold Claim vs. Story vs. Result-First) to surface what actually works for their channel.


5. Privacy, API Compliance & Statistical Rigor

  • Strict OAuth Scope Minimization: Request ONLY read-only https://www.googleapis.com/auth/yt-analytics.readonly and https://www.googleapis.com/auth/youtube.readonly. Never request write/upload/delete YouTube permissions.
  • 100% On-Device Personalization: All retention alignment and CreatorDeliveryProfile computation runs locally on the creator's Mac/iPhone. Dante never pools, sells, or trains shared models on a creator's private channel analytics.
  • Google API Services User Data Policy: Explicit opt-in consent, one-click disconnect + purge of cached analytics, and clear disclosure in docs/privacy.html.
  • Statistical Guardrails:
    • Never show personalized rules until analyzedVideoCount >= 5 and each video has >= 200 views (prevents noisy overfitting from a single viral or low-view upload).
    • Normalize drop-offs against YouTube's natural initial 30-second decay curve (relativeRetentionPerformance) so the opening 10 seconds aren't falsely flagged on every video.

6. Phased Rollout & Success Metrics

  1. Phase 4A — Manual CSV / YouTube Studio Import: Zero-OAuth MVP letting creators paste/drop a YouTube Studio retention CSV onto any completed script to preview the Script Retention Heatmap immediately.
  2. Phase 4B — One-Click YouTube Analytics OAuth Sync: Auto-matches recent uploads by title/duration and refreshes retention graphs at 24h, 7d, and 28d post-publish.
  3. Phase 4C — Personalized Speakability Linter Feedback Loop: Feeds CreatorDeliveryProfile insights back into live script writing and pre-shoot pacing targets.

Key Metrics

  • Connected Channels Retaining at 6 Months: Target > 85% (personalized historical data creates strong switching cost).
  • Measurable Creator Outcome: Track median 30-second intro retention improvement across a creator's first 10 Dante-analyzed videos (+5–12% improvement becomes a killer marketing case study!).

7. Deep Feature Catalog — 30 Features for Audience Retention & Delivery Intelligence

1. One-Click Read-Only YouTube Analytics OAuth Connector

  • Description: Connects a creator's YouTube channel using minimal read-only scopes (yt-analytics.readonly, youtube.readonly) to fetch audience retention curves automatically without write permissions.
  • User Journey: Creator opens Settings → Retention Intelligence → signs into Google with read-only permissions → Dante matches their last 20 published videos to their corresponding Dante scripts automatically.

2. Zero-OAuth Manual YouTube / TikTok / Reels CSV Drop-In

  • Description: Lets privacy-conscious creators or non-YouTube creators drop an exported retention CSV onto any completed script to unlock the Script Retention Heatmap with zero cloud account linking.
  • User Journey: TikTok creator exports retention stats from Studio → drags the CSV onto their Dante script card → Dante maps the retention curve directly onto the script sentences locally.

3. Sentence-Level Script Retention Heatmap

  • Description: Overlays a subtle emerald-to-crimson retention tint directly on top of every sentence in the Dante script editor, visually revealing which exact lines held viewers and which caused drop-offs.
  • User Journey: Creator opens last week's video script → toggles Retention Overlay → immediately spots two crimson sentences at 0:42 where 11% of viewers clicked away.

4. Hover / Tap Sentence Retention Diagnostic Card

  • Description: Clicking any highlighted sentence opens a crisp popover showing exact retention delta, spoken WPM, sentence word count, vocal energy score, and time since the last [B-ROLL] cue.
  • User Journey: Creator taps a crimson sentence → sees −7.2% drop · 36 words · 124 WPM · 34s without B-roll → realizes slow, unbroken exposition caused the dip.

5. Automated Caption-to-Script Sequence Drift Alignment

  • Description: Uses PromptMatcher sequence alignment against the published video's YouTube captions so retention buckets stay locked to exact sentences even if an editor cut or reordered sections in post.
  • User Journey: Editor swapped Chapter 2 and Chapter 3 during post-production → Dante aligns the published captions against the script → retention overlays still match every exact spoken line accurately.

6. Personalized Speakability Linter Thresholds

  • Description: Automatically replaces generic linter defaults (> 22 words) with that specific creator's empirical retention thresholds once ≥ 5 videos with ≥ 200 views are analyzed.
  • User Journey: Creator drafts next week's video → linter flags a 26-word intro sentence with "Your viewers drop 2.3× faster when intro sentences exceed 19 words" → creator trims it before filming.

7. Personal Optimal Hook WPM Range Discovery

  • Description: Correlates the creator's first-30-second speaking pace against 30-second YouTube retention across past uploads to calculate their channel's personal "Golden Hook WPM" band.
  • User Journey: Dante calculates "Your best hooks run 162–174 WPM" → automatically nudges the creator's YouTube preset hook target so Pacing Coach guides them into their sweet spot live on camera.

8. A/B Hook Variant Win-Rate Leaderboard

  • Description: Tracks 30-second retention across filmed Hook Variants (#32) categorized by hook archetype (Question, Bold Claim, Result-First, Story, Contrarian) to show which style wins on the channel.
  • User Journey: Creator reviews their Hook Performance tab after 12 uploads → sees Result-First hooks average 74% at 30s vs. 58% for Question hooks → defaults future scripts to Result-First hooks.

9. Relative-to-Baseline Drop-Off Normalization

  • Description: Normalizes raw retention curves against YouTube's expected early decay curve (relativeRetentionPerformance) so normal opening-5-second drop-offs never create false alarms.
  • User Journey: Creator checks a video with 68% retention at 0:30 → Dante highlights it in emerald (+9% above similar-length videos) rather than falsely flagging the first 10 seconds red.

10. Static Talking-Head Fatigue Detector (B-Roll Cadence Insights)

  • Description: Measures how many seconds pass between [B-ROLL] / [SCREEN] cues before viewer drop-off accelerates, giving the creator an exact visual-cut cadence target.
  • User Journey: Profile reveals "Retention dips steeply after ~24s without a visual cut" → while scripting, Dante subtly prompts [Add B-ROLL / SCREEN cue?] whenever a talking-head stretch passes 25 seconds.

11. Replay & Spike Moment Extractor ("What Viewers Loved Most")

  • Description: Identifies positive retention spikes ("Most Replayed" bumps) and highlights the exact spoken sentences and delivery pace that caused viewers to rewind and rewatch.
  • User Journey: Creator sees a bright emerald +4.5% replay spike on a concise 12-word analogy → saves that phrasing pattern into their Studio Snippets and clips it into a standalone YouTube Short.

12. Pacing-vs-Retention Dual-Axis Chart

  • Description: Renders a sleek Swift Charts overlay plotting the creator's live speaking WPM (PacingCoachEngine 10s buckets) directly beneath the YouTube audience retention curve.
  • User Journey: Creator inspects the dual-axis chart → visually sees their WPM sag from 160 down to 122 right at 3:10 and retention slope steepen immediately after → knows exactly how to pace mid-rolls.

13. Intro Length Sweet-Spot Analyzer

  • Description: Correlates how many seconds elapsed before the first # Core Content heading against 30-second and 60-second retention across the channel.
  • User Journey: Analytics shows intros under 18s hold 14% more viewers than 40s intros → Dante's Runtime Budget Bar marks the Hook section amber whenever it exceeds 18s.

14. Sponsor Read Drop-Off Minimizer

  • Description: Specifically isolates [LOCKED SPONSOR] segments (#30) to measure viewer skip rates across different sponsor placements (minute 1 vs. minute 4 vs. mid-cliffhanger) and segue phrasing.
  • User Journey: Creator discovers mid-video sponsor reads at 3:30 have half the skip rate of 0:45 sponsor reads → adjusts future sponsor placement and increases brand conversion.

15. Title-to-Hook Promise Alignment Check

  • Description: Compares the script's Attached Working Title (#44) against the first 20 seconds of spoken text and flags videos where high early drop-off correlates with delayed payoff of the title's promise.
  • User Journey: Creator sees 28% early exit on a video where the title's main subject wasn't mentioned until 0:38 → Dante's pre-shoot checklist now reminds them to echo the title keyword in the first 8 seconds.

16. Vocal Energy vs. Retention Correlation Report

  • Description: Pairs vocal dynamic range (RMS variance captured during the take) with segment retention to show whether calm conversational delivery or high-energy punchy delivery retains their niche better.
  • User Journey: Coding educator discovers calm, steady delivery retains 11% better than hyped shouting for tutorials → relaxes on camera with confidence backed by real channel data.

17. Pre-Shoot "Retention Risk Score" Forecast

  • Description: Before filming a new draft, scores the script (0–100) against the creator's personal CreatorDeliveryProfile (hook length, sentence complexity, B-roll density, target WPM) and lists top 3 quick fixes.
  • User Journey: Creator finishes drafting a script → sees Retention Readiness: 78/100 with 2 actionable suggestions (Trim Hook by 6s, Add visual cue at 1:50) → fixes both in 2 minutes before hitting Record.

18. Multi-Video Retention Trend Tracker (Channel Coaching Progress)

  • Description: Tracks 30-second retention, average view duration (AVD), and completion percentage across consecutive Dante-filmed uploads to measure tangible delivery improvement over time.
  • User Journey: Creator opens their quarterly Delivery Growth view → sees 30-second retention climbed from 54% to 69% over 12 videos using Dante's Pacing Coach and Hook Variants.

19. Automated 24h / 7d / 28d Post-Publish Refresh Snapshots

  • Description: Periodically refreshes linked YouTube retention curves at 24 hours (core subscribers), 7 days (browse/suggested viewers), and 28 days (search/evergreen traffic) to show how different audiences react.
  • User Journey: Creator compares 24h vs 7d overlay → sees subscribers tolerated an inside-joke intro, but cold Browse viewers dropped off → learns to cut insider jargon on future hooks.

20. Side-by-Side Winner vs. Underperformer Script Comparison

  • Description: Places the creator's top-retaining script next to an underperforming script with aligned metrics (Hook length, WPM, average sentence length, B-roll cadence, retake count).
  • User Journey: Creator compares their best 100k-view video with a 4k-view video side by side → immediately sees the winner had 2× more [B-ROLL] transitions and 35% shorter sentences.

21. Filler-Word & Pause-Hotspot Retention Impact Audit

  • Description: Checks whether unedited long pauses or filler clusters correlated with localized retention dips, helping creators calibrate their Auto-Rough-Cut silence threshold empirically.
  • User Journey: Audit shows pauses > 1.1s consistently triggered skips on Shorts → creator lowers their Shorts Auto-Rough-Cut silence threshold from 1.4s to 0.8s.

22. Shorts / Reels Completion & Loop-Rate Tracker

  • Description: Tracks short-form completion rate (> 100% replay loops) against seamless loop transitions (Outro → Hook bridge wording) and exact video duration (28s vs 58s).
  • User Journey: Short-form creator sees 35-second scripts with seamless loop endings hit 118% average view duration → adopts the 35-second loop template for batch shoots.

23. Automatic "Clip This!" Recommendation From Post-Publish Spikes

  • Description: When a long-form video shows a strong retention spike or replay peak 48 hours after publishing, Dante flags that exact paragraph and offers 1-click Export as 9:16 Short from the saved master take!
  • User Journey: Two days after uploading a 15-minute video, Dante notifies "🔥 Replay spike at 6:14–6:52" → creator clicks Export Vertical Clip → publishes a high-converting Short in 20 seconds.

24. Chapter-by-Chapter Retention Scorecard

  • Description: Grades every # Section Heading / YouTube Chapter (A through D) based on retention held across that chapter, helping creators spot which recurring segments (e.g., Gear Specs vs. Real-World Tests) audiences value most.
  • User Journey: Tech reviewer sees their Benchmark Table chapters consistently score D while Hands-On Demo chapters score A+ → trims benchmarks to 20 seconds and doubles demo depth.

25. Statistical Confidence & Sample-Size Guardrails

  • Description: Displays explicit confidence badges (Low Sample · 3 videos, High Confidence · 18 videos) and excludes anomalous low-view videos (< 200 views) so creators never over-optimize on noise.
  • User Journey: New creator connects their channel with 2 uploads → Dante clearly displays the raw heatmaps while noting "Link 3 more videos to unlock Personalized Linter Rules".

26. Editor Feedback Export ("Where Viewers Dropped Last Video")

  • Description: Exports a concise 1-page PDF/Markdown brief of the channel's top 3 retention insights to share with freelance editors so editing pacing aligns with channel data.
  • User Journey: Creator shares the monthly Retention Brief in Slack with their editor → editor tightens intro jump cuts and adds B-roll every 18 seconds on the next episode.

27. Live Pre-Roll "Personal Best Reminders"

  • Description: Displays one ultra-concise, encouraging personal cue right on the 3 · 2 · 1 pre-roll screen (e.g., "Your sweet spot: 165 WPM · Crisp 12s hook").
  • User Journey: Creator hits Record → sees their single empirical focus cue during countdown → locks into their highest-performing delivery rhythm effortlessly.

28. Multi-Channel Isolated Delivery Profiles

  • Description: Keeps CreatorDeliveryProfile strictly isolated per YouTube channel/brand so a fast-paced Shorts channel never pollutes the calm pacing rules of a long-form Documentary channel.
  • User Journey: Creator switches from their Daily Tech Shorts channel to Long-Form Essays → personalized linter automatically switches from 172 WPM / 12s hook to 138 WPM / 28s narrative hook.

29. Zero-Server Local & Private-iCloud Analytics Storage + 1-Click Purge

  • Description: Stores all imported retention curves and computed profiles strictly in the user's local database (with optional private iCloud sync, never on developer servers) and provides a 1-click Disconnect & Delete All Analytics button.
  • User Journey: Creator audits privacy settings → verifies zero channel telemetry leaves their devices or private iCloud database → can revoke YouTube OAuth and wipe cached retention graphs cleanly anytime.

30. Quarterly "Creator Delivery Wrapped" Benchmark Report

  • Description: Generates a visual quarterly summary of total scripts filmed, total hours saved by Auto-Rough-Cut, WPM consistency progress, top-retaining hook, and overall retention growth.
  • User Journey: At quarter end, creator reviews their Dante Studio Report → sees 48 videos filmed · 34 hrs editing saved · +11% 30s retention → shares the clean visual card on X/LinkedIn (driving organic referrals!).

Clone this wiki locally