You can make unlimited exit popups in wordpress Exit Popups post type editor.
In front end, you can just use shortcode [exitpopups id=”1″] to inser it to any posts.
When users exit the post, they will see the exit popup box.
https://github.com/thesinginglark/exit-popups