Popups are modals/lightboxes that appear over a page's content. They're available for both desktop and mobile landing pages. Need some inspiration before you get started? Mosey on over to the One-Stop Popup Shop to check out use cases, success stories, and tips and tricks for creating the ultimate popup and sticky bar strategy.
This article will help you out with:
- Building your Popup.
- Setting up your URL Targeting.
- Setting up your Trigger and Frequency.
- Adding a Close-on-Click Button.
- Enabling the Form Confirmation Dialog Auto-Close Option.
What you will need:
- A paid plan.
- An Unbounce-compatible browser to create your popup by hopping over to Supported Browsers for Building/Viewing Your Content.
Ready to create your first popup? Let's go!
If video tutorials are more your jam, check out our Launch a Popup guide to get started!
Building your Popup
- Click "Create New" from the All Pages screen.
- Select "Popups" under "Pick a content type".
- Select a template from our assortment of popup templates (or click "Start from Scratch" if you prefer).
- Name your page to suit your campaign and click "Start with this Template".
- Design your Popup however you'd like, using the "Desktop" and "Mobile" toggle buttons to switch between Desktop and Mobile versions of your popup. If you're new to the Unbounce Builder, check out "Working with the Unbounce Builder" for some pointers!
- When you're done, click the "Save" button at the top right corner. Click "Publish" from the "Popups & Sticky Bars Overview" page to publish your changes.
- Click "Copy" to grab your embed code.
- Before you publish your Popup or Sticky Bar, you’ll want to install this embed code to your page. Follow these steps for instructions on installing your embed code in GTM (Google Tag Manager), Magento, Shopify, Unbounce, or WordPress. Follow these steps for instructions on installing your embed code anywhere else.
Setting URL Targeting
- In the URL Targeting section, enter the domain where you'd like your popup to appear (aka: your web page's address). Don't worry about including "http"/"https".
- Select the page(s) of your domain where you'd like your popup to be shown.
- You can also select the page(s) of your domain on which you would like your popup not to show.
- Click the "Publish" button at the top of your screen.
Even when published, your popup won’t be live until you install your Popup or Sticky Bar.
Setting the Trigger and Frequency
You can set the Trigger and Frequency to appear:
- On arrival
- On delay
- On click
- On exit
- On scroll
- In the Trigger section, choose when your popup will be triggered:
- In the Frequency section, choose how often your popup will be shown to visitors:
- Click the "Publish" button at the top of your screen when you're finished.
Trigger on Exit: ("When a visitor tries to exit the page") allows your popup to be triggered by cursor movements that signal a page exit (e.g., mouse movement out of the browser window).
Trigger-on-exit popups will launch 1.5 seconds after a cursor moves to the left, right, or bottom borders of the screen, and they will launch immediately when a cursor moves up into the first 20 pixels at the top of a user's browser.
The trigger will be cancelled by scrolling or the cursor re-entering the middle of the screen.
Trigger on Exit is only available on desktop and will not work on touch-screen devices. All other triggers are available on both desktop and mobile.
Trigger on Scroll Up: ("When a visitor scrolls up the page") allows your Popup or Sticky Bar to be triggered the first time a user scrolls up your page.
Trigger on Click: ("When a visitor clicks an element with [ ] of [ ]") allows your popup to be triggered with a clickable element on your website, such as a button, a text link, or a photo.
To enable this feature, find the Selector, ID, or Class that is already being used for the element to which you would like to attach your popup. Keep in mind that if multiple elements are using the same Selector/ID/Class they will all trigger the popup when clicked.
If your trigger element has a default click action (for example, a link to another page), this will still fire in addition to your popup being triggered.
Don't worry! Even when published, your popup won’t be live until you install your Popup or Sticky Bar.
Adding a Close-on-Click Button
Provide a more delightful experience to your visitors with a second “Close” button on your popup, in addition to the built-in “X” button.
- Select your button in the Builder.
- In the Properties pane on the right, click the "Action" drop-down menu and select "Close on click".
- Click "Save" at the top right corner when you're done.
- Click "Publish" from the "Popups & Sticky Bars Overview" page to publish your changes.
Your visitors now have two easy options for closing your Popup or Sticky Bar!
Enabling the Form Confirmation Dialog Auto-Close Option
What’s even cooler than Inspector Gadget’s secret messages that would self-destruct after being read?
A form confirmation dialog that auto-closes after a visitor converts!
- In the Form Confirmation Dialog tab for your form, click the "Close dialog after ____ seconds" box under the "Behavior" section.
- Enter the number of seconds you wish your form confirmation dialog to wait after being triggered before automatically closing, and click Save to lock in your changes.
- You're done! Your form confirmation dialog will now automatically close after your visitor converts, without them needing to manually dismiss the message.
Check out these best practice/feature guides for some tips and tricks on getting the best conversion rate possible for your popups:
Next Up: Check out Targeting Your Popups/Sticky Bars!
- Auto-play for video backgrounds and embedded videos are currently not firing correctly for "Timed" and "On Exit" triggers.