To get links for your webmaster choose the Embed the survey into your website, blog, or application option from the survey Launch page, and then:
- Select the HTML code for survey link option.
- Copy and paste the HTML below into your website. This text box contains HTML code that you webmaster can place on your company's website so link to your survey works properly for site visitors. The HTML script should be inserted within <body></body> tags of the web page.
- If your account has a URL Suffix, you need to add a suffix to your survey link.
- There should be software on your local server that will convert your suffix into a URL encoded line and add it to the survey link.
- Otherwise, there is a risk of adding a suffix, which contains symbols that are not allowed in URL. In this case, the suffix will be ignored and you will not be able to identify your survey takers within your network.
- This feature works only with Master URL (you can find it on the survey Launch page.).
- Back Takes you back to previous page.
The current page contains the following topics:
To acquire the HTML Form/Survey code for your webmaster you need to choose the Embed the survey into your website, blog, or application option on the survey Launch page, and then:
- Select the iFrame code to display form/survey in frame on page option.
- Copy and paste the HTML in the textbox onto your website. This text box contains HTML survey code your webmaster can insert in the body of an HTML page on your company's website. The HTML script should be inserted within <body></body> tags.
- Your form/survey must not contain more than one page.
- Please do not apply any logic transitions to your form/survey.
IFrame on Mobile devices
If you used iFrame to embed the survey into web-site and your respondents use mobile devices to access the web-site, use following script to make your form/survey scrollable. For the first create a wrapping element:
Now specify element's properties:
IFrame Security Risks
If you embed your form/survey into third-party websites with the help of an iFrame, this may bring security risks, for example, the risk of a clickjacking attack. Clickjacking, also known as a "UI redress attack", is when an attacker uses multiple transparent or opaque layers to trick a user into clicking on a button or link on another page when they were intending to click on the the top level page. Thus, the attacker is "hijacking" clicks meant for their page and routing them to another page, most likely owned by another application, domain, or both. More information on this vulnerability can be found here.
To design a pop-up survey choose the Embed the survey into your website, blog, or application option on the survey Launch page, and then:
- Select the Pop-Up survey code option.
- Pop-up survey for every Nth visit The page with your survey will pop-up for every Nth visitor to your web site. Specify the number in this box.
- Copy and paste the HTML below into your website This text box contains Java-script for pop-up survey. Ask your webmaster to place it on your website. The script should be inserted within <body></body> tags. For additional options see the IP Filtering help chapter.
- If a respondent attempts to take pop-up survey a second time (survey has been submitted before) and the rule 'Do not allow respondent back into survey' has been set then the pop-up survey will be automatically closed.
- If respondents enter the page again this survey may pop up in two cases: their cookies are disabled or there is the cookies buffer overflow. If the cookies are disabled respondents should enable them. If there is the cookies buffer overflow respondents should delete all the cookies.
- To delete all the cookies in Microsoft Internet Explorer 8.x:
- Select the 'Internet Options...' from the 'Tools' menu.
- Click the Delete button under the 'Browsing History' option.
- Select items you want to delete and click the Delete button.
- To block the cookies in Microsoft Internet Explorer 7.x:
- Click the Tools tab.
- Select the Internet Options...
- Click the Privacy tab.
- Click the Advanced button.
- Select the Override automatic cookie handling option.
- Select the Block option in the Third-Party Cookies column.
If you want to load a pop-up survey when a user leaves your site by clicking a foreign link on your webpage, you can trap all foreign links within your webpage in the following way:
Replace ... with the URL to your survey.
If you want to pop up a survey when visitors leave a specific web page without requiring the user to click a link, use the unload event in the body tag as follows:
Replace ... with the URL to your survey.
The Back button Takes you back to the Launch page.
To test your survey and copy its HTML code choose the Embed the survey into your website, blog, or application option on the survey Launch page, and then:
- Select the Web Poll code to embed survey within page option.
- Use the Width field to set the width of the survey and click the Apply button to save your settings.
Click Test to test how your survey works.If you take your survey and click Submit or Vote you can view the results in the report.
- Copy and paste the HTML code of the survey into your web site. The HTML script should be inserted within <body></body> tags.
- The option works properly with only one-page surveys.
- Only the Allow multiple responses - only applies to Master URL rule is applicable to this type of survey launch. The number of respondents who can submit the surveys from the same computer is not limited.
- If you attach logo to your survey it will be displayed at the bottom of the page when posting web-poll to your site.