Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: phranque
If so, how do you capture the fact that the user has either clicked the 'x' (to close the browser) or typed in a different URL to go off elsewhere? Is this possible?
Such as recording the specific ip address has entered your exit poll...
And if they fill out your form, then you can update your database to say they responded...
Exit polls can be very bad, unless you offer a reward or incentive...such as a coupon, or discount or free shipping...etc...
var doPopup = true;
var url = "http://www.mydomain.com/exitsurvey.html";
aWin = window.open(url,ExitSurvey','width=300,height=400,screenX=50,screenY=50,left=25,top=25,scrollbars=0,resizable=1');
Add this to the BODY tag....
Now to stop popups for internal site navigation you have to add the following to all form submits and links, probably a more elegant way to do this by checking the destination URL, but this is quick and dirty.
<form action="blah.html" method="post" onSubmit="doPopup=false;">
<a href="blah.html" onclick="doPopup=false;">
I would say depends on how you pose your question, don't sound needy or whiny.
I've answered some exist surveys that are worded well, sound genuine, and just a quick click to get rid of.
For example, something like....
"We value your opinion, Please help us improve our shopping experience:
Check all that apply:
 Found what I wanted, I'll be back to buy!
 Didn't find exactly what I'm looking for
 Just browsing [click to bookmark us]
 Priced too high
 Shipping too expensive