Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
WebDwarf, SiteSpinner, SiteSpinner Pro 'How do I...'
The 'exit alert' message mystery...|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Honorary Mechanic |
I looked all over the web for this secret info I can't find, so I'm back to my favorite forum:
Do you know where I can get the exact exit unload or "unclick" alert pop up code (that i can customize)? It's the code that basically stalls people from leaving the site for a moment by asking if they click ok to cancel or stay on the page, and then a second exit box in case they click away from that? Do you know what I mean? I see them all the time on websites, but can't seem to find the codes absolutely anywhere that works. I've checked the java sites, html too. Is it php or css? I don't understand why this code is so very hard to find? Thanks, spyn |
||
|
|
Honorary Mechanic |
Maybe you have a good reason to use this code, but from a personal point of view, nothing annoys me more.
If I have made the decision to exit a website, then that is exactly what I want to do. Anything that tries to prevent, or delay me from doing so, is the perfect way to make sure that I never return to that site, ever again. |
|||
|
|
Honorary 'Aussie' Mechanic |
|
|||
|
|
Honorary Mechanic |
I know it's annoying. I agree! It annoys me when I come across them, too. However, from a marketing standpoint, as a whole, proper wording in the boxes is reportedly and apparently very effective. Besides, the vast majority of people who exit so soon are unlikely to revisit anyway I think. Last, according to statistics on statcounter,the majority of visitors are exiting in 5 secs anyway. I'm apt to try and test something new. We'll see. I can always remove it after I see if it works.
Thank you for your replies! |
|||
|
|
Honorary 'Creative' Mechanic |
Hi spyn7,
With all due respect, having spent 20+ years in marketing business I must say that I can't imagine that the wording in an, to start with, annoying box is going to make a difference. The most important wording is the content on your website. If people are interested in what you offer on your site, then there is no reason to irritate them, by trying to keep them there for few more seconds. It would be very interesting to see those reports about the effectivness of such methods. This message has been edited. Last edited by: Klimt, |
|||
|
|
Honorary Mechanic |
I appreciate your reply, and your experience! Wow. I do agree with your statement about the content in the website being the most important.
Unfortunately, I can provide the worse example, as well the best...which is, well, those annoying pop-ups...they worked on me on a few occasions. Although I was annoyed, irritated, stalled, "tacticized" and suspecting- they worked on me a time or two. Therefore, I have to put my own experience about this and throw into the marketing pot. I wonder though, is everyone saying that the first time they ran across this, that it never worked on them? Now in fact, when I want to purchase something, I purposely exit and look for them, to see if there's a better deal lurking. Ha. I don't know. The reports are from several various aggressive marketers and in so-called successful ebook advice etc. I fooled around and accidentally got on an email list that churns 25-50 so-called different marketing strategies a day to my inbox and spam, so I cherry-pick through them and see. They ALL also claim to grab emails as soon as possible, and use squeeze pages too, so I'll see. |
|||
|
|
Honorary 'Aussie' Mechanic |
Not that I agree with it’s concept, but I couldn’t resist the challenge, and I have come up with this simple little piece of javascript that does work.
<script type="text/javascript">
function detectClose() {
return "Any string here will force a dialogue box.";
}
window.onbeforeunload = detectClose;
</script>It works in IE, Firefox, Google Chrome and Safari, but for some reason, does not work in Opera (other javascript does). I have uploaded a simple test page, and you can test it here |
|||
|
|
Honorary Mechanic |
Thank you very much for your reply! I'm curious though, do you have the dual window code? You click out of that window, there's another pop up last chance window. I know, I know.
|
|||
|
|
Guru 'Geezer' Mechanic |
spyn7,
I hope when you are done, you will post a link to your site. I want to add it to my list of banned sites, LOL. |
|||
|
|
Honorary 'Aussie' Mechanic |
Haven’t you caused enough damage already?
Seriously though, you cannot prevent a user from closing a window. Imagine the possibilities if you could. Spammers, porn sites etc would have a ball. When a user closes a window, two things happen. Firstly, the window loses focus, which can be accessed with the javascript onBlur event. Secondly, the window actually closes (or unloads) which is accessed with the onBeforeUnload as used in the script above. Theoretically, I suppose you could write a script so that when the window loses focus, you could force a javascript Confirm box, which has both an OK and Cancel buttons. Using an if/else statement, you could do something different depending on what button is selected. By clicking OK, the user could be taken to the onBeforeUnload function to force the second confirmation box. By clicking Cancel, you could have the page refreshed. But, doing that would also invoke the onBeforeUnload function, causing a myriad of buttons and choices to appear, even if the user has decided to stay. That would pee off most users no end. Also, if the user left your window open, then temporarily did something else, that would also invoke the script as the window has lost focus. The onBeforeUnload property is normally used for special purposes, such as bringing up another pop-up window. It can also be used if a page contains information that needs to be saved (such as a school project), or if a form has been filled out but not submitted. When closing the window, a script can be run to check if it has been saved, or if a form has been submitted, then invoke the onBeforeUnload to warn the user that it hasn’t been done. |
|||
|
|
Honorary Mechanic |
Ha! Ouch...hopefully it won't be Google's list of banned sites. Hmmm. I suppose I should clarify something...the particular site or web page in question would be directed towards a specific niche audience.
With my main site or other sites, I would have no interest in using unload codes on. This is more or less an experiment, through trial, error and test, which I suppose risk-taking marketers (like me) are not afraid to try. When comparing and putting squeeze and specific pages into the mix of the other ingredients: (ppc campaigns etc), it can get expensive. If you must, please understand I'm not afraid of taking risks, and within reason and research, I guess I wouldn't know what doesn't work if I don't try it for myself. Challenge: If you have a product or squeeze page or mirror site, how many of you had actually tried this code for yourselves? Be honest, are you afraid to try it, because of the swarm of negative comments about it? I'm just being real honest here. Spyn. This message has been edited. Last edited by: spyn7, |
|||
|
|
Honorary Mechanic |
UPDATE INFO...
I may have, (JUST MAY HAVE) been wrong... I was going to provide a few links of perfect examples of this for you, of products that I am not affiliated with and am not endorsing because they are great examples... but in the process I made a discovery. Again, I may have been wrong, because what I noticed was that the squeeze pages and web pages that I mostly saw that double unload code on, well, I was basically pre-qualified for! (Presumably, according to some research, it takes five emails in order to make a sale.) In other words, visualization of these types of pages were sent after/during a series of emails, from lists that somehow I was opted-in because of other purchases or *free* subscription joining, etc. Those dirty dogs. Woof! Now I'll have to construct and wait to direct my niche-specific web pages with the unload code and send them via the fifth email :-). |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

