Repository navigation
04 Audience Retention Feedback Loop
← Pillar 03: Studio Cloud · Deep Wiki Index · Next: Pillar 05 — Distribution, Expansion & Monetization →
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:
- The structured script (Hook Variants
A/B/C,# Headings, sentence lengths,[B-ROLL]cues), - The live delivery telemetry (
PacingCoachEnginerolling WPM curve, pause hotspots, vocal energy variance, retake counts), and - The clean-pass / rough-cut timeline (
TakeTranscriptRecordword 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.
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
-
Tier 1 (Instant Zero-Effort): Map
bucket.ratio * publishedDurationSecondsdirectly onto Dante'sRoughCutBuilderclean-pass timeline (accurate within ~1–2 seconds when exported via Dante's Auto-Rough-Cut or synced.SRT). -
Tier 2 (Word-Exact Calibration): Optionally fetch the published video's own YouTube caption track (or match Dante's uploaded
.SRTtimestamps) viaPromptMatchersequence alignment to snap every retention bucket to the exact sentence even if the editor reordered sections!
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]
}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
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."
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.
-
Strict OAuth Scope Minimization: Request ONLY read-only
https://www.googleapis.com/auth/yt-analytics.readonlyandhttps://www.googleapis.com/auth/youtube.readonly. Never request write/upload/delete YouTube permissions. -
100% On-Device Personalization: All retention alignment and
CreatorDeliveryProfilecomputation 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 >= 5and each video has>= 200views (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.
- Never show personalized rules until
- 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.
-
Phase 4B — One-Click YouTube Analytics OAuth Sync: Auto-matches recent uploads by title/duration and refreshes retention graphs at
24h,7d, and28dpost-publish. -
Phase 4C — Personalized Speakability Linter Feedback Loop: Feeds
CreatorDeliveryProfileinsights back into live script writing and pre-shoot pacing targets.
-
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!).
-
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.
- 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.
- 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:42where 11% of viewers clicked away.
-
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.
-
Description: Uses
PromptMatchersequence 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.
-
Description: Automatically replaces generic linter defaults (
> 22 words) with that specific creator's empirical retention thresholds once≥ 5videos with≥ 200views 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.
- 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.
-
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.
-
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.
-
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.
- 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 spikeon a concise 12-word analogy → saves that phrasing pattern into their Studio Snippets and clips it into a standalone YouTube Short.
-
Description: Renders a sleek Swift Charts overlay plotting the creator's live speaking WPM (
PacingCoachEngine10s buckets) directly beneath the YouTube audience retention curve. -
User Journey: Creator inspects the dual-axis chart → visually sees their WPM sag from
160down to122right at3:10and retention slope steepen immediately after → knows exactly how to pace mid-rolls.
-
Description: Correlates how many seconds elapsed before the first
# Core Contentheading against 30-second and 60-second retention across the channel. -
User Journey: Analytics shows intros under
18shold14%more viewers than40sintros → Dante's Runtime Budget Bar marks the Hook section amber whenever it exceeds18s.
-
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:30have half the skip rate of0:45sponsor reads → adjusts future sponsor placement and increases brand conversion.
-
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.
- 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.
-
Description: Before filming a new draft, scores the script (
0–100) against the creator's personalCreatorDeliveryProfile(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/100with 2 actionable suggestions (Trim Hook by 6s,Add visual cue at 1:50) → fixes both in 2 minutes before hitting Record.
- 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%to69%over 12 videos using Dante's Pacing Coach and Hook Variants.
- 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
24hvs7doverlay → sees subscribers tolerated an inside-joke intro, but cold Browse viewers dropped off → learns to cut insider jargon on future hooks.
- 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.
- 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.1sconsistently triggered skips on Shorts → creator lowers their Shorts Auto-Rough-Cut silence threshold from1.4sto0.8s.
-
Description: Tracks short-form completion rate (
> 100%replay loops) against seamless loop transitions (Outro → Hookbridge wording) and exact video duration (28svs58s). -
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.
- 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.
-
Description: Grades every
# Section Heading/ YouTube Chapter (AthroughD) 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
Dwhile Hands-On Demo chapters scoreA+→ trims benchmarks to 20 seconds and doubles demo depth.
-
Description: Displays explicit confidence badges (
Low Sample · 3 videos,High Confidence · 18 videos) and excludes anomalous low-view videos (< 200views) 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".
- 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.
-
Description: Displays one ultra-concise, encouraging personal cue right on the
3 · 2 · 1pre-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.
-
Description: Keeps
CreatorDeliveryProfilestrictly 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 hookto138 WPM / 28s narrative hook.
- 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.
- 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!).
Dante for Creators (PlaybookMediaLLC/textream) — Strategic Architecture & Product Deep Wiki (v2.0 → v3.0+)