Exit Intent Listening

Exit Intent Listening allows you to determine whether the visitor is about to shift his attention from the page to something else. This is done by tracking the mouse pointer of the visitor. By tracking the speed of the mouse pointer and the room left to the top of the page, the plugin determines whether or not the visitor is moving for the navigation bar of the browser. This bar is typically used to switch to another web page, either by going backward, entering a different URL or clicking a tab or a bookmark; in other words: there is a fair chance that the visitor has the intention to leave the current page.

The Exit Intent listener detects this and responds by throwing an "exitintent" event intended to be picked up by a dialogue. This way, the dialogue attracts the attention of the visitor just before he leaves the page.

Using the listener

To use the listener, two things have to be done:

  1. The Exit Intent Listener itself needs to be configured.
  2. A dialogue has to be created to handle "exitintent" events thrown by the listener.

Configure the listener

The Exit Intent listener takes two parameters:

Velocity threshold
Sets the minimum speed that the mouse pointer must be moving to be considered. The value "20" is a moderate speed.
Space from top
Set the height of the area at the top of the page where the mouse pointer will be observed. Choose a height that is considerable larger than the velocity threshold, or the mouse pointer could overshoot the area without being noticed, e.g. "80".

 

Configure the dialogue

The Exit Intent Listener will throw an event named "exitintent". All that remains is to create a new dialogue that reveals itself when the event is thrown:

  • Open "Dialogues".
  • Click [Add Dialogue].
  • On the "Who" tab, select your audience.
  • On the "Where" tab, select the channels you want the dialogue to appear on.
  • On the "Interaction" tab edit your interaction as you would normally.
  • On the "When" tab, select "Show on Event" and "Exit Intent".
  • Enable the Dialogue and save it.

Using the exitintent event

The Exit Intent Listener throws an event whenever it detects that the visitor intends to leave the page. This event is named exitintent and can be picked up by other listeners to define behavior.

Behavior listener

For example, below is an example listener that picks up on the event and keeps track of the number of times the event fired:

  • Open "Profiles > Listeners"
  • Add a new Behavior Listener
  • Add a rule of type "Advanced Event"
  • Select the value and profile property as you would in any listener
  • Click "select event", select "Custom defined event", enter exitintent and click "OK".
  • Leave the selections "contains any word" and "any value" as they are.
  • Name your new listener and click "Save"

This behavior listener will now set the property as you defined every time a visitor tries to exit the page.

Custom Javascript

Alternatively, you can subscribe to the eventin your custom javascript code using the Javascript Front-end API's event.subscribe(), like so:

blueConicClient.event.subscribe('exitintent', this, function() {
  alert('exitintent event fired');
});

 

The Exit Intent Listener is a certified plugin.