Looking for script to force visitors to stay longer on a webpage

jasbirkhanna

Newbie
Joined
Sep 22, 2016
Messages
5
Reaction score
0
Hi,

Is there any script out there which can make a visitor stay longer on a webpage? I'm sending PPV traffic to my site but according to Similarweb, the avarage visitor time is only about 3 seconds.

Just need for this PPV traffic and not normal regular traffic to stay on for longer.

Regards
 
Use some simple JavaScript as it works with all web languages. Here is the translation of the syntax - google to find the code for each of the below:

If webpage navigation changes to different domain** then alert ("do you want to leave this page", yes, cancel)
if yes redirect to your page (like different page on the same domain)
if cancel redirect to your page (like different page on the same domain)

This should create a loop which will buy you lot of visitor time. The drawbacks of this you will get visitors pissed off.
 
There is a script called "Content is King" !!
 
Use some simple JavaScript as it works with all web languages. Here is the translation of the syntax - google to find the code for each of the below:

If webpage navigation changes to different domain** then alert ("do you want to leave this page", yes, cancel)
if yes redirect to your page (like different page on the same domain)
if cancel redirect to your page (like different page on the same domain)

This should create a loop which will buy you lot of visitor time. The drawbacks of this you will get visitors pissed off.

Hi Mailicreate,

Many thanks for that. I'll give it a go.
 
@iasbirkhanna Hope its not too late try looking into javascript and you might want to use setinvertal function and different even listeners to identify and
intercept the user action and based upon where it is exit operation or redirct to your own site you should be able to acheive
what you need.
 
@iasbirkhanna Hope its not too late try looking into javascript and you might want to use setinvertal function and different even listeners to identify and
intercept the user action and based upon where it is exit operation or redirct to your own site you should be able to acheive
what you need.

Many thanks for that. Have you a script that does that? I'll pay. Also want another script which forces the user to click on a banner and drops a cookie at the same time.

Regards
 
@Skyebug77 It does looks interesting and it looks like it does what OP wants he can purchase and it will be reusable as well.

It has two variants both wordpress and non wordpress :)
 
Yeah, the script below will display a popup if a user tries to exit or refresh the page.
Code:
<script language="javascript" type="text/javascript">
window.onbeforeunload = function()
{
    return "Baby Come Back! You Can Blame It All On Me! I Was Wrong, And I Just Can't Live Without You!";
}
</script>
 
If you are allowed to iframe your own page you could add a flash file that uses a lot of memory / crash the browser. Not very nice for them but it will keep them there for a while as it loads.
 
tell them there will be a suprise if they stay for at least five minutes.
 
Back
Top