# Pop-ups

As many pop-ups as you like, each with its own form, targeting, trigger and wording.

## Adding one

**Settings → SendBeam → Pop-ups**. Each one has a form, a headline, a line of copy, where it
shows, how it opens and how long it stays away once dismissed. Add as many as you want.

The headline matters more than it looks. A pop-up arrives over whatever someone was reading with no page
around it to explain itself; two fields and a button give them no reason to fill it in.

## Targeting

Rules are ordered, and **the first one that matches a page wins**. Nothing else is shown, so
two pop-ups can never argue over the same visitor. Put the specific rules above the general ones.

- **Every page**
- **Home page only**
- **Single posts**
- **Pages**
- **Pages whose address contains…** — any text, matched anywhere in the path, so
  `/pricing` catches `/pricing/` and `/pricing/plans`.

A common pair: a discount offer on single posts by exit intent, and a gentler newsletter prompt everywhere
else on scroll. The posts rule goes first, so a post gets the offer rather than both.

## Triggers

- **After a delay** — a number of seconds. Zero opens it as soon as the page loads, which is
  usually a mistake.
- **When they scroll far enough** — a percentage of the page. Around 60% means they have read
  most of it.
- **When they move to leave** — exit intent, bound only where there is a real pointer, so it
  cannot misfire on a phone.
- **From a floating button** — a small button fixed to the corner, with your label.
- **Only from a button I place** — nothing automatic; see below.

## How often someone sees it

**After it is closed** decides how long the pop-up stays away: a day, a week, never again, or
show it every visit. A submission counts as a close, so nobody who has just subscribed is asked again.

This is remembered in the visitor's own browser, so it is per person and per device, and clearing site data
resets it. It applies to every automatic trigger. A button someone deliberately presses always opens the
form — they asked for it.

## Opening one from a button

Give any element `data-sendbeam-open=""`, or use
`[sendbeam_popup_button label="Subscribe"]`. The loader is added to pages carrying such a button
even where the pop-up does not appear by itself.

---
Source: https://sendbeam.io/docs/wordpress/popups
