Browse docs
Proactive messages (campaigns)
Show a short teaser above the widget launcher when a visitor lands on a page, stays a while, scrolls or heads for the exit.
Proactive messages let you start a conversation before a visitor asks. Each one is a campaign: a short teaser that appears above the widget launcher when a visitor matches its trigger. This page is for account owners and admins who set them up, and for teammates who want to understand what visitors see.
Open a project and select Proactive messages in the sidebar.
How a campaign reaches a visitor
- A visitor opens a page on your site where the widget is installed.
- The widget checks every live campaign of the project against that page.
- The first campaign whose trigger fires shows its teaser above the launcher. Only one teaser shows per page.
- Selecting the teaser opens the chat with your message as the assistant’s first message. If the project has starter questions, the teaser also shows up to two of them as buttons the visitor can select to ask right away.
- A teammate can take over the conversation from the inbox at any time.
Rules the widget applies:
| Rule | Behavior |
|---|---|
| Frequency | Each campaign shows at most once per visitor per week. The widget remembers this in the visitor’s browser, so a private window sees it again. |
| One per page | The first campaign to fire on a page wins. When two are ready at the same moment, the one higher in the list shows. |
| Open chat | No teaser shows while the chat panel is open or while the visitor already has a conversation in progress. |
| Dismissing | The visitor can close the teaser with the close button or the Escape key. It then shows Hidden for 7 days. |
| Single-page apps | When your app changes route without a full page load, the widget re-checks campaigns against the new URL. |
| Updates | Changes you make reach visitors within a minute. |
Triggers
Every campaign has one trigger.
| Trigger | When it shows | Settings |
|---|---|---|
| ”Page visit” | The visitor lands on a page matching a URL pattern. | ”URL pattern” (or All pages) and “Delay after the page loads" |
| "Time on page” | After the visitor has been on any page for a number of seconds. | ”Seconds on the page" |
| "Scroll depth” | When the visitor scrolls past a percentage of any page. | ”Scrolled past” (1 to 100 percent) and an optional Then wait delay |
| ”Exit intent” | The moment the pointer leaves through the top of the page. | None. It shows with no delay. |
Delays are whole seconds from 0 to 3600. 0 shows the teaser right away. If you leave a page-visit or time-on-page delay empty, it defaults to 5 seconds.
Note: Exit intent needs a mouse, so it never fires on phones or tablets. Use a Time on page campaign to reach mobile visitors.
URL patterns
Page visit campaigns match the page address against a pattern:
*is a wildcard. A lone*, or selecting All pages, matches every page.- A plain pattern matches anywhere in the URL, so
/pricingalso matches/docs/pricing-api. - Start the pattern with
^to match from the start of the path only.^/pricing*matches/pricingand/pricing/annual, but not/docs/pricing-api. - Matching ignores letter case.
Use Test a page in the editor to check a path against your pattern. Nothing is sent to visitors. If a path only matches because patterns match anywhere in the URL, the tester offers to anchor the pattern for you.
A pattern is required before you can publish a Page visit campaign. A draft can be saved without one.
Create a campaign
- Select New campaign.
- Enter a Name. Only your team sees it.
- Write the Teaser message. Long teasers cover the page on phones, so the editor suggests staying within 140 characters.
- Choose a Trigger and fill in its settings.
- Check the Live preview, or switch to Preview to see the widget on desktop or phone and select Play visit to simulate the trigger.
- Select Publish to make it live, or Save as draft to keep working on it.
If the project has no campaigns yet, you can start from a template: Pricing page help (on /pricing* after 8 s), Leaving-site check-in (any page, on exit) or Docs deep-dive nudge (any page, past 60% scroll).
Tip: After publishing, open the page in a private window. Your usual browser may already have seen the campaign this week.
Statuses
| Status | Meaning |
|---|---|
| ”Draft” | Never published. Nobody sees it until you publish. |
| ”Live” | Published and on. Visitors who match the trigger see it. |
| ”Paused” | Published, then turned off. Visitors don’t see it. |
Use the switch on a row to move a published campaign between Live and Paused. Right after you publish or switch a campaign, the confirmation message offers Undo. Undoing a publish turns the campaign back into a draft in its old position; this is only possible shortly after publishing. Later, pause it instead.
Filter the list with All, Live, Paused and Drafts, or search by name or message.
Order and conflicts
The list is in priority order. Order breaks ties: when two campaigns are ready at the same moment, the higher one shows. A newly published campaign is placed right below the last live campaign, so it never jumps ahead of what visitors already see.
To reorder, drag a row by its grip, or focus the grip and use the arrow keys. You can also use Move up and Move down in the row’s menu. Clear the search and filter first; a filtered list can’t be reordered.
The editor warns you when another campaign fires first on the same page, so this one won’t appear there. It offers fixes such as moving above the other campaign, pausing it, or shortening the delay. For Scroll depth campaigns, the timing is an estimate.
Other actions
The row menu also offers:
- Edit and Preview
- Duplicate as draft, which creates a copy named (copy) that nobody sees until you publish it
- Delete…, which removes the campaign permanently. To stop it for now and keep the copy, pause it instead.
Who can change campaigns
Every teammate can view campaigns and open previews. Only account owners and admins can create, edit, publish, pause, reorder or delete them.