This article describes how to install an Unbounce popup or sticky bar onto your Shopify page, in your Shopify account.
Do note that you can only add one embed code (from each Client) to a page at a time. If you include more than one embed code, only the first one to load will fire.
Copying your Popup/Sticky Bar Embed Code from Unbounce
- In the Unbounce Conversion Intelligence™ Platform, navigate to the Overview of the popup or sticky bar that you’d like to install into Shopify.
- Publish your popup or sticky bar.
- Scroll down the page to the Installation panel. Click the Copy button to copy the embed code:
Installing your Popup/Sticky Bar in Shopify
Next, log in to your Shopify account.
- From the Dashboard, select Online Store from the menu on the left-hand side of the screen. A new page will appear.
- Select Themes from the Online Store menu on the left-hand side of the screen.
- Click the Actions button on the right-hand side of the screen. A new drop-down menu will appear.
- Select Edit Code from the drop-down menu. A new screen will appear:
- From the Layout menu on the left-hand side, select theme.liquid. Your code will appear on the right-hand side of the screen:
- Paste your line of Popup or Sticky Bar script into your post, anywhere either between the <head> and </head> tags or between the <body> and </body> tags.
Here's an example with the popup/sticky bar embed code placed after the opening <head> tag:
- Click the Save button at the top right-hand corner of the screen to publish your changes.
Your popup/sticky bar should now be installed on your Shopify page!
To test your popup or sticky bar, click the Online Store button on the left side menu to view your store.