Diagnostic asset · IV Therapy & Med Spa
DripGym: From 4.8s Shopify to 1.2s Next.js
DripGym — a NYC & Long Island medical IV and weight loss clinic — operated a slow monolithic Shopify stack with heavy Servicify/Jane App iframe overlays. We migrated them to headless Next.js on Vercel with a custom React scheduler facade, cutting mobile LCP by 75% and surging booking conversion +180%.
Core Web Vitals
Lighthouse Performance Comparison
Mobile LCP
4.8s
Target < 2.5s
TBT
890ms
Total Blocking Time
CLS
0.24
Cumulative Layout Shift
JS Payload
2100KB
Transfer on mobile
Compliance stack
Secure Edge Middleware Architecture
How we isolated clinical appointment data, secured HIPAA-aware parameters, and eliminated non-compliant tracking on DripGym's migration to Next.js.
Edge Middleware Intercept
Next.js middleware validates intake payloads at the edge before any PHI reaches client bundles or third-party scripts.
Server-Side Conversion APIs
Booking and analytics events route through `/api/*` handlers — clinical identifiers never pass to GA4 or Meta Pixel in the browser.
Lazy EMR Scheduler Facade
Custom React booking shell loads Jane App only on user interaction — eliminating global iframe script injection on first paint.
Immutable Audit Logging
Deploy and content versions archived for regulatory review — supporting Texas TMB advertisement retention and HIPAA audit trails.
Problem → Solution
Why the legacy stack failed
Heavy third-party iframe schedulers loaded on every page paint — bloating JavaScript, exposing clinical data to browser analytics, and destroying mobile conversion.
Before: Shopify + iframe overlays
- • Servicify / Jane App widgets loaded globally on initial render
- • Mobile LCP 4.8s — 42% appointment intent abandonment
- • Non-compliant tracking scripts exposed appointment metadata
- • 2.1MB JavaScript transfer on mobile first load
After: Headless Next.js on Vercel
- • Custom React scheduler facade — Jane App lazy-loaded on interaction
- • Mobile LCP 1.2s — Core Web Vitals pass
- • Server-side conversion APIs — zero PHI in browser analytics
- • −850KB initial JavaScript payload
Outcomes
Measured results
| Metric | Before | After | Note |
|---|---|---|---|
| Mobile LCP | 4.8s | 1.2s | Sub-1.5s target achieved |
| Booking conversion | Baseline | +180% | After lazy scheduler + speed fix |
| Initial JS payload | 2.1MB | 1.25MB | −850KB Jane App deferral |
| Appointment intent drop-off | 42% | Resolved | Iframe overlay removed from global load |
Use this teardown in outbound prospecting — California SAB and Texas SAB pages include compliance context for regulated markets.
Next step
Want a diagnostic teardown like DripGym?
Book a 15-minute live audit — we'll review your mobile LCP, EMR scheduler load, and HIPAA-aware tracking architecture on Zoom.