Redirect Tests
Redirect tests send visitors from a source URL to a destination URL based on variant assignment.
What is a redirect test?
Section titled “What is a redirect test?”A redirect test assigns visitors on a source page and redirects them to variant-specific destination URLs. Unlike split URL tests that may compare full page experiences, redirect tests focus on routing behavior — for example, sending traffic to different checkout flows or campaign landing pages.
When to use redirect tests
Section titled “When to use redirect tests”Use redirect tests when you need to:
- Route traffic between two or more destination URLs
- Test different funnel entry points
- Send a percentage of visitors to a new experience while keeping a control path
How to create a redirect test
Section titled “How to create a redirect test”- Create a new experiment and select type Redirect.
- Set URL rules for the page where the redirect should trigger.
- Configure variants with their destination URLs.
- Define goals on the destination pages or via custom events.
- Publish the experiment.
Assignment and exposure
Section titled “Assignment and exposure”Visitors are assigned using the same weighted, optionally sticky assignment as other experiment types. An exposure event is sent when the assignment is active.
Measuring results
Section titled “Measuring results”Track conversions on destination pages using page_view goals, custom_event goals, or ttoolab.track() calls on the destination site (if the pixel is installed there too).
Best practices
Section titled “Best practices”- Avoid redirect chains that hurt page speed or SEO.
- Make sure the pixel is installed on destination pages if you need cross-page goal tracking.
- Test redirect behavior on mobile and desktop.
- Communicate redirect tests to SEO stakeholders when testing indexed URLs.