Working With Sticky Bars

Sticky_Bars.png

Sticky bars are banners that appear above or below a page's content (and are part of the Unbounce Convertables family). They're available for both desktop and mobile landing pages.

This article will help you out with:

Ready to create, customize, and install your first sticky bar? Let's go! 


Building your Sticky Bar

Step 1: Creating a New Sticky Bar

This feature is available for all paid plans.

Before you begin, you can ensure you're using an Unbounce-compatible browser to create your sticky bar by hopping over to Supported Browsers for Building/Viewing Your Content.

  1. Click "Convertables" from the All Pages screen.
    Select_Convertables.png
  2. Click "Create New Convertable".
    Click_Create_New_Convertable.png
  3. Click "Create a Sticky Bar".
    Click_Create_a_Sticky_Bar.png
  4. Choose a Template (or start with a blank sticky bar if you prefer), name your sticky bar, and select "Start with this Template".
    Choose_a_Template__Name_Your_Sticky_Bar_and_Click_Start.png
  5. Click "Top" or "Bottom" to set your sticky bar to stick to the top or bottom of your web page.
    Click_Top_or_Bottom.png
  6. Design your sticky bar however you'd like, using the "Desktop" and "Mobile" toggle buttons to switch between Desktop and Mobile versions of your sticky bar. If you're new to the Unbounce Builder, check out "Working with the Unbounce Builder" for some pointers!

    You can copy and paste elements directly from your Unbounce landing pages to your sticky bars.

    Switch_between_Desktop_and_Mobile.png
  7. When you're done, click "Save".
    Click_Save__Sticky_Bar_.png
  8. Click "Publish" from the "Convertables Overview" page to publish your changes. 
    Click_Publish__Overlay_.png
  9. Click "Copy" to grab your embed code.
    Click_Publish_Now.png
  10. Before you publish your Convertable, 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.

Step 2: Setting URL Targeting

  1. Enter the domain where you'd like your sticky bar to appear (aka: your web page's address). Don't worry about including "http"/"https".
    Enter_Your_Domain.png
  2. Select the page(s) of your domain where you'd like your sticky bar to be shown.
    Select_Your_Include_Pages.png
  3. You can also select the page(s) of your domain on which you would like your sticky bar not to show.
    Select_Your_Exclude_Pages.png
  4. Click the "Publish" button at the top of your screen.
    Click_Publish.png

    Don't worry! Even when published, your sticky bar won’t be live until you install your Convertable.

Step 3: Setting the Trigger and Frequency

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.

  1. In the Trigger section, choose when your sticky bar will be triggered:
    Scroll_to_Trigger_Section__Sticky_Bar_.png

    Trigger on Exit: ("When a visitor tries to exit the page") allows your sticky bar to be triggered by cursor movements that signal a page exit (e.g., mouse movement out of the browser window). 

     

    Trigger-on-exit sticky bars 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 Scroll Up: ("When a visitor scrolls up the page") allows your Convertable to be triggered the first time a user scrolls up your page.

    Trigger on Click: ("When a visitor clicks an element with [] matching []") allows your overlay 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 overlay. Keep in mind that if multiple elements are using the same Selector/ID/Class they will all trigger the overlay 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 overlay being triggered.

  2. In the Frequency section, choose how often your sticky bar will be shown to visitors:
    Scroll_to_Frequency_Section__Sticky_Bar_.png
  3. Click the "Publish" button at the top of your screen.
    Click_Publish.png

    Don't worry! Even when published, your sticky bar won’t be live until you install your Convertable.


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!

  1. In the Form Confirmation Dialog tab for your form, click the "Close dialog after ____ seconds" box under the "Behavior" section.
    Check_the_Close_Dialog_After_x_Seconds_Box.png
  2. 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.
    Enter_Number_of_Seconds.png
  3. You're done! Your form confirmation dialog will now automatically close after your visitor converts, without them needing to manually dismiss the message.

Setting the Location Targeting

This feature is available for all Premium and up plans.

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

  1. Scroll to the Advanced Targeting section.
  2. Click the "On/Off" switch to enable Location targeting. When this feature is turned off, the sticky bar will be viewable from any location.
  3. Select one or more region, country, and/or continent (there is no limit) to customize your location targeting based on where users are visiting from.
    Select_Region__Country__and_or_Continent.png
  4. Click the "Publish" button at the top of your screen.
    Click_Publish.png

    Don't worry! Even when published, your sticky bar won’t be live until you install your Convertable.


Setting the Cookie Targeting

This feature is available for all Premium and up plans. 

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

  1. Scroll to the Advanced Targeting section.
  2. Click the "On/Off" switch to enable Cookie targeting.
  3. Use "Show" and/or "Don't Show" drop-down menus to customize your Cookie targeting based on whether a specific cookie has been picked up by the visitor. You can add just one rule to this feature.
  4. Click the "Publish" button at the top of your screen.
    Click_Publish.png

    Don't worry! Even when published, your sticky bar won’t be live until you install your Convertable.


Setting the Referrer Targeting

This feature is available for all Premium and up plans.

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

  1. Scroll to the Advanced Targeting section.
  2. Click the "On/Off" switch to enable Referrer targeting.
  3. Use "Show" and/or "Don't Show" drop-down menus to customize your sticky bar targeting based on the specific URL from which users are arriving to your website. You can add an unlimited number of rules in this feature. Any "don't show" rules are applied after "show" rules.
  4. Click the "Publish" button at the top of your screen.
    Click_Publish.png

    Don't worry! Even when published, your sticky bar won’t be live until you install your Convertable.


Installing your Sticky Bar in GTM, Magento, Shopify, Unbounce, or WordPress


Installing your Sticky Bar Anywhere Else

  • To install your embed code on a platform not listed above or on a static website, follow these instructions:
    1. Scroll down to the "Installation" section from the Convertable Overview page, click the "Copy" button to copy your embed code, and paste this copied line of Javascript at your platform/website (ensuring to include the Javascript within the <head> section).

Glossary Terms

Convertables: Conversion tools that allow you to show relevant, value-driven offers to targeted web page visitors. We currently offer two types: Overlays and sticky bars.

Frequency: How often your Convertable will appear

Trigger: When your Convertable will appear


Known Issues

  1. A/B Testing is not yet available for Convertables.
  2. The Location Targeting feature does not currently support city-specific targeting.
  3. Video backgrounds and embedded videos for "on exit" and "timed" Convertables are not firing correctly in Safari.
  4. Auto-play for video backgrounds and embedded videos for "on exit" and "timed" Convertables are not firing correctly. 

About_The_Author.png

Was this article helpful?
4 out of 5 found this helpful
Powered by Zendesk