In order to run campaigns on your website, you need to add the Exit Bee tracking code. You only need to do this once for each of your websites.
Where is my tracking code?
1. At the Website Settings page
Open the side navigation, click on "Website Settings" and just copy the code.
2. By clicking on an active campaign
If you have already created a campaign, the campaigns page looks like this:
Click on the campaign name and you'll get the code that you need to add on your website.
How to add the tracking code?
In Prestashop, there are two ways of installing the Exit Bee tracking code.
1) Use a Module to Insert the Code
Simply install the module and add the tracking code (in source code mode). Hook the module to the block you prefer. If you want to record the entire page, you should insert the tracking code in a block that is shown on every page, such as 'displayFooter'.
2) Insert the Tracking Code in a Template
var xtb = document.createElement("script");
xtb.async = true;
xtb.src = document.location.protocol + "//app.exitbee.com/c/YOUR-CUSTOM-ID/exitbee.js";
To track all of the pages on your website, you should add the tracking code to a template file that is called on every page such as "footer.tpl"
Need help adding the code?
No worries, we're here to help. Email us at firstname.lastname@example.org and one of our engineers will guide you through. It will only take a couple of minutes.