If you like to track conversions from Smart Exit Ads, all you need to do is installing our pixel on the landing page of your ad.


Installation Process:

1. Add the following code at the header of your website:

<script>
(function(doc) {
var xtb = document.createElement("script");
xtb.type = "text/javascript";
xtb.async = true;
document.getElementsByTagName("head")[0].appendChild(xtb);
}())
var eb_loaded = function() {
_exitBee.init(SITE_ID);
}
</script>

2. Replace the SITE_ID with the site_id that is provided to you.


Tracking a conversion event:


To track a conversion event, all you have to do is fire the following line of code at the desired event

_exitBee.trackConversion();

That's it!
Now you should be able to see conversions at your campaign's analytics.


Tracking a Custom Event

You can now track custom events with:

_exitBee.trackCustom("event-name");

Event name rules (important)

Custom event names are only sent if they match this rule:

Allowed characters:
a-z
A-Z
0-9
- (hyphen)
underscores (_)
Not allowed:
spaces
dots (.)
slashes (/)
any other special characters
IMPORTANT: Custom Event names must be shared with Exit Bee so they can be mapped and
tracked correctly.


Examples:


_exitBee.trackCustom("event-name");

1. Add the following code at the header of your website:

// valid _exitBee.trackCustom("signup"); _exitBee.trackCustom("add-to-cart"); _exitBee.trackCustom("step-2"); _exitBee.trackCustom("add_to_cart"); // invalid (will NOT be sent) _exitBee.trackCustom("sign up"); _exitBee.trackCustom("checkout.step1");




Add Exit Bee to Client’s Consent Management Platform:

Exit Bee is an IAB TCF compliant member with ID 1027. Please ensure that Exit Bee is added as a
partner in Eonnext.com Consent Management Platform (CMP).