Knowledge base | Exit Monitor

Javascript API

Currently our javascript API is limited, but you can do some pretty powerful things with it. When a conversion occurs we trigger a javascript event and pass all of the conversion data along with it.

This can be tapped into using the following code.

$(document).on("em:converted", function(event, data) {
     console.log(data);
});

Note: A paid plan is required to access the Javascript API