Have Questions? (800) 477-0970

Ask Tech Support: Javascript Embedded Surveys

Posted by Filed in: How-to articles, SurveyGizmo News

The ability to embed a survey into a webpage using a simple cut and paste of JavaScript code provided by SurveyGizmo is one of the favorite features of SurveyGizmo users. However, sometimes there is a bit of a confusion on the way the JavaScript embed will interact with your visitors. So for this Ask Tech Support, we will clarify a few of these situations.

When someone visits your page with a JavaScript embedded survey, the user’s web browser makes a request to SurveyGizmo to display the survey. While our multiple servers usually make this a seamless process to the visitor, it does require extra time, usually less than a second, before the survey is loaded for the user. This of course varies greatly depending on the speed of everything else on that page and is typically not noticeable.

Also of note is that when the embedded survey is opened, it creates a session with that visitor, so that the survey will continue to display their response if they navigate away and return to the page. In simple terms this means that once they have completed the survey and the thank you page is displayed, it will continue to display the thank you page until they close their web browser.

This is an important distinction if you are using the sg_freq option. Each time you load the survey, it will evaluate whether the survey is displayed or not, only if the browser session was not already open (e.g. the browser was just opened).

Finally, it’s important to note that when the user completes the survey, the embedded survey does not disappear from the page. There is no mechanism within surveygizmo to provide this functionality.

Duplicate Protection is supported for the JavaScript embed method, and for more information, feel free to check out the tutorial.

If you have any further questions, please use the community forums!

Tags: ,
Share This:

Have you tried SurveyGizmo yet? Try our 14 day free trial

About the Author

Mario Lurig
Technical Training Manager at SurveyGizmo. Mario hails from Reunion, France off the coast of Madagascar in the middle of the Indian Ocean… no, really… then Kenya, United Arab Emirates, and Florida till 2004. He is an author of two books: an ebook of conversation starters and a PHP book. He is also an avid cyclist and tennis player, and is 1-0 in knife fights. His most recent project benefits authors tracking amazon sales rank.

Start your free 14 day trial

Get all features for $50/month. Add users for $20/month each.

Questions? Call us anytime during your trial at (800) 477-0970.

No credit card required.

  • Call us at (800) 477-0970
    for help setting up larger teams.

* Extra users are free for the duration of your trial.
You can change the number before upgrading to a paid plan.

The Survey Expert Blog

By

Why Survey Design Matters for Feedback Surveys

February 3 2012 -

Survey Expert Ryan Farmer observes that many well-known companies aren’t branding their surveys, and discusses why survey design is hyper-important when you want to gather customer feedback.

By

New Team Management & User Permissions System

Starting February 2nd, SurveyGizmo is launching a new set of user management features. Learn more about them here!

By

5 Questions with SurveyGizmo co-founder and CEO Christian Vanek

Boulder’s Daily Camera newspaper interviews Christian Vanek, who shares what’s next for the company.

More from our Survey Experts