Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone recommend a widget (or service) that I can integrate into my PHP site to prompt a user for their email address upon leaving my site? I'm also open to suggestions as to whether its best once a user first comes to the site to ask for their email or upon leaving the site. Thanks for your time and assistance.

share|improve this question

If I'm leaving your site, I want to leave. Bugging me then to give you information there's a good chance I don't want to give you anyway is only going to irritate me. Just put something in the sidebar; if I want to give you contact info I'll see it. If you really have to prompt, do it on initial visit(though I'm not too fond of those, either).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.