How Do I Trigger a Coupon Popup When a User Tries to Leave?

The On Exit rule shows your Capture when a visitor is about to leave your site. You choose which devices it fires on and how sensitive it is.

  1. Create a Capture and choose the Coupon type. Add a single code that anyone can claim, or individual codes that end the Capture once they're all claimed.
  2. Open the Targeting tab and click Add New Rule, then Triggers, then On Exit.
  3. Choose the devices and the sensitivity.
  4. Add a Current URL rule, for example a URL that contains /cart or /checkout, so the offer only shows where people abandon.
  5. Preview it, then publish.
Gleam interface showing the On Exit rule with device and sensitivity settings

Rules in one group must all match, so the exit rule plus the URL rule only fires on the right pages. New Captures start with two exclude rules, so people who've already subscribed or closed it don't see it again.

Installing Capture takes one line of JavaScript before your closing head tag. Our exit intent popup guide shows it end to end.

See Next Article

Why Should I Use a Countdown Popup During Cyber Monday?

A countdown shows shoppers exactly when your Cyber Monday deal ends, so they decide now instead of leaving it in a tab. Use a Countdown Capture.