The Exit Intent popup reacts when a visitor tries to leave your webshop. It pops up and displays interesting products, possibly converting a leaving visitor to a buying customer.

Setup

Follow these 5 steps:

  1. Make a new of Website Content in my.clerk.io
  2. Choose the right logic for it - We suggest "Visitor Recommendations".
  3. From Insert Into Website, copy the provided embedcode and go to your Shopify backend.
  4. Go to Online Store -> Themes -> Actions -> Edit Code and insert the code in the file that generates all pages. This is normally theme.liquid.
  5. Add:  data-exit-intent="true" to the embed code you just placed.

Example

<span class="clerk"   
  data-template="@exit-intent"
  data-exit-intent="true">
</span>

Inserted in theme.liquid

Now you will see the exit intent pop-up when anyone tries to leave the page. 

Remember to style your content in Designs at my.clerk.io

All recommendations containing the data-exit-intent="true" will trigger the exit intent pop up.

Did this answer your question?