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 customer or visitor's position on the page or site. By tracking the room left at 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. (You can build in a delay, measured in milliseconds, to avoid throwing the exit intent event during typical navigation around the screen.)

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. Configure the Exit Intent Listener itself.
  2. Create a dialogue to handle "exitintent" events thrown by the listener.

Configure the listener

Set up the Exit Intent listener by specifying where it should be active and the delay and position for the listener:

Where

Choose the channel(s) and URL(s) where the listener should be active.

Delay

Sets the number of milliseconds after which the event is triggered. If someone moves away briefly within the set time, the event won't be triggered. This prevents visitors from being targeted when they accidentally stray outside the window, while navigating to the top menu, for instance. The example below uses 20 milliseconds. 

Y coordinate

Set the height of the area at the top of the page where the mouse pointer will be observed. Choose the area in pixels as seen from the top of the page, in which the even should be triggered. The example below uses 80 pixels. 

ExitIntentListener.png

Create or configure the dialogue

The Exit Intent Listener will throw an event named "exitintent". All that remains is to create a new dialogue (for example, a Content dialogue or a lightbox) that reveals itself when the event is thrown:

  • Open "Dialogues".
  • Click [Add Dialogue].
  • On the "Who" tab, select your audience.
  • On the "When" tab, select "Show on Event" and "Exit Intent". 
  • On the "Where" tab, select the channels you want the dialogue to appear on.
  • On the "What" tab, edit the content of your dialogue.
  • On the "Why" tab, select click-through or view-through conversion options.
  • Enable the dialogue and save it.

exit-intent-dialogue.png

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 event in your custom JavaScript code using the JavaScript Front-end API's event.subscribe(), as shown here:

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

Privacy management

Listeners can be added to Objectives, allowing for privacy management of the information that is being picked up. The listener will only update a profile if the visitor consented to at least one of the objectives that it is linked to.

 

The Exit Intent Listener is a standard plugin.