Overlays

Start from over 40 ready-made overlays, from NPS to a content upgrade, or design modals, slide-ins, banners, full-screen takeovers, corner cards and boxes in the page yourself. Open them from any button or by themselves for the visitors you choose, collect answers with a form inside, and see the score that matters.

Updated · 21 min read

An overlay sits over your pages: a modal in the middle of the screen, a slide-in from a side or the bottom, a banner along the top or bottom, a full screen takeover, or a small corner card that leaves the page usable. An In place overlay sits inside the page instead, after an article say. You design it in the page editor, over a real page of your site, from text, images, buttons and forms. It opens when a visitor clicks a button, or by itself when the moment is right.

Overlays

Go to Admin → Overlays and choose New overlay. The gallery shows over 50 starting points in your site's own styles, over a sketch of a page, grouped by what they're for:

  • Grow your list: a newsletter signup, a free guide, a discount for an email, a content upgrade after an article, a "before you go" signup, a waitlist, an event sign-up with a countdown, a two-step opt-in and a signup bar.
  • Ask your visitors: NPS, how did you hear about us, quick feedback, what brings you here, CSAT, was this page helpful, what stopped you today, pricing clarity, which best describes you, what should we build next, and product–market fit.
  • Convert: book a demo, a pricing nudge, an exit offer, a bottom bar, start free, switching from another tool, talk to a human, a limited-time offer with a countdown, pick up where you left off, and four paywalls.
  • Announce: a launch, a top bar, a new feature with a video, an event countdown bar, scheduled maintenance, holiday hours, we're hiring, and launch day.
  • Engage: refer a friend, and follow along on social.
  • Sell in the store: a free delivery bar, a cart reminder, back in stock, and a first-order discount.
  • Start blank: one of each kind.

Search by name or what it does, or filter by what it's For, how it Shows as, and where it Fits (any page, pricing, articles and docs, or after sign-up). The search and filters stay in the address, so a view can be bookmarked or shared. On a phone each filter is one row of choices you swipe sideways. Each card says what opens it. Point at a card, or tab to it, to see it arrive.

Choose Use this and the overlay is made and opens in the editor, named after its starter. Each starter comes set up to suit it: what opens it, on which pages, for whom and how often. NPS, for example, is a corner that opens after 20 seconds for visitors who are signed in or have been before, at most once every 90 days, and its follow-up question changes with the score. Starters that collect something (a sign-up, a download, a demo request, a rating) also make a draft form named after the overlay, with its questions and thank-you ready. A thank-you only says what happens: the newsletter starters add people who tick the consent box to the newsletter, which sends its confirmation email, and the free guide, the content upgrade and the two-step opt-in email the link to a download you choose in the form's Connect tab (see Connect forms). Until you choose it, the form can't go live. Nothing is live until you publish.

Fill in the words in braces

Starters never make up facts about you. Where one needs something only you know, its words say so in braces, like {code}, {date}, {download} or {event}: "Get {download} for this post". The gallery shows a sample in their place, so you can see how it reads. Double-click the words in the editor to fill them in. Publish reminds you of any still in braces, as visitors would read them as written.

A first-order discount shows one of your codes from Store → Discounts: choose it in the Discount code block's settings. Write {code} or {discount} anywhere in the overlay and they're filled in from that code. Until a code is chosen, the overlay isn't shown and Publish reminds you. Visitors see it only while the code works: switched on, not expired or used up, with Discount codes on in Store → Settings → Checkout. Switch a code off and its overlays stop showing within a minute.

Links work the same way. A button that needs an address only you know, like your profile on X, your contact email or your event's page, starts with no link, and a countdown starts with no date. Publish names each button still without a link and any countdown still without a date. The gallery's cards count to a week from now, so you can see how they look.

Design it over your page

The editor shows the overlay over a page of your site, dimmed by its backdrop, at its own place and width, as visitors will see it. The page behind is there to look at: nothing in it can be selected.

  • Behind it, in the toolbar at the bottom, picks the page: the first page the overlay shows on, or your home page. Choose Plain canvas to see the overlay alone.
  • Play runs its entrance again.
  • Switch to tablet or phone to see it at that size, including what it becomes on phones.

Select Frame at the top of Layers, or the overlay's edge, to design the box itself:

  • Style sets its fill and text colour, corners, border, shadow and padding, and how tall it can get. Taller content scrolls inside it.
  • Overlay holds its settings, in six parts: Design, Opens when, Who sees it, How often, After sending and Teaser. Each part says what it's set to while folded.

Under Design, choose the kind, where it sits, its width and what it becomes On phones (the same, a bottom sheet, the whole screen, or nothing). Then its Backdrop (colour, opacity and blur), its Entrance (slide, fade, scale, pop or none, how long it takes and how it eases) and how it closes. Every change saves as you go and can be undone.

Leave a teaser

A teaser is a small tab that stays in a corner after a visitor closes the overlay without acting on it, so they can open it again when they're ready: "10% off today", say.

Under Teaser, turn on Show a teaser and choose its Corner. The canvas switches to the Teaser screen, with a dark pill reading "Open the offer" to start from: change its words, colours and shape like any other layers. Switch between Overlay and Teaser in the toolbar below the canvas.

On your site the teaser:

  • appears after a close without acting, and stays for the rest of that visit, on the pages the overlay opens on;
  • goes once they act on the overlay, or hide the teaser with its small close button;
  • is a button that says what it opens, and never takes the keyboard by itself; visitors who've asked for less motion see it fade in without moving;
  • steps aside while an overlay or your cookie banner is open, and only the highest priority one shows at a time;
  • goes when you pause the overlay.

Put it in the page

An In place overlay is part of the page rather than over it: a content upgrade after an article, say. Under Design, choose where it Sits: After the article (after a blog post, case study or the page's Article block, or at the end of a page without one) or At the end of the page. Under Who sees it, choose its pages with page conditions, like "in /blog".

It works on the docs and answers too, after their text: choose them with a condition like "in /docs". One set for every page stays on your pages, so it reaches the docs and answers only once a condition, or its page list, names them.

It's in the page's HTML, so it shows at once and nothing on the page jumps. It has no trigger, close button or teaser, as it's there to read like the rest of the page. It counts as shown when it scrolls into view, and as acted on when its form is sent or a link in it is followed. A page shows up to three. Preview on page isn't offered for it: the editor shows it on the page behind, and it appears inside its pages once published.

Count down to a date

Add a Countdown from Insert to count to a webinar, the end of an offer or a launch. In its settings, pick the date and time on your site's clock (Site settings → General sets the time zone), and choose Tiles or One line. Choose what happens when the time comes: Say it's over (with your words), Hide the countdown, or Stop showing the overlay, so an offer that's ended stops appearing without you unpublishing it; an In place overlay goes from the page when the time comes, even while a visitor is reading. The webinar, limited-time offer and event countdown bar starters have one with no date yet: pick yours before you publish.

Sell with an overlay

Two blocks in Insert → Store are made for overlays:

  • Free delivery says the order total that ships free where the visitor is, from your delivery rates in Store → Settings → Checkout: "Free delivery on orders over £50.00" before they've added anything, "You're £15.00 away from free delivery" with a bar that fills as their cart grows, then "Your order ships free". Change each line in its settings, using {amount} and {left}, or empty one to say nothing at that stage. Where no rate ships free, it shows nothing.
  • Discount code shows a code from Store → Discounts with a Copy button and its terms, such as "15% off orders over £30.00".

Back in stock asks for an email on a sold-out product's page. Each address gets one email with a link to the product once it can be bought again, and isn't kept after that. A product shows how many people are waiting in its Inventory. It goes like the store's order emails, so it needs the server's email set up (see Email). Until then, addresses are saved and wait.

Forms in overlays

Select a Form block in the overlay to set up its form there:

  • Form lists your forms to search, each with whether it's live and how many questions it asks.
  • New form makes a draft form named after the overlay, with an email field, and chooses it.
  • Edit fields opens the form's canvas over the editor, as on its Build tab: add, change and reorder questions and the blocks between them, with its own undo. Changes save as you go. Choose Done and the overlay shows them; if something couldn't save, it says so and asks before closing without it.
  • On the canvas switches what the overlay shows: the form, or its Thank you, Error or Closed screen, so you can check each one in place. This changes only your view: visitors start on the form.

Every answer sent from an overlay is marked with it, in the form's inbox, the answer's details, the CSV export, and Slack, email and webhook notifications. Under After sending, choose what happens next: the thank-you inside, the thank-you and then close after a few seconds, or go to a page.

Open it from a button

Every overlay has a link like #overlay-newsletter-signup, shown at the top of the editor, with a button to copy it.

To open it from a button or any linked layer, select the layer, set Link to to Open an overlay and pick the overlay. It works on any page, in the header and in the footer, even on pages the overlay doesn't open on by itself. Inside an overlay, choose Close the overlay to make a button that closes it, like "No thanks".

There are three more ways to open it:

  • Its address: add ?overlay=newsletter-signup to any page's address, for example in an email or an ad: /pricing?overlay=newsletter-signup.
  • A click on a layer: under Opens when, turn on A click on a layer and type an anchor id, then give any section, stack or button that anchor id in its Style panel. A section or stack becomes a button keyboards can reach too, opened with Enter or Space. Links and buttons inside it still do their own thing, so keep the section's own text as the invitation.
  • From code: your own scripts can call window.site.overlays.open("newsletter-signup"), or send a site:open-overlay event with { detail: { name: "newsletter-signup" } }.

These always open it, whoever the visitor is and however often they've seen it, unless you've paused it and chosen Nothing opens it. When it closes, the keyboard goes back to what opened it. Opened from its address, that's the first link to it that visitors can see on the page; from code, whatever had the keyboard before.

Make it open by itself

Under Opens when, turn on any of these. Any one of them opens it:

  • As the page opens.
  • Heading to leave: on a computer, when the pointer heads for the browser's tabs or address bar. On a phone or tablet, a quick scroll back up after reading a third of the page, or coming back to the tab after more than ten seconds away (not after a quick look at another app, to copy a code say).
  • After a delay: after a number of seconds on the page (1 to 600).
  • After scrolling: once the visitor is a percentage of the way down the page.
  • A section comes into view: when a layer with the anchor id you type scrolls into view. Give a section, stack or button that anchor id in its Style panel.
  • When they stop: after a number of seconds without scrolling, typing, moving the pointer or touching the screen.
  • After a few pages: on the visit's second page or later (you choose which).
  • After time on the site: once they've spent a number of seconds on your site in this visit, across pages.
  • After a form is sent: once they send a form you pick, on the page or in another overlay.

If your cookie banner is asking a visitor, an overlay waits until they've answered, so the two never stack.

Who sees it

Who sees it decides who an overlay opens for by itself. With no conditions, it's everyone, on every page. Add conditions to narrow it down:

  • Page: the page address (is, in a folder, starts with or contains) and the page's language.
  • Device: computer, tablet or phone.
  • Where they're from: country, how they came (search, social, email, another site or direct), the site that sent them, a UTM tag or a query parameter in the address. The site that sent them matches when its address contains what you type, so google matches google.com and google.co.uk.
  • The visitor: new or returning, which visit this is, pages seen this visit and time on the site. A visit is every tab of their browser together, and ends after 30 minutes without a page view.
  • Their account: signed in, their plan, and whether they're on a trial.
  • Their shopping: how many items are in their cart, whether they've ordered from your store, whether the product on the page is sold out, and whether free delivery reaches them (a delivery rate in their country ships free over an amount).
  • What they've done: sent a form, seen, closed or acted on another overlay, or which version of an A/B test they're in.
  • When: between two dates, on days of the week, or between hours of the day, by your site's time zone (set it in Site settings → General), wherever the visitor is.
  • Other: a share of visitors (the same visitors each time), and whether they've accepted cookies.

Each condition reads as a sentence, and is not turns it round: "They're not on a phone". Show when chooses whether all of them have to be true, or any of them. Add a group puts a few conditions together with their own all or any, for rules like "on a computer, and from search or email". When the part is folded, it reads the whole rule as one sentence.

Most of this is worked out in the visitor's browser. Country, being signed in, plan, trial, having ordered and free delivery come from your server, which is asked only when a rule needs them, and only gets back yes or no answers: never who the visitor is. When a visitor's country isn't known, a country condition isn't true, turned round with is not or not.

Country needs your site to read a country header from your host or CDN: set it in Site settings → Countries. Until then no visitor's country is known, so a country condition never matches. The rule says so beside the condition, Would it show? says so in its answer, and publishing warns you.

Overlays made before these rules existed keep working as they did: their pages and countries show up here as conditions.

Would it show?

Under the rule, Would it show? tells you whether the overlay would open by itself for a visitor you describe: their page, device, where they came from, which visit it is and the rest. Choose fill in this browser to start from your own. It answers yes, no or not known yet, with a reason for each condition. How often and quiet time depend on each visitor's history, so it leaves them out; Preview on page counts them for your browser.

How often

Under How often, choose:

  • Opens itself: Every time, Once per visit, Once every few days (you choose the days) or Once ever.
  • Wait after a close: a number of days to leave them alone after they close it.
  • Stop after closes: stop for good once they've closed it a number of times.
  • Stops for good: once they send its form (the default), once they act on it (send its form or follow a link in it), or never.

Closing it after sending its form counts as sending it, never as a close.

This is counted in each visitor's own browser, without cookies, and nothing is sent anywhere. It only stops the overlay repeating itself, so it doesn't need cookie consent. Visitors who clear their browser's data, or use another browser, count as new.

Your overlays at a glance

Admin → Overlays shows each overlay as a card: a picture of it, whether it's Live, a Draft, Scheduled or Paused, what it looks like, what opens it and who sees it in plain words, and its shows and how many visitors acted on it in the last 7 days.

Above the cards, filter by status, by Kind and by Goal (growing your list, announcing, converting or asking), search by name, and sort by priority, last edited, most shown, best rate or name. The filters stay in the address, so a view can be bookmarked or shared.

Each card has Results, a Pause or Resume button, and a menu with the rest.

Pause, duplicate and rename

  • Pause stops a live overlay opening by itself straight away, without publishing: no delays, scrolls or exit intent, and no teaser. Choose whether Links still open it or Nothing opens it. It stays published, and Resume brings it back as it was. Visitors' pages catch up within a minute.
  • Duplicate makes a draft copy, "(copy)" on the end of its name, with its own link.
  • Change link name changes its #overlay- link. It lists the pages that link to it first, and changes the link in their drafts for you, as an edit you can see before publishing. Pages that are already live keep the old link until you publish them, and it tells you which. A page test's versions and the content shown to an audience have no publish step, so their links change at once, and it lists those too.
  • Test it turns it into an A/B test: see Measure and test below.

Pausing, resuming, duplicating, renaming and making a test are all in the audit log. People with view-only access see the cards and results, and can open the editor to look, but can't change anything.

Priority and quiet time

In Admin → Overlays, overlays are listed highest priority first. Drag one by its handle to move it, or focus the handle and press Alt with the up or down arrow. When several overlays would open by themselves at the same moment, the highest one opens first, and the next waits until it closes. A banner has its own place along the top or bottom, so it doesn't wait for a modal, slide-in or corner, nor they for it; only one banner shows at a time.

Quiet time, above the list, stops visitors being shown one overlay after another:

  • Off: each overlay follows its own rules.
  • One per visit: only one overlay opens by itself in a visit, across all their tabs.
  • One every few minutes: you choose the minutes.

Only overlays that open by themselves count, and banners don't: a banner neither waits for quiet time nor starts it, so a visitor who reads on past your banner still sees the slide-in you set up. Links, addresses and code always open theirs.

Closing

Under Design, choose how visitors close it: the Close button (an icon, or an icon and "Close", inside the box or just outside it), the Escape key and Click outside (for modals and slide-ins). Everyone has to be able to close it, so keep the close button, or for a modal or slide-in turn on both Escape (for keyboards) and Click outside (for mice and touch). Banners, corners and full screen keep their close button.

Preview and publish

Preview on page opens the draft over a page of your site, for you only, with a bar to open it each way visitors would: as they head to leave, after the wait, at the scroll point, when its section comes into view, after its form, or from its link. The bar also says whether it would open by itself for you on that page, and why, counting how often and quiet time for your browser. A form in a preview doesn't send anything.

Publish checks the overlay first, and tells you when:

  • nothing can open it yet: it has nothing under Opens when and no published page links to it;
  • a page or folder it's chosen for has gone;
  • a banner takes up more than a third of a phone's screen (checked at a phone's size, whatever the editor shows);
  • its form is a draft, closed or deleted;
  • its words still have something in braces to fill in, like {code};
  • a button in it has no link yet, or a countdown in it has no date.

Fix takes you to the setting to change. A draft form can publish with the overlay: leave Publish the form too ticked and choose Publish both, and the two go live together, or neither does. These are warnings, so you can publish anyway. Pages with a Form block get the same check for a draft or deleted form. Schedule runs the checks too; a scheduled publish can't ask, so it won't go ahead while a form on it is a draft, and the checks offer to publish the form now. Unpublishing takes the overlay off every page; buttons that link to it stay, so change them too.

For every visitor

  • Modals, slide-ins and full screen hold the page still behind them, keep the keyboard inside until they close, close with Escape when you allow it, and put the visitor back where they were.
  • Banners and corners leave the page scrolling and usable, and one that opens by itself doesn't take the keyboard away from what the visitor was doing.
  • Visitors who've asked their device for less motion see overlays appear without moving.
  • Overlays aren't part of your page's HTML (except In place ones, which are part of the page), so search engines see the page as you published it, and pages without overlays load nothing extra. The one exception is a top banner that Makes room and opens As the page opens with nothing else: a hidden copy keeps its room from the first paint, so the page never jumps. Visitors it won't show to (they've seen it as often as it shows, or sent its form) get no room, and if another banner opens first, the room goes until this one's turn. Opened any other way, the page moves down as it arrives.

Measure and test

Your analytics count each time an overlay shows (what opened it, on which page, the device and where the visit came from), closes (and how) and gets acted on (its form sent or a link in it followed). Like the rest of your analytics, only visitors who've accepted analytics are counted.

Results on a card opens the overlay's own page, over the last 7, 30 or 90 days:

  • its shows, conversions, conversion rate and closes, with a chart of each day. Shows are labelled Shows (visitors who allowed analytics), and the i beside them says why: a visitor who said no to analytics, or hasn't said yes where your cookie banner asks first, isn't counted. Form answers aren't analytics, so every one is there;
  • shows, conversions and rate by what opened it, by page, by device and by where visitors came from;
  • how visitors closed it: the close button, Escape, a click outside, or a link inside it;
  • a link to its form's answers, in the form's inbox, showing only those sent from this overlay;
  • the score its questions add up to, from the answers sent from this overlay: an NPS with its promoters, passives and detractors and a line by week, a CSAT, a product–market fit score against the 40% line, the share of thumbs up by page, or each choice's share, with what people wrote when asked why;
  • Export CSV to download the same numbers.

The numbers match Admin → Analytics for the same window. Shows from before this page existed have no device or source, and appear as "Not recorded".

To test two versions of an overlay, choose Test it… from its menu. Its layers become an A/B test with two versions, the one you have and a copy to change, and the goal Acted on this overlay. Change the copy, publish the overlay and start the test. You can also choose Saw an overlay or Acted on an overlay as the goal of any A/B test and pick the overlay. To test whether an overlay helps at all, test the section with the button that opens it.

Good to know

  • One overlay shows at a time. A link in an overlay that opens another replaces it.
  • A link from another page, like /pricing#overlay-newsletter or /pricing?overlay=newsletter, opens the overlay on that page, whether or not the page has it.
  • Overlays translate like pages: open one in the editor and add a language from the language menu at the top. A translation changes the words and pictures (the teaser's too), never when it opens or who sees it. Visitors on a French page get the French overlay, or the original where there's no French one yet.
  • A page shows up to 10 overlays.

Agents

An agent connected to your site can work on your overlays with you, as an admin. It never publishes an overlay, and never pauses or resumes one: that changes the live site at once, so it stays with a person in Admin → Overlays. It can:

  • list your overlays in priority order, highest first (list_overlays): each one's link, status (Live, Draft, Scheduled or Paused), goal, a plain summary of how it looks and what opens it, its shows, conversions and rate over the last 7 days, and its settings;
  • start a draft overlay from a gallery starter, or a blank of any kind, with the starter's layers, look and settings (create_overlay). It takes the starter's name unless the agent gives it one. For a starter with a form, it shows a form the agent names, or a draft form made for it. The draft opens nothing on your site until you check it and publish it in the editor, so fill in any words still in braces first;
  • change a draft's settings (update_overlay_settings): its kind, place and size, what opens it, who sees it, how often, how it closes, its teaser and the rest, checked as the editor checks them. Only the draft changes, so visitors see the change once you publish. When the agent sends the version of the draft it read, and the draft has changed since, the change is refused.

An overlay is a page, so the agent reads its words, suggests changes to them and translates them with the tools for pages (get_page_text, propose_page_edit and save_page_translation). create_overlay and update_overlay_settings change things, so they're off until an admin turns them on in Admin → Agents.

Something unclear or missing? Ask us and we'll answer, then fix the page.

Was this page helpful?

Built with Overlays