You can either display the survey on a URL or trigger a survey after a user performs an action using Javascript Trigger.
Here is how you can use these four operators.
Suppose a user just signed up to your platform and you want to show them the survey regarding the signup experience, in that case, you can just use this trigger to start the survey.
NOTE: Before starting with this section, you must have basic knowledge of the Javascript Language.
Step 1: Select the Javascript trigger from the targeting section.
Step 2: Enter an event name you would like to use as your trigger, only alphanumeric characters (a-z, A-Z, 0-9), underscores (_), and dashes (-) can be used in the trigger name. This field cannot be left blank.
Note: If a Javascript trigger is present on a page, it will cause the survey to show regardless of any other rules present.
Step 3: Click Done.
Step 4: Add trigger code to the website
In the example above, we’ve created a trigger called user_logs_in. Next, you will need to add the trigger code to your website:
window.surveysensum.startSurvey(‘user_logs_in’); |
We have four options, to launch the survey on a webpage.
1) Launch it immediately after the page loads: This will launch the survey just after the webpage is launched.
2)After a delay of ___ seconds: Here you need to just input the delaying seconds to launch the survey after a specific time delay.
3)When a user is about to leave the page on a desktop device: The survey will appear as soon as a visitor moves their mouse cursor upwards and towards their browser toolbar. The survey is shown the moment the cursor leaves the 'viewport' - the area displaying the site
4)When the user scrolls halfway down the page: When the user scrolls halfway through your webpage this survey will show.
C: When to repeat this survey
By default, the toggle is On and 30 days
Here you can specify the repeating date of the survey in case of the user declined your survey. Or you can turn off the repetition for the declined survey.