Migrate your existing Magento® store to Shopify Plus and receive up to 6 months free! Learn more +

How To Add An Exit Popup On Shopify Plus Checkout

Feb 9th, 2017

Ever wished you could add an exit popup modal on your checkout page?

It is time the team of Shopify Plus Experts at OnlyGrowth shows you step-by-step how to add an exit modal on your Shopify Plus checkout to increase conversions.

1. In your Shopify admin, go to Online Store -> Preferences.

2. Ensure Google Analytics is Enabled

3. The "Additional Google Analytics Javascript" input will appear. 

4. Paste the following code. The code is precisely targeted to include only Shopify checkout. Being that Privy is already loaded in the Thank You and Order Status pages, the code excludes those pages so it doesn't double load

if (Shopify && Shopify.Checkout && Shopify.Checkout.step && Shopify.Checkout.step != "thank_you") {
  window._d_site = 'ADD_MERCHANT_BUSINESS_IDENTIFIER_HERE'
  var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true;
  script.src = 'https://widget.privy.com/assets/widget.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
}

*Note: The Merchant Business Identifier can be found in your Privy account under Settings > Privy code.

This can become extremely powerful in boosting conversions especially when paired with Privy's "cart value targeting condition" which tracks a user with the value in cart across any page, not just checkout pages.

5. Providing you are on the commerce plan, which includes audience targeting, you can implement the remaining steps. If not, upgrade!

6. Create a new campaign

7. In the design step add audience targeting condition that says: current URL + contains: checkout (This will make sure the campaign will only load on that checkout page)

8. Set the triggers to all off except exit intent.

Looking for white-glove service? You can consider Exit Intel.

Come back next week when we share the results of our 30-day A/B Test showing how a Shopify Plus merchant increased conversions by 6.6% and revenue by 3.7% from implementing a popup on the Shopify Plus checkout page.

 

Want To Know The 15 Tools We Used To Generate Over $24 Million For Our Clients?

This past year, we have tested dozens of products to figure out which ones yield the best results.
Our toolbox contains some of the most impactful tools we found to grow a brand on Shopify.