Surveylyzer Logo
Advanced statistical analysis for online surveys

 Embed questionnaires in your website 

You may seamlessly embed questionnaires in your website by copying a simple HTML code.

Prerequisites: Although the instructions are as simple as copy-paste some knowledge in HTML is required. The instructions are for website maintainers and developers.

 Embedding using a web widget 

The main advantage of this option is:

  • Keep your website visitors in your website. You don't have to redirect them to our site.

 Step 1 

If you have not done it already, create your questionnaire .

 Step 2 

Use the next form to generate HTML code.

 General 
This is commonly your nickname or login-name.
The ID can be found in the summary section of your questionnaire.
Pixels. Please note, The actual width may be slightly different, if the questionnaire cannot be fitted into the preferred width. Minimum recommended width is 400 pixels.
Help
 Results 
A link to the results commonly shown after the user submits his/her response. The link may redirect to the results page in our website, or show the reports in place.

 Step 3 

Copy the generated code and paste it somewhere in your HTML document's body where the questionnaire should be shown.

If you are using a blog system such as WordPress or Joomla (and alike), please paste the code into the HTML editor (instead the visual editor). Please note that some systems limit the <SCRIPT> tag and it is ignored or removed from the HTML editor. If that is the case in your system, please contact your system administrator to enable this tag.

 Known limitations 

interactions with other scripts or style sheets: On some rare cases there could be some unexpected interactions that might interfere either of the scripts or style sheets. It is highly recommended you run the proper tests in your test environment before using this script in your real website.

Security: For security reasons, embedding questionnaires in external websites is enabled only for questionnaires that are configured to be publicly available (ie, open to all visitors, have no password protection, are not under-construction etc.) If the questionnaire is configured to use any security measure, a redirection link to our website will be shown instead the questionnaire itself.

Dimensions: The questionnaire is extracted using the normal flow as defined by HTML specifications. If the questionnaire is extracted into a space that is bounded too narrowly the questionnaire might be shown improperly. Commonly the minimum recommended width that suffices for most questionnaires is at least 400 pixels (or 600 pixels when Show Results is set to INTERNALLY ).

One questionnaire per web page. Do not use this script multiple times in a single web page. You may use <IFRAME> or <FRAMESET> as a workaround.

 Troubleshooting 

The HTML editor removes some line-breaks and some spaces from the code.

Prefer an editor that saves the code unchanged. If you must use an editor that trims spaces or line-breaks, please manually also remove the following strings from the code:

// <!--

and

// -->

TinyMCE editor in Joomla removes the <SCRIPT> tags from the code

In Joomla v1.5.x systems: Sign in into your Joomla system as administrator. Click on the following menu item: Extensions / Plugin Manager . Click on Editor - TinyMCE 2.0 . Please make sure that the following parameters are set correctly:

Parameter Required value
Code Cleanup on Startup Off
Code cleanup on save Never or Front Only
Extended Valid Elements script

In Joomla v1.0.x systems: Sign in into your Joomla system as administrator. Click on the following menu item: Mambots / Site Mambots . Click on TinyMCE WYSIWYG Editor . Please make sure that the following parameters are set correctly:

Parameter Required value
Code Cleanup Off

The questionnaire becomes unreadable due to style interaction with hosting blog system.

If styling problems happen when the questionnaire is embedded in a common blog system (such as WordPress , Joomla and alike) or if your website serves more than 50000 visitors a day - please write to us the URL with an example of the embedded questionnaire in your website. We'll do our best to resolve any style conflict, though we cannot promise to support all systems and all themes/styles outthere.

Legal: The website's general terms of service apply with the additions set here forth. This document is provided AS IS without warranty of any kind, either express or implied. The user assumes the entire risk of using any script or code mentioned in this document. The user is not allowed to place any interfering script or code concurrently with our script in the same webpage. Placing any script or code that either tampers or eavesdrops to any of the contents, information or operations done by our script is a violation of the terms of service.

 © Surveylyzer 2006-2010