by cabj21
10 replies
Hey guys, I been searching online and i have not find anything that would help me.

I have a website with piwik and noticed that some people will leave under 3 seconds. I am paying for adwords and it is really frustrating when someone clicks on the ad and leave within 3 seconds.

I would like to know if there is a popup out there that would only activate when the visitor leaves under 3 seconds. If the visitor stays for over 5 seconds the popup script would deactivate and allow the visitor to leave.

Thanks in advance for any advice
#exit #popup
  • Profile picture of the author tweakr
    You code add a timer into your script, but I'm not sure how you could easily get it to transfer page-to-page. So if your visitor were to visit a few pages it (the timer) may think that they haven't been there for that long.
    {{ DiscussionBoard.errors[9091496].message }}
    • Profile picture of the author lluporini
      Originally Posted by tweakr View Post

      You code add a timer into your script, but I'm not sure how you could easily get it to transfer page-to-page. So if your visitor were to visit a few pages it (the timer) may think that they haven't been there for that long.
      I agree with tweakr about the timer.

      You could use the js with the time only on your landing page to avoid the situation tweakr describes. Alternatively you could use a cookie to complement the timer tracking and distinguished between the first visited page and others. Other alternative would be to inspect the referer (adwords vs your site) to decide what the timer should do.

      As a final note, to me this kind of tactics, as a user, are irritating. Maybe you could focus on enhancing your landing page to increase that 3s. Or eventually, laser focus a little more your adwords ads for better targeting.

      Hope it helps.

      Best,
      Luis
      {{ DiscussionBoard.errors[9092059].message }}
  • Profile picture of the author bawany
    Hello, i don't know if there is any ready made script for this purpose or not, but if you want we can create one for you.

    more over, instead of not allowing them to leave you should look for the reason why do they leave within 3 seconds and come over the reasons.
    Signature
    World Web is switching to Smartphones, IS YOUR WEBSITE RESPONSIVE AND READY FOR IT?

    UPDATE YOUR WEBSITE, GET RESPONSIVE NOW!
    {{ DiscussionBoard.errors[9092093].message }}
  • Profile picture of the author Mike Martel
    Another idea not related to the popup. Embed some related YouTube videos on your site. That will keep your visitors on the site longer.
    {{ DiscussionBoard.errors[9092501].message }}
  • Profile picture of the author cabj21
    I hate the popups too. But I am providing service to a very specific audience, my company provides restaurant design and architectural service. My ads specifically informs what we do so i am not to sure what is going on. I thought the website loading time was slow but i tested with different tools on line and they all give me a good ratings.

    I only want to have some feed back from the people that decide to exit the page. maybe on the pop-up saying something like, we are sorry you are leaving so soon. Please leave a note if you have any suggestions on how to improve our website.

    I also have a gallery on the main page which they can look at but nothing.

    If you guys can write something for me would be great, I have some knowledge on website but not much on writing scripts.
    {{ DiscussionBoard.errors[9092690].message }}
  • Profile picture of the author trumpetsizzle
    Hey, I found a script that i could use, but cannot get it to work. on my sitebuilder, i clicked html, then added it, doesn't work. I then tried the head to head part...still doesn't work. any ideas? Thanks in advance
    {{ DiscussionBoard.errors[9118508].message }}
    • Profile picture of the author BrainyBiz
      Here is what I would do using javascript:

      When the page first loads set a variable and a timer that runs for 3 seconds:

      Code:
      var loadPopUp = true;
      setTimeout(function(){loadPopUp = false;},3000);
      The problem is that not all browsers will allow you to load a pop up on exit. A modal overlay such as fancybox would be more universal. Then set it to activate when a visitor moves their mouse off the top or bottom of the window and check if loadPopUp is set to true.

      Code:
      $(document).mousemove(function(e){});
      This code obviously is not complete. But it gives you a starting point.
      {{ DiscussionBoard.errors[9118694].message }}
  • {{ DiscussionBoard.errors[9297559].message }}
    • Profile picture of the author onsmith
      I don't know if you are still working on this problem, but here is my solution. Put this code in the <head></head> section of your page.

      Code:
      <script type="text/javascript">
          (function () {
              var message = "We are sad to see you leave so soon! If there is any particular reason why you left our site so quickly, please leave us a note so that we can improve.",
              timeout = 3;
              
              var oldAction = window.onbeforeunload;
              window.onbeforeunload = function() { return message; };
              setTimeout(function() { window.onbeforeunload = oldAction; }, timeout * 1000);
          }());
      </script>
      {{ DiscussionBoard.errors[9298006].message }}
      • Profile picture of the author pphillips001
        I'm with Zeus136. Popups are a real turn-off for surfing customers. Think of more imaginative ways to accomplish the same results.
        {{ DiscussionBoard.errors[9331081].message }}

Trending Topics