Targeting Your Popup/Sticky Bar

Follow

A browser window displaying a popup overlay with text fields and a close button.Browser window showing a sticky bar with a search field and blue button fixed at the top of the page.

So you've created your first popup and/or sticky bar, and you're ready to customize it with some snazzy targeting and scheduling!

This article will explain how to:

Note:

Please ensure only one embed code is installed per page. Different embed codes from different Unbounce Clients can impact the functionality of your popup or sticky bar loading, even if you've set the target to be on different pages.

Setting URL Targeting

Once you've created your popup/sticky bar, navigate to the Overview page to set up URL targeting. In other words, where you'd like this popup/sticky bar to appear. 

  1. Enter the full domain where you'd like your popup/sticky bar to appear:
    Popup targeting settings panel with the Domain field highlighted, showing a placeholder URL entry.

Note:

The domain that you enter within the URL Targeting section must match your page's domain exactly. For example, if the popup/sticky bar is set to appear on a page titled www.mywebsite.com, then be sure to paste this in the field exactly, with the www subdomain and all. 

  1. Use the URL Paths properties to customize pages of your domain where you'd like the popup/sticky bar to show, or not to show:
    Targeting panel showing URL path rules with "Don't show" on "URLs that exactly match" dropdown open and "signup" entered.
  2. Republish to save the changes.

To adjust the Trigger & Frequency settings, follow the steps in our documentation: Updating the Trigger & Frequency Settings

Using UTM Parameters

Unbounce popups/sticky bars allow you to create targeted experiences for your visitors based on different behaviors. Using UTM parameters, you can target specific traffic sources (e.g., Facebook, Google Ads, email) or campaigns.

You can use the URL Paths properties to configure a popup/sticky bar to display based on UTM parameters.  

URL Targeting panel showing a URL Paths rule set to show on URLs that contain "utm_source=facebook"

  1. Enter the domain you’d like the popup/sticky bar to appear on.
  2. Select a custom targeting rule: either Show or Don't Show on these pages. 
  3. Select URLs that contain from the dropdown menu
  4. Input your UTM details (e.g., utm_source=facebook).
  5. Republish to activate.

You can currently target multiple UTM parameters. For example, if you had “utm_source=facebook” and “utm_medium=banner,” the popup/sticky bar would appear for anyone who arrived if either or both of those UTM parameters were present in the URL.

Further Reading:

How To Use UTM Parameters In Google Analytics (from Kissmetrics)

Setting the Location Targeting

This feature is available for all Optimize 2024, Accelerate 2020, and Concierge plans.

Location targeting allows you to show (or not show) your popup/sticky bar to users visiting from a specific city, region, and/or country based on their IP address. Note that some regions are not supported by our data provider (Google Places API).

Pro-tip:

Targeting by country will get you the most accurate results.

  1. Scroll to the Advanced Targeting section. 
    Popup settings panel showing Advanced Targeting section with Location, Cookie, and Referrer toggles set to off.
  2. Click the "On/Off" switch to enable Location targeting. When this feature is turned off, the popup/sticky bar will be viewable from any location.
    Popup settings panel showing the Location toggle under Advanced Targeting being switched on.
  3. Select one or more cities, regions, and/or countries (there is no limit) to customize your location targeting based on where users are visiting from.Advanced Targeting panel with Location toggle on and location search field highlighted in red
  4. When you're finished, click the "Publish" button at the top right of your screen.
    Sticky bar campaign settings screen with the Publish button highlighted in the top right corner.

    Don't worry! Even when published, your popup/sticky bar won’t be live until you Install your Popup/Sticky Bar.

Setting the Cookie Targeting

This feature is available for all Optimize 2024, Accelerate 2020, and Concierge plans. 

Cookie targeting allows you to show (or not show) your popup/sticky bar to users based on the presence of a specific cookie they may have picked up that has been stored in their browser.

Note

Server cookies are not available to our popup embed script. The cookie needs to be set as a client cookie.

  1. Scroll to the Advanced Targeting section.
    Popup settings panel showing Advanced Targeting section with Location, Cookie, and Referrer toggles set to off.
  2. Click the "On/Off" switch to enable Cookie targeting.
    Popup targeting settings panel with Cookie toggle highlighted under Advanced Targeting section.
  3. Use "Show" and/or "Don't Show" drop-down menus to customize your Cookie targeting based on the presence of a specific cookie. You can add just one rule to this feature.
    Popup settings panel showing Cookie toggle enabled with "Show when cookie name is" targeting field highlighted.
  4. Click the "Publish" button at the top of your screen.Sticky bar campaign settings screen with the Publish button highlighted in the top right corner.

    Don't worry! Even when published, your popup/sticky won’t be live until you Install your Popup/Sticky Bar.

Setting the Referrer Targeting

This feature is available for all Optimize 2024, Accelerate 2020, and Concierge plans.

Referrer targeting allows you to show (or not show) your popup/sticky bar to users arriving at your website via a direct path from a specific URL.

  1. Scroll to the Advanced Targeting section.
    Campaign settings panel showing Advanced Targeting section with Location, Cookie, and Referrer toggles set to off.
  2. Click the "On/Off" switch to enable Referrer targeting.
    Popup settings panel with the Referrer toggle switch highlighted in the Advanced Targeting section.
  3. Use "Show" and/or "Don't Show" drop-down menus to customize your popup/sticky bar targeting based on the specific URL users are arriving to your website from. You can add an unlimited number of rules in this feature. Any "don't show" rules are applied after "show" rules.
    Referrer targeting settings panel showing the URL matching dropdown menu with four options expanded.
  4. Click the "Publish" button at the top of your screen.Sticky bar campaign settings screen with the Publish button highlighted in the top right corner.

    Don't worry! Even when published, your popup/sticky won’t be live until you Install your Popup/Sticky Bar.

Setting the Scheduling

This feature is available for all Optimize 2024, Accelerate 2020, and Concierge plans.

The Scheduling feature allows you to add a start date (and optionally, an end date) to your popup/sticky bar, so you can 'set it and forget it' whenever you have a seasonal promotion or a limited-time offer going on!

Here's how to enable Scheduling:

  1. Scroll to the Advanced Targeting section. 
    Popup settings panel showing Trigger options, Frequency dropdown, and Advanced Targeting section with Location, Cookie, and Referrer toggles.
  2. Click the "On/Off" switch to enable Scheduling.
    Advanced Targeting panel with Scheduling toggle switched on, revealing Start showing and Stop showing date fields.
  3. Click the "Start showing" text field (and optionally, the "Stop showing" text field) to enter your start/end date(s)/time(s) for your popup/sticky bar by either typing them or selecting them on the calendar menu.Your start and end times will automatically be set to the time zone that matches your computer's system time.Advanced Targeting panel with Scheduling toggled on and a start date of 12/06/2017 7:00 PM entered.
  4. Click the "Publish" button at the top of your screen, and you're done!Sticky bar campaign settings screen with the Publish button highlighted in the top right corner.

    Don't worry!Even when published, your popup/sticky won’t be live until you Install your Popup/Sticky Bar.

Next Up: Check out Installing Your Popup/Sticky Bar!