Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Determining when a person leaves your domain


  • From: allard-schripsema at procergs.rs.gov.br (Allard Schripsema)
  • Subject: [Javascript] Determining when a person leaves your domain
  • Date: Wed Jun 22 09:21:39 2005

You might try this (just an idea):

You must have a frame around your site.
Every link, menuItem etc in the site will set a boolean in the top of the
frame to true
Every onload of the page will reset the boolean to false
Every unload of the page will check if this boolean is true or false and act
accordingly

hope this helps,

Allard Schripsema
www.VisualDigital.com.br

-----Original Message-----
From: javascript-bounces@xxxxxxxxxx
[mailto:javascript-bounces@xxxxxxxxxx]On Behalf Of Jessica Mays
Sent: Wednesday, June 22, 2005 11:07 AM
To: [JavaScript List]
Subject: RE: [Javascript] Determining when a person leaves your domain


Again I want to stress that I do not want to annoy people, and this
action would happen on one page only. And if they have JavaScript
disabled they just don't get the survey - I can accept that.

But this is for an abandonment survey and I don't want them to be able
to take it before they "really" decided to abandon - there could be
offers associated and I can't have them coming up too soon.

So in JavaScript can I tell if they are using the back button or
refreshing the screen (perhaps not a full tracking if they are staying
on the site or not)? (again keeping the annoyance level to a minimum)

-------------------------

Jessica Mays

-----Original Message-----
From: javascript-bounces@xxxxxxxxxx
[mailto:javascript-bounces@xxxxxxxxxx] On Behalf Of Matt Barton
Sent: Wednesday, June 22, 2005 9:35 AM
To: [JavaScript List]
Subject: Re: [Javascript] Determining when a person leaves your domain

Hi,

I think there's probably some milage in considering Mike's suggestion to
"let people choose [the survey link] voluntarily through an easily
visible link".

I can't personally think of an all-encompassing JavaScript solution to
your goal, but even if one existed (which I doubt), it would be
worthless for any visitor to your site who has JavaScript disabled (and
there are plenty of those out there).  Such visitors wouldn't know about
your survey unless there was a clear link to it.

FWIW

Matt


Jessica Mays wrote:
> Annoyance is one of the reasons I want to make this come up as little
as possible.
>
> And this is for a survey so the confirm box just asks if you would
like to survey or not and if no you go on your merry way and if you say
yes you are sent to the survey.   This is an simple opt-in, and I am
trying to keep annoyance to the lowest level possible.
>
_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript