Skip to main content

How to publish a survey in Skyra

This article explains the settings and process of publishing a survey

Updated over 6 months ago

With Skyra, you can easily publish a survey on your website. Once you have created the questions, the last step is to configure the settings and publish the survey.

We assume that you have already added the script to your website.

New script

PS: Skyra got a new script from December 1, 2024. If you have the old script, it must be switched to the new one. See instructions in the link above.

Survey Settings


Go to the Settings tab of the survey you want to publish.

There are four common settings to configure before publishing the survey.

  1. Invitation rate: What percentage of visitors will see the survey

  2. Exclusion: How often the survey should be shown again to the same person

  3. Delay: Number of seconds after the user visits the website.

  4. URL: Which website the survey should or should not be displayed on.

We explain the settings in the next sections.

Capture settings: How often to show the survey


In Capture settings, decide the following

  • Show to how many visitors: Choose what percentage of your site's visitors should see the survey. For example, set this to "50%" to show it to half of your visitors.

  • Show survey again (completed): Determine how much time should pass before the same user can see the survey again after responding.

  • Show survey again (rejected): Determine how much time should pass before the same user can see the survey again after closing it without responding.

  • Show survey after pageload: Specify how many seconds should pass from the user arriving at the website until the survey is displayed. 3-5 seconds is recommended to maximize the response rate.


Example
In this case, the survey will be shown to 50% of visitors, pop up after 5 seconds and not be shown again to the same person until 1 month if they responded and 1 week if they did not respond.

URL: Set where the survey should be displayed


If no rule is set, the survey will be displayed on all pages where the Skyra script appears. You can use URL rules to limit which URLs the survey can be displayed on.

  • Press Add URL to add the rule

  • Select a rule

  • Enter which URL the rule should apply to

    • Select "invert this rule" if, for example, you want the survey not to appear there.

This is what the rules mean
URL rules allow you to control where the survey appears on your website. You can specify which pages where the survey should be triggered and also restrict where it should follow the user after it has started.

Here is an overview of the options:

  • Only allow [survey] to trigger on this exact page:
    The survey will only start on the specific page specified in the "Page address" field (e.g. /my/path). It will not appear on other pages.

  • Trigger [survey] on this page and pages below:
    The survey will start on the specified page and on all subpages below it (e.g. /my/path and /my/path/subpage).

  • [Survey] can follow user to this exact page:
    If a user has already started the survey on another page, it will follow the user to the specific page specified in the rule.

  • [Survey] can follow user to this page and pages below:
    The survey can follow the user to both the specified page and all subpages below it.

Click Add URL to add more rules.


Example

In this example, the survey will be activated on skyra.no, but it will not follow the user into skyra.no/no/personvern. Nor will it be activated on privacy pages.

To choose that the survey should not be activated on the specified page, "invert this rule" must be selected.

Publish the survey


When all settings are configured, click Update settings to save the changes.

Then click Publish Now to make the survey active.

Content Security Policy
If your website has a Content Security Policy (CSP), Skyra must be registered as approved before the installation works.

If several surveys are published on the website at the same time and in overlapping areas, Skyra's algorithm will choose which survey to display. This ensures that only one survey is shown at a time to the same user. The rules you set yourself control which one is shown.

Frequently asked questions


The survey does not appear on the website, what do I do?

  • Check that the status is Published

  • Open the survey website in Incognito mode or another browser. (To avoid a cookie if you have already closed/responded to the survey)

  • If the invitation rate is below 100%, the reason may be that you are not selected.

  • If you are using the Blocked IP addresses setting, you will need to switch to another network to view the survey.

  • Check that the script is 100% correct. Use Copy code to avoid possible errors with formatting during installation. Here you will find the script.

  • Does the website use Content Security Policy? If your website has a Content Security Policy (CSP), Skyra must be registered as approved before the installation works.

    • Content Security Policy (CSP) is a security mechanism that protects websites against threats such as cross-site scripting (XSS) and data injections by defining which resources (such as scripts, styles and images) are allowed to be loaded on the page.

How does the prioritization between multiple surveys work?

If multiple surveys are published at the same time, only one survey will be shown to each user at a time. Which survey is shown is determined by an algorithm that takes into account rules such as url rule, number of answers already collected etc.

Note:

  • All published surveys are prioritized equally. There is no manual prioritization.

  • To ensure that a specific survey always appears on a specific page, you need to configure the rules so that only this survey can appear on that URL.

  • Users will never see more than one survey per visit and there is always a pause between two surveys.

I have a chatbot on my website, what do I do about it?

We provide advice on this in a separate article here. How to hide the survey behind chat.

Did this answer your question?