TEASEDocs
ProductsLinkLanding-page builder

Add an exit-intent popup and/or an urgency timer

Catch a leaving visitor with a popup, or create a sense of a deadline.

Two independent bg/ui sections cover a leaving visitor and a sense of urgency: exit (a popup triggered when a desktop visitor moves toward closing the tab) and timer (a countdown shown above the buttons). Both live on the landing page itself — set through POST /api/admin/bg/ui.

Exit-intent popup

curl -X POST "https://app.tease.link/api/admin/bg/ui?domain=links.creator.com" \
  -H "Authorization: Bearer $TEASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "exit": {
      "enabled": true,
      "title": "Wait — before you go",
      "text": "Grab the free preview pack.",
      "btn": "Take me there",
      "url": "https://t.me/yourchannel",
      "btn_style": { "shape": "pill", "fill": "solid", "color": "#e0426e" }
    }
  }'
KeyMeaning
title, text, btnPopup copy, 64 / 200 / 32 characters
urlWhere the button goes (http(s)); empty = the page's main button destination
btn_styleThe popup button's own style — same shape used by the sticky bar's btn

Shows once per visit when a desktop visitor's cursor moves toward the browser chrome (the classic "about to close the tab" signal) — there is no such gesture on mobile, so this is desktop-only in practice. Send { "exit": null } to remove it.

Urgency timer

curl -X POST "https://app.tease.link/api/admin/bg/ui?domain=links.creator.com" \
  -H "Authorization: Bearer $TEASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "timer": {
      "enabled": true,
      "minutes": 20,
      "text": "Offer ends in"
    }
  }'
KeyMeaning
minutes1–1440, default 15 — each visitor gets their own countdown starting from their first view
textLabel above the countdown, up to 64 characters

{ "timer": null } removes it.

Landing page only — never in the ad itself

Put the timer on the landing page, not inside an ad creative: several ad networks (TrafficJunky among them) prohibit countdown timers in ads. This section only affects the landing page, so it's the right place for it.

Confirm it worked

For the exit popup, publish and test in a private window on desktop: move the mouse up toward the tab bar and the popup should appear once. For the timer, load the page and confirm the countdown starts from the configured minutes and counts down per visitor (reload — it should not reset early, since each visitor's countdown starts from their own first view).

What's next

On this page