In case you want to experiment and compare the performance of different pages URLs, you can create your experiment where you specify a Redirect Page URL for each variation.

When you create your experiment, under the section “Redirects”, for each variation (including the “Original” variation) you can can enter the Page URL to redirect to and test.

Here is how it works: when users land on the original page URL, they will enter the experiment (and be assigned one of the Redirect URL variation). Then they will either 1) stay on the current page (if the Original variation was picked), or 2) be automatically redirected to the Redirect URL they were assigned.

When you create an experiment using “Redirect URLs”, please make sure to include the Matomo Tracking code on all your pages including on the Redirect URLs pages.

For more information and ways to test different pages and use redirects in A/B Tests.

Previous FAQ: How do I embed an experiment into my project?