- Clerk.io Help Center
- Using Clerk.io on Magento 2
- Getting Started
-
Working with Clerk.io
-
Using Clerk.io on Other / Custom Platforms
-
Using Clerk.io on Shopify
-
Using Clerk.io on Magento 1
-
Using Clerk.io on Magento 2
-
Using Clerk.io on WooCommerce
-
Using Clerk.io on Prestashop
-
Using Clerk.io on BigCommerce
-
Using Clerk.io on Shoporama
-
Using Clerk.io on Shopware 6
-
Using Clerk.io on DanDomain
-
Using Clerk.io on Lightspeed
-
Using Clerk.io on SmartWeb / HostedShop
-
Using Clerk.io on DynamicWeb
-
Using Clerk.io with Any Email Client
-
Using Clerk.io with Copernica
-
Using Clerk.io with Autopilot
-
Using Clerk.io with Active Campaign
-
Using Clerk.io with Marketing Platform
-
Using Clerk.io with MailChimp
-
Using Clerk.io with MailUp
-
Using Clerk.io with Apsis
-
Using Clerk.io with UbiVox
-
Using Clerk.io with CleverReach
-
Using Clerk.io with Google Ads
-
Using Clerk.io with Act-On
-
Audience Integrations with Facebook
-
Using Clerk.io with DotDigital
-
Using Clerk.io with Klaviyo
Setting up Exit Intent Recommendations on Magento 2
Get customers back to your shop with Exit Intent
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 with Extension
Fromv2.2.3 , Exit-Intent can be activated directly from the plugin with these steps:
-
Make a new of Website Content in my.clerk.io and name it "Exit Intent"
-
Choose a logic for it - We suggest "Visitor Recommendations".
-
In the Magento2 backend, go to Stores->Configuration->Configuration in the side-menu and find Exit-Intent Settings.
-
Check the Enabled box, and make sure that the Content field contains "exit-intent".
-
Click Save Config to activate it.

Setup Manually
The setup is 4 steps:
-
Make a new of Website Content in my.clerk.io and name it "Exit Intent"
-
Choose a logic for it - We suggest "Visitor Recommendations".
-
From Insert Into Website, copy the provided embedcode to the top of this Magento2 file, in FTP:
vendor->clerk->magento2->view->frontend->templates->tracking.phtml -
Add: data-exit-intent="true" to the embed code you just placed. Like so:
Example embed code
<span class="clerk"
data-template="@exit-intent"
data-exit-intent="true">
</span>
Inserted in tracking.phtml

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.