At the end of your survey, do you want to redirect your respondents to your website? With the Feedback Management solution, you have the option to set up a redirect to a specific website once a respondent has submitted their answers to the survey.
How to set up a redirect on my survey?
It is possible to create a redirect to another site at the end of the campaign. This allows you, for example, to redirect the customer to a specific page on your site or to an external site.
To do this, you need to create an action in the campaign. Here is an example to redirect the campaign to the Skeepers site:
Campaign > Actions:
- Choose the condition that will trigger the redirect.
- In the section
, you can select the action
Redirect
- In the "URL" field, enter the full URL including the "http" or "https" protocol at the beginning:
- Don't forget to click on
.
How to add a delay before the redirect?
To configure a redirect to a website of your choice, please follow the process below.
After you have configured all the pages and questions of your survey, you need to add a "tracking code" after the last "button" of your survey on the last page.
- When you are on the last page of your survey, click on "add an element" then "Content" and finally on "Tracking code".
- Once the "tracking code" element is added, you need to configure it by adding the following code in the designated area:
<!-- reload the page after 5 seconds -->
<script text="text/javascript"> setTimeout(function(){
document.location = 'TARGET PAGE URL'; },5000) ;</script>
In the code above, you must replace 'TARGET PAGE URL' with the URL of your target page.
Example with the Skeepers website:
<!-- reload the page after 5 seconds -->
<script text="text/javascript"> setTimeout(function(){
document.location = 'https://skeepers.io/fr/'; },5000) ;</script> - Once the configuration of the "Tracking code" element is complete, don’t forget to save.
How to adjust the redirect delay to my website at the end of the survey?
You want to modify the delay before redirecting to your website after a respondent has completed your survey. Indeed, you can configure this delay to be 2, 3, 5, or 10 seconds. To do so, here are the steps to achieve an optimal configuration.
- Similar to the steps above, simply modify the code you added in the "tracking code".
<!-- reload the page after 5 seconds -->
<script text="text/javascript"> setTimeout(function(){
document.location = 'TARGET PAGE URL'; },5000) ;</script> - On the first line, you can replace the number of seconds with 2, 3, 4, 6, etc. Then, on the third line, you must also replace the number accordingly.
- Here is an example for a redirect delay of 8 seconds.
<!-- reload the page after 8 seconds -->
<script text="text/javascript"> setTimeout(function(){
document.location = 'TARGET PAGE URL'; }8000) ;</script> - Don’t forget to save!