Skip to main content

Redirecting a Quiz Result to a URL

This article described how to redirect a user to a specific URL after taking the quiz

Written by Damaris Pacheco

Redirect a quiz taker to a specific URL after they finish the quiz (instead of showing the Interact result page).

You’ll be able to:

  • Understand how result redirects work (and when they trigger)

  • Turn on a redirect URL for one or more results

  • Avoid common embed issues (especially iFrame behavior

  • Enable Redirect Host when embedding so the full page redirects

  • Test the redirect behavior before publishing


How This Works

Before touching the builder, it helps to understand what “redirecting a result” actually does.

When result redirect is enabled for a specific result:

  • If a quiz taker receives that result, they’ll be sent to your Redirect URL instead of staying on the Interact result page.

  • If Lead Generation is turned on, the redirect happens after the quiz taker completes the Interact opt-in form.

  • If Lead Generation is not turned on, the redirect happens immediately after the quiz taker answers the last quiz question.

⚠️ Important: Please read before proceeding: For redirection of results to properly function on embedded quizzes, you will need to use the JavaScript Embed code and enable Redirect Host. Without Redirect Host enabled and the JavaScript embed code, the redirection will occur inside of the quiz’s iFrame or it will fail.

❗ Important: If a redirect fails, you may be prompted with a retake quiz button or a refused to connect error. Unfortunately, some website creators either do not support JavaScript properly, or embed content inside of an iFrame. URL redirection cannot be properly utilized with these types of websites.

❗ Important: Wix does not support URL redirection from Interact quizzes properly. Squarespace can cause issues with redirects if your site utilizes AJAX loading.


Step 1: Plan Before You Build

Planning upfront saves time and helps you avoid publishing a quiz that redirects unexpectedly (or doesn’t redirect at all).

Decide on the following before you open the builder:

Which results should redirect

Write down exactly which result titles should redirect and which should not.

The destination URL for each result

Confirm each URL is correct (including https://) and loads the page you intend.

Where you will publish the quiz

If you are embedding the quiz on your website, plan to use the JavaScript Embed and enable Redirect Host (covered below).


Step 2: Open The Quiz

  1. Log in to the Interact dashboard.

  2. Find the quiz.

  3. Click Edit (or click the pencil icon) to open the quiz builder.


Step 3: Open result redirect settings

  1. In the quiz builder, open the Results page.

  2. Click the Settings (gear) icon.

  3. Under Redirect Results, click Edit.


Step 4: Add the Redirect URL for a result

  1. Find the quiz result you want to redirect.

  2. Click next to the result title.

  3. In the Redirect URL field, paste (or manually enter) the destination URL.

  4. Click Save.


Step 5: Confirm Redirect is Active

  1. Under Redirect Results, confirm the status shows Active.

  2. Click Save again to confirm.

  3. On the results page, confirm you see the message: “This result is redirecting to a URL.

💡 Note: This means that when a quiz taker receives this result, they will be redirected to the specified URL instead of the Interact result page.


Common Redirect Patterns

These patterns help you think about redirect structure (not just where to click).

Pattern 1: Redirect only one “high-intent” result

Use this when one outcome should send quiz takers directly to a specific offer or landing page.

Pattern 2: Redirect every result to a different URL

Use this when each result corresponds to a different product, collection, service page, or recommendation page.

Pattern 3: Keep Interact results, use CTA buttons instead (no redirect)

Use this when you want quiz takers to stay on the Interact result page and click a button to continue (instead of automatically redirecting).


Caveats & Redirection within the HTML <iframe> element

One of the caveats with result redirection is embedding your Interact quiz within an HTML <iframe> element on a webpage.

With a valid redirect enabled, this means a quiz taker can:

  • Receive their result

  • Trigger the redirect to the correct URL

  • But the redirected page loads inside the embedded <iframe> dimensions and location (instead of taking over the full browser page)

⚠️ Important Warning: If the redirect loads inside the iFrame, it can look “broken” (for example, a full product page trying to render inside a small embed area), even though the redirect technically worked.


Redirection of host page outside of HTML <iframe> element

Redirecting the host page (the page where your quiz is embedded) will navigate the quiz taker’s browser away to the URL you specify.

To utilize this feature:

  1. Enable redirection for at least one result within the Interact quiz builder (see Steps 3–5 above).

  2. From your quiz dashboard, click Share (or Share & Embed, depending on what you see).

  3. Under the share options, select Embed (or Embed your Quiz on your Website).

  4. Enable JavaScript Embed.

  5. Under Redirect Host, click Enable.

  6. Click Copy Code.

  7. Re-embed the quiz on your website using the JavaScript embed code you just copied.

⚠️ Important Warning: You must re-embed the script after changing Redirect Host because the embed code changes. This means you need to copy the updated code and paste it into your website again.

⚠️ Important Warning: You must use the JavaScript embed method. Redirecting the host page is not available unless you use this embed method.

After re-embedding with the JavaScript method, your host page (where the quiz is embedded) should redirect completely to the URL specified for that result.


Redirection for WordPress users

If you embed your quiz on WordPress using an Interact shortcode, you have two options:

  • Enable Redirect Host from the WordPress embed options (this updates your shortcode for you), or

  • Manually add the attribute redirect="host" to your shortcode.

Example:

[interact id="your quiz ID" type="quiz" redirect="host"]

⚠️ Important Warning: If you update the Redirect Host setting in Interact, make sure the shortcode on your WordPress site reflects the updated setting (and re-paste the updated embed/shortcode if needed).


Test your Redirect

Testing helps you confirm the redirect works for the intended result(s) in the environment where you’ll publish.

Step 1: Create an expected-answer path for each redirected result

Write down one set of answers that should produce each redirected result.

Step 2: Preview the quiz

Take the quiz using the intended answer path.

Step 3: Confirm the redirect triggers at the correct moment

  • If Lead Generation is on, confirm the redirect happens after the opt-in form.

  • If Lead Generation is off, confirm the redirect happens immediately after the last quiz question.

Step 4: Test on the live embed (if you’re embedding)

If you’re embedding the quiz on your website, test the redirect on the embedded version—not only in Preview.


Troubleshooting

Problem

What to check or change

Redirect works on the live link, but not on the embed

Confirm you used JavaScript Embed and enabled Redirect Host.

Redirect loads inside the quiz area instead of taking over the full page

This typically means you’re redirecting inside an iFrame. Enable Redirect Host and re-embed using JavaScript Embed.

Redirect fails and you see an error (or a “retake quiz” style fallback)

Confirm Redirect Host is enabled and confirm the destination URL loads correctly.

Redirect goes to the wrong page

Re-check which result you edited, and re-check the exact Redirect URL saved for that result.

Redirect triggers too early/late

Confirm whether Lead Generation is on (redirect occurs after the opt-in form) or off (redirect occurs after the last quiz question).


FAQs

Does redirect happen before or after the opt-in form?

  • If Lead Generation is enabled, the redirect happens after the quiz taker completes the Interact opt-in form.

  • If Lead Generation is not enabled, the redirect happens after the last quiz question.

Can I redirect only one result and leave the others as normal?

  • Yes. Redirect is configured per result.

Do I need a specific embed type for redirects to work?

  • Yes for embedded quizzes. Use JavaScript Embed and enable Redirect Host to redirect the full page outside the iFrame.


Quick Reference

Recommended starting structure for result redirects

Setting

Value

Redirect target

Set per Result

Lead Generation on

Redirect happens after the opt-in form

Lead Generation off

Redirect happens after the last quiz question

Embedded quiz requirement

Use JavaScript Embed + Redirect Host to redirect the full page

Setup Checklist

  • Redirect destination URLs confirmed (correct page, correct protocol, correct result)

  • Redirect status shows Active for the intended results

  • JavaScript Embed enabled (if embedding)

  • Redirect Host enabled (if embedding)

  • Embed code/shortcode updated after enabling Redirect Host

  • Redirect tested by producing the redirected result in Preview

  • Redirect tested on the live embed (if embedding)

  • Quiz changes published


Make a quiz in 2 minutes with AI

Did this answer your question?