Implement an exit survey

We wish to implement an exit survey on the website. We have prepared the survey as a Google Form. And would like it implemented as follows -
1. It should appear over the site in a pop-up window.
2. It should appear when a person already on the website, closes the site.
3. It should appear when a person already on the website, types another URL in the address bar.
4. It should appear when a person already on the website, clicks on a link on the site that leads to another site.

Thanks,
Aditya
giveindiaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
giveindia, take a quick look at forsee and "see" how they are doing this.  http://www.foreseeresults.com/

Doing a pop over/under is going to be tough because browsers will block them.  You could do a modal which is actually part of the page and will "float" on top of the page.  That could be something enticing to click on, "We want your input".    I think you will need to capture people while they are still on the site.  

If the average time on your site is 2 minutes, then perhaps wait 45 to 60 seconds to offer the survey.
0
giveindiaAuthor Commented:
That is not what I am looking for. Please go ahead and close this out.

Thanks,
Aditya
0
giveindiaAuthor Commented:
That is not what I am looking for. Please go ahead and close this out.

Thanks,
Aditya
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I don't believe what you are looking for is possible because of the way browsers handle pop overs.
0
giveindiaAuthor Commented:
That is not what I am looking for. Please go ahead and close this out.

Thanks,
Aditya
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Taking the example from https://developer.mozilla.org/en-US/docs/Web/API/Window.open and demo http://jsbin.com/AqIhiJ/1/edit?html,output you can spawn a new window with javascript.  However, this will spawn a new tab   <a target="_blank" href="http://google.com">click me</a>

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
  <script type="text/javascript">
var windowObjectReference = null; // global variable

function openFFPromotionPopup() {
  if(windowObjectReference == null || windowObjectReference.closed)
  /* if the pointer to the window object in memory does not exist
     or if such pointer exists but the window was closed */

  {
    windowObjectReference = window.open("http://www.spreadfirefox.com/",
   "PromoteFirefoxWindowName", "resizable,scrollbars,status");
    /* then create it. The new window will be created and
       will be brought on top of any other window. */
  }
  else
  {
    windowObjectReference.focus();
    /* else the window reference must exist and the window
       is not closed; therefore, we can bring it back on top of any other
       window with the focus() method. There would be no need to re-create
       the window or to reload the referenced resource. */
  };
}
</script>
<title>JS Bin</title>
</head>
<body>
  <p><a
 href="http://www.spreadfirefox.com/"
 target="PromoteFirefoxWindowName"
 onclick="openFFPromotionPopup(); return false;" 
 title="This link will create a new window or will re-use an already opened one"
>Promote Firefox adoption</a></p>
</body>
</html>

Open in new window


<!DOCTYPE html>
<html>
<head>
  <script type="text/javascript">
var windowObjectReference = null; // global variable

function openRequestedPopup(strUrl, strWindowName) {
  if(windowObjectReference == null || windowObjectReference.closed) {
    windowObjectReference = window.open(strUrl, strWindowName,
           "resizable,scrollbars,status");
  } else {
    windowObjectReference.focus();
  };
}
</script>
<meta charset=utf-8 />
<title>padas</title>
</head>
<body>
  <!-- target blank does not work -->
  <a target="_blank" href="http://google.com">click me</a>
  <!-- this sample will open a new window -->
  <p><a
 href="http://www.spreadfirefox.com/"
 target="PromoteFirefoxWindow"
 onclick="openRequestedPopup(this.href, this.target); return false;"
 title="This link will create a new window or will re-use an already opened one"
>Promote Firefox adoption</a></p>
 
</body>
</html>

Open in new window

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
E-Commerce

From novice to tech pro — start learning today.