Miniwall Docs
Guides

Exit-intent offer

Show a discount offer when a visitor on a computer is about to leave your pricing page.

In Screens select New screen and choose the Exit-intent Offer template. Edit the headline and the code. The Claim 15% off button uses the action Run your code with the ID claim_offer. Publish it.

In Placements add exit_offer with Shows set to that screen.

Open Configure, then the Screen & display tab. Choose Popup. Under Show it choose When the visitor is about to leave. Under Pages choose Only these pages and add /pricing. Keep Limit to once per session. Select Save.

On your site call this once per page:

UIKit.startAutoPlacements({
  onAction: ({ actionId }) => {
    if (actionId === 'claim_offer') applyCoupon('WINTER15');
  },
});

Test on a computer: move the pointer out through the top of the window.

Exit intent never fires on phones and tablets. Use After N seconds or a scroll trigger there. See Screen and display.

On this page