Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 2nd, 2008, 09:48 PM
Authorized User
 
Join Date: Jul 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via MSN to ramone_johnny
Default Exit survey - can this be done with JS or ASP?

Hey guys,
Im wanting to find out why potential customers are leaving a certain page on my website and not continuing to advertise.

Id like to ask..

Why are you not advertising or leaving this page? (without being overly intrusive if possible - can the popup only be shown once perhaps???)

1. I dont want to pay, I want to advertise for FREE. OR
2. I had no intention of advertising, I was just browsing.

Make sense?

Then obviously Id like to populate my SQL DB with this information for reference purposes.

Can this be done without using silly add on software???

John

webdesigndocuments.com
__________________
Works Media - Online Marketing & SEO
 
Old August 2nd, 2008, 09:51 PM
Authorized User
 
Join Date: Jul 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via MSN to ramone_johnny
Default

Oops, forgot to show the link of an example of what it is Im wanting to acheive!

http://www.exitgrabber.com/

John

webdesigndocuments.com
 
Old August 3rd, 2008, 08:26 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Yes and no...

You *can* use <body onUnload="..."> to ask the person if they *really* want to leave this page, but you can't stop them from doing so if they say "yes." So you could ask them "Would you mind answering a one-question survey before leaving?" and, if they say "yes," take them to the survey page.

You can also cause a popup to happen via the onUnload, but most people nowadays will have those popups blocked.

I've never tried it, but I suppose you could do both: Try the popup and, if it succeeds, just let the page go ahead and close. If the popup does *not* succeed, then you can ask the question about answering the survey.

But I'd bet that you are only going to get a few percent who answer the survey, given these limitations.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Exit bottom in ASP.NET with C# Somesh ASP.NET 2.0 Professional 1 November 29th, 2006 12:40 PM
ASP.NET 2.0 Instant Results Book -Survey Engine autolib BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 9 August 29th, 2006 01:05 AM
asp inside js crmpicco Classic ASP Basics 2 July 6th, 2005 09:49 PM
JS/ASP watch mega Javascript 5 April 29th, 2004 03:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.