Setting up Exit Intent Recommendations on Shopify
Platforms:
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:
Make a new of Website Content in my.clerk.io
Choose the right logic for it - We suggest “Visitor Recommendations”.
From Insert Into Website, copy the provided embedcode and go to your Shopify backend.
Go to Online Store -> Themes -> Actions -> Edit Code and insert the code in the file that generates all pages. This is normally theme.liquid.
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.