Email Capture Popup

A conversion popup that captures emails without annoying your visitors. Pick when it shows and what it offers, then copy the prompt.

Copied 0 times.

×

Get 10% off your first order

Drop your email and the code lands in your inbox.

you@email.com
Send me the code

No thanks

Customize the prompt

Build an email capture popup for my website. Match my existing design system, colors, and fonts.

STRUCTURE
- A full-viewport overlay (semi-transparent dark background) with a centered card, max width 420px, rounded corners, generous padding.
- Card contents, top to bottom: a close button (top-right corner, X icon), a short bold headline, one supporting line, an email input, a submit button, and a tiny dismiss link under the button ("No thanks").
- Style: light card (white background, dark text), primary button in my brand's accent color.

OFFER
- The offer is a discount: headline like "Get 10% off your first order", supporting line telling the visitor the code arrives by email, button label "Send me the code". Adapt the wording and percentage to my business.

TRIGGER
- Show it on exit intent: on desktop, when the cursor moves out of the viewport toward the top of the window; on touch devices, fall back to showing it after 30 seconds on the page.

BEHAVIOR
- Show it at most once per session: set a flag in sessionStorage when shown or dismissed, and never show it again while the flag exists.
- Close it on: the X button, the "No thanks" link, a click on the overlay outside the card, and the Escape key.
- On submit: validate the email format client-side, then hand the email to my existing email tool or backend (leave a clearly marked TODO where the integration call goes).
- After a successful submit, replace the card content with a one-line thank-you message and auto-close after 2 seconds.

ACCESSIBILITY AND QUALITY
- Trap focus inside the card while it is open and return focus to the page when it closes.
- role="dialog" and aria-modal="true" on the card, aria-label on the close button.
- Animate in with a quick fade and slight scale-up (150-200ms), no bounce.
- The popup must be responsive: full-width card with margins on small screens.
- No layout shift on the underlying page when the overlay opens (compensate for scrollbar removal).

QUESTIONS
- Before you build, find or ask for: which email tool or backend receives the emails, and the real offer (the actual discount value or the lead magnet's name). Check my project and site first; whatever you cannot find there, ask me for. Never invent these or ship placeholders.
- If anything else about my brand or content is unclear, ask me before inventing.

What it does

The email capture popup is the classic list-builder: one clean card, one offer worth an email, one button. Timed right, it turns leaving or engaged visitors into subscribers without wrecking anyone's visit.

  • Shows at most once per visit; dismiss it and it stays away.
  • Four ways to close: the X, No thanks, a click outside, or the Escape key.
  • Bad email addresses get caught politely before sending.
  • A signup swaps the card for a quick thank-you that closes itself after 2 seconds.
  • Emails go to your own email tool through one marked spot.

How it works

  1. 1Pick the trigger: exit intent, after 20 seconds, at a third of the scroll, or right on load.
  2. 2Pick the offer, a discount code, a free guide, or a newsletter invite, and a light or dark card.
  3. 3Copy the prompt, the popup's whole how-to for your AI, into whichever AI you use.
  4. 4Connect the marked spot to your email tool, so every address lands where you already send from.
  5. 5Rewrite the offer text as your own, a promise you'll actually deliver on.
  6. 6Test it once: it should appear at your chosen moment, catch a bad email, and never show again after closing.

What you can customize

  • When it shows: exit intent catches leavers; 20 seconds and scroll catch the engaged; on load asks everyone, 2 seconds after the page paints.
  • What it offers: discount for stores, a free guide for know-how brands, or a plain newsletter invite with no false scarcity.
  • Style: a light card for airy sites, a dark card for moody ones; the button wears your accent color either way.
  • Wording, fields, and colors adapt to your site automatically, because your AI builds it right inside your own design.

You'll also like