Is it possible to create an Exit Pop Up timed redirect Page?

2 replies
Hello,

I was wondering if anyone knows the script for an Exit Pop up which would only pop up for visitors who leave the website within ten seconds?

For the visitors who stay longer than 10 seconds that would not get a popup. It just for the fast visitors in my case.
#create #exit #page #pop #redirect #timed
  • Profile picture of the author WebTekMedia
    Yeah it's possible. It's a lot of work. Involves adding a JS layer to all your links.
    {{ DiscussionBoard.errors[8525094].message }}
    • Profile picture of the author Brandon Tanner
      On page load, you could store the current timestamp (getTime) in a global JS variable. Then you would insert a conditional statement very first thing inside your popup function that checks the global variable to see if 10 seconds has passed -- if so, it immediately exits the popup function -- if not, it lets the popup function run.

      I don't know of any exit popup that has this functionality built in, but it would be pretty simple to tweak an existing popup script to do this.
      Signature

      {{ DiscussionBoard.errors[8526183].message }}

Trending Topics