How to automatically redirect an exit screen to another URL?

T.V -

Qualifio allows you to automatically redirect your participants to a different web page after their participation in your campaign. So how do we do that? In this article, you'll learn about the Automatic redirect settings. Let's get started!

In this article:

Configuring the Automatic redirect

Automatic redirect is used in a situation where a participant has taken part in your campaign and when they reach the exit screen (or "thank you" screen) they are redirected to another page. For instance, you could include a link to your website to create awareness about a new service and boost website traffic.

To set up an automatic redirect, go to Campaigns (select a campaign) > Edit > Exit step > Automatic redirect. With this, you can

  • provide a URL for the page you want to redirect to,
  • set the time before the redirect happens: you can choose to have the participant stay on the exit screen for a short amount of time and then be redirected (or set it to 0 if you want the page to load the new URL immediately),
  • and customise the "target" attribute:
    • _top → tells the browser to open that link into the top-level browsing context, which means "the whole page" in a situation where you have an embedded campaign (iframe)
    • _self → tells the browser to open that link within the same page
    • _blank → tells the browser to open that link in a new window (or tab)

Screenshot_2020-07-29_at_15.05.10.png

When the Automatic redirect is set up, the participants will be automatically redirected from the campaign's exit screen to the URL of your choice.

This "automatic" redirect is supported by virtually any campaign type but will not allow you to add multiple magic redirects based on the exit screen that is shown to a participant (e.g. exit screens based on score or personality test results). If you want additional redirects, you should redirect to another URL with JavaScript. It's pretty easy!

JavaScript redirects for multiple exit screens

For instance, imagine you're making a product recommendation test for your eCommerce products. When the test is finished, the answers to the questions orient participants to different results that are products or product categories. You could include links to your product pages to complement your marketing efforts and put the appropriate URL based on the participant's test result.

To configure automatic redirects with multiple exit screens, complete the following steps:

  1. Open the Qualifio campaign for editing and go to the Exit step.
  2. Enable automatic redirect for each of the exit screens by adding this code:
<script type="text/javascript">
function redirection() {
window.open('https://www.qualifio.com/campaign-formats/runner/', '_top');
}
setTimeout("redirection()", 1000);
</script>

The example above enables automatic redirect to the website of Qualifio. To specify the URL to which the participant should be redirected, you should, of course, change the URL and replace it with that of your choice. Replace 1000 with the time in milliseconds or 0 to make it happen immediately.

Important: Please note that some browsers block pop-ups and redirects from working and that some older browser versions may not support automatic redirects at all.

Related articles

Was this article helpful?

Can’t find the answer you need?

Send us a question and connect with an expert to get personal assistance.

Contact support

Vous ne trouvez pas les réponses que vous cherchez ?

Nous sommes là pour vous aider. Envoyez-nous une demande en direct !

Contacter le support
helpcenter experts