Popup System
Email-capture popup with time / scroll / exit-intent triggers. Replaces Privy.
Live preview
See it in action.
Fully interactive, drag, click, scroll inside the frame, toggle to mobile.
About this section
A complete email-capture popup with three trigger modes (time delay, scroll depth, exit intent), dismiss-with-memory, GDPR consent line, and a success state with optional discount code reveal. Posts to Shopify's customer endpoint with configurable tags, wires straight into your Klaviyo or Mailchimp flows.
Install in 90 seconds
- 01
Create /sections/modblo-popup-system.liquid.
- 02
Paste the section code and save.
- 03
Add `{% section 'modblo-popup-system' %}` to theme.liquid (just before </body>) so the popup is available on every page.
- 04
Configure the trigger, content, and customer tag in the theme editor.
- 05
(Optional) In Klaviyo/Mailchimp, set up a flow triggered by the customer tag you specified, that's where the discount-code email gets sent.
The Liquid
Unlock the section code
Popup System is a premium section. Get the full Liquid + scoped CSS paste-ready.
One-time purchase · Lifetime updates · You own the code
Theme editor settings
| Setting | Type | Default |
|---|---|---|
Trigger type trigger | select | time |
Time delay (s) delay_seconds | range | 6 |
Scroll depth (%) scroll_pct | range | 40 |
Re-show after dismiss (days) frequency_days | range | 7 |
Image image | image_picker | , |
Eyebrow eyebrow | text | Members get more |
Heading heading | text | 10% off your first order. |
Subheading subheading | textarea | , |
Submit label cta | text | Get the code |
Customer tag tag | text | popup-signup |
Success heading success_heading | text | You're in. |
Success code (optional) success_code | text | , |
Background bg | color | #ffffff |
Foreground fg | color | #0b0b0c |
Accent accent | color | #6366f1 |
SEO & accessibility notes
- Posts to Shopify's native /contact endpoint, creates a real customer record, no third-party SDK.
- Real <form> with proper aria-modal dialog, screen-reader accessible.
- Escape key + overlay click both close the popup.
- Dismiss memory uses localStorage (no cookies / GDPR overhead).
- Exit-intent only fires on desktop pointer-leave, mobile gets a 30-second time fallback.
Related
