An Implementation for Exit Intent Technology
This is not the only post you will find on the internet about it, I create a personal post here more as a personal reference.
Intro:
Exit Intent Technology now is growing in the whole internet world. It’s a must-have feature in your site.
Basically, you could use Javascript and the web browser to track the movements of a user so a special offer or opt-in form can be displayed when they show signs of leaving your website.
Isn’t that complicated for the technology itself, but it’s more about how you use it.
Today, I’m going to show you two things: 1st The value of this technology will bring to your site. 2nd The implementation of it.
Design:
The general theory behind exit popups is fairly simple. Let’s imagine that a user has been browsing through your awesome site, then decides to leave without doing any of the things you want them to do (buying, registering etc). In that moment of indecision we can briefly interrupt them with a message, steering them towards a singular call to action.
This art of mis-direction is incredibly successful. Why? Well, often users get overwhelmed. And when you present them with a single option it makes their decision easier.
The call to action is the important part, the more targeted you can be the better. But, lets first consider the reasons why users might leave your site in the first place:
Now that we have an idea on why users might be leaving our site, we can use our optins to try and re-engage the customer.
Let’s look at some wildly different examples below, each of which are used for a different purpose.
Implementation:
Basically we need to meet these requirements in our team: Event triggers if user is closing the window, opening a new tab, toggling to a different tab, moving for the bookmarks bar or the search bar. Event does not trigger if user is using any site navigation elements or clicking anywhere else on the page.
Since our project is using nodejs. So I’m gonna post some idea here in javascript:
Here is a version using jQuery and ouibounce lib:
What’s More:
It’s your turn now, you can play with it, go create some popups like newsletter signup, member only promotion…etc. Let the user remember it first.
Don’t forget AB-test.
And check how it grows your revenue by anywhere up to x %
;P
Ref: More exit intent explaination and inspired here: https://blog.gleam.io