
Hitting Performance Lab LLC
8930 N. 6th Street
Fresno, CA 93720
559-709-5808
# Claude Code Patch — HPL Exit Popup v2 ## Implements all 6 audit fixes from the Level 3 DM Landing Page Audit --- ## Context You are editing ONE file: `wpcode-footer.html` in the HPL exit popup folder. This file is pasted into WordPress → WPCode → Footer box verbatim. The popup is page-aware: it reads the current URL slug and serves a matched offer from the `PROGRAMS` object. Three variant types exist: - **Workout PDF** (`type` is undefined): eyebrow "Free PDF download", generic title/body/CTA defaults - **Hitting funnel** (`type` set, e.g. 'drill card', 'cheat sheet'): custom `body:` per entry, title uses "Before you go, grab the free [label]." default - **Quiz fallback** (no match in PROGRAMS/ALIASES): the quiz copy — this variant is already strong, do NOT change it The popup HTML is built inside the `build()` function using `root.innerHTML`. The popup has these copy elements: - `.hpl-xp__eyebrow` — small label above the title - `.hpl-xp__title` — main headline - `.hpl-xp__proof` — NEW: one line of social proof (to be added below title) - `.hpl-xp__body` — supporting copy - `.hpl-xp__mockup` — NEW: CSS-only visual asset (to be added between eyebrow and title) - `.hpl-xp__cta` — CTA button/link (becomes a form for workout PDF variants) - `.hpl-xp__micro` — friction-reducer below CTA - `.hpl-xp__no` — dismiss link **IMPORTANT WordPress rules:** - This file lives inside a `
Scroll to top