Forum Moderators: open

Message Too Old, No Replies

Exit Survey Script

         

opie

4:42 pm on Mar 20, 2002 (gmt 0)



Hello All...
I current have a javascript pop-up script the opens a window and adds an exit survey that you can get once every 30 days... The 'unLoad' event makes this happen. The problems is that most of my cpc visitors come directly to the product page so I have added the script to every page on my site, but when someone clicks on any of my own links it causes the survey to open.

I was told to add 'onClick="popup=false"' to every link, but there has got to be a better way.

Thanks
Ethan

tedster

12:16 pm on Mar 21, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webamster World, Ethan.

We had a previous discussion about this on another thread, which may help you:
[webmasterworld.com...]

At that time, setting a token on each link was one option we discussed, and another was blurring the pop-up, and a third was a frames solution.

The challenge, as you know, is that you can't get the information about where the visitor is going when a page unLoads. Setting a token on all your in-site links is a work-around, even if a bit cumbersome. The frames solution that joshie talked about at the bottom of the thread is easier to execute, if you can deal with using frames (that's too much sacrifice for me.)