πŸ”—How to Set Up a Split URL Test

Page redirect testing allows you to split-test URLs to determine which is the best for conversion, revenue, and profit.

Step 1: Create a new test

Navigate to the "A/B Tests" tab in the menu on the left-hand side of the Intelligems app. Once there, click 'Create New Test' above the experiments table. Select "Content Test" , then "Split URL Test", then "Create Test".

Step 2: Create your test groups

Create a test group for each redirect variation you want to include in the test. Fill in the Test Name and Test Description for the experiment you are creating. This information is all internal - the more detail you include here the better! Tests can be live for several weeks, and your future self will thank you for including the details here.

You can add new groups to include in the test by clicking on the β€˜+’ button. Name the groups for the experiment and use the slider to allocate what percentage of traffic will go to each group. Click β€˜Continue’ when you are done.

Step 3: Set up redirects

There are two types of redirects:

  • Simple Redirects - this type of redirect is best used when targeting a small quantity of specific URLs

  • Advanced Redirects - this type of redirect is best used when targeting many URLs that have a similar pattern

Simple Redirect Setup

Enter the URL you want to redirect from in the Origin URL field. Then, for each test group enter the URL you want to redirect to.

In the example below, we redirect from https://deepdish-pizza.myshopify.com/page-a to https://deepdish-pizza.myshopify.com/page-b. When visitors land on https://deepdish-pizza.myshopify.com/page-a, those in the Control Group will remain at the original URL, while those in the test group "Redirect Test Group" will be redirected to https://deepdish-pizza.myshopify.com/page-b. Create a Redirect for each origin URL you want to redirect from.

Advanced Redirect Setup

Advanced redirects allow for more flexibility when defining the criteria for a qualifying page URL.

Start by choosing a matching option and entering a value to match against.

Here are some examples of different matching options with values:

  • matches exactly - https://deepdish-pizza.myshopify.com/en-us/cool-collections/product-a

  • contains - sofa

  • ends with - /products/product-a Note: this will evaluate the URL Path and ignore query parameters. So https://example.com/products/product-a?utm_source=abc DOES meet the conditions here

  • matches regex - ^.*\/[a-zA-Z]{2}-[a-zA-Z]{2}\/pages\/abc$ This regex expression checks for a URL in the pattern example.com/en-US/pages/abc.

Make sure all matching conditions are case insensitive.

Products Redirects

For most product redirects, it would be better to use ENDS WITH than CONTAINS.

For example, if you use contains /products/product-abc but you also have a /products/product-abc-plus, then that would match both products. If you were looking to just target the non-plus version, you should use ENDS WITH.

Note: "/cool-collections" will be evaluated differently than "cool-collections". A redirect set to look for "cool-collections" (without a leading /) will evaluate to true for pages https://deepdish-pizza.myshopify.com/en-us/cool-collections AND https://deepdish-pizza.myshopify.com/en-us-cool-collections whereas a redirect set to look for "/cool-collections" will only evaluate to true for https://deepdish-pizza.myshopify.com/en-us/cool-collections.

After selecting a matching option and entering a condition, select which type of Redirect Type to use:

  • Replace Full URL - this option updates the entire URL

  • Replace Matching Text - this option will allow you to find specific values in the current page URL and replace them with text of your choosing

If you choose Replace Full URL, you will need to enter a full valid URL for each test group redirect. If you choose Replace Matching Text, you will need to enter valid find and replace values.

Additional Features

Redirect One Time vs. Redirect Every Time

Selecting Redirect One Time ensures that this redirect only fires one time for each visitor. On subsequent visits to the origin URL, visitors will be left on that page and not redirected again. This is the default behavior when creating a redirect.

An example of when you'd want to choose Redirect One Time: say you're sending some traffic from a Facebook ad to your homepage, and you want to test to see if using a landing page from the ad would be better. If you didn't select Redirect One Time for this, then visitors from the ad who are in the test group would be redirected to the landing page every time they tried to go to the homepage.

An example of when you'd want to select Redirect Every Time: say you're testing two versions of a collection page. You would want your visitors in the test group to be redirected every time they went to that collection page so they always see the same version.

You can test different URLs in the Redirect Checker to see where a user in each test group would get redirected.

Query Parameters

You can add or modify query parameters for each redirect. Query parameters will not be evaluated when deciding if an origin URL qualifies for a redirect. Only the domain and pathname will be evaluated.

Note: Query parameters from the origin URL will be persisted to the redirect URL even if they are not added in Intelligems. Use Intelligems query parameters to add new values or modify existing values.

Subdomain Redirects

Intelligems allows you to test redirects between subdomains. All subdomains used in a redirect test must be registered as a subdomain on your primary domain.

Step 4: Set up targeting if needed

Targeting is an optional step. This tool allows you to apply specific conditions to certain site visitors.

There are a few different ways you can do this:

  • You can set up currency and country targeting that allows you to limit your test to a single currency and/or a list of specific countries. This feature is defaulted to your store currency for price test.

  • You can use UTM parameters to customize your user experience under the Audience option.

  • You can filter traffic based on JavaScript Expressions under the Audience option.

  • You can filter traffic based on device type (i.e. mobile or desktop) under the Audience option.

  • You can filter traffic based off of whether a visitor is new or returning under the Audience option.

  • You can prevent users from being targeted by related experiments to reduce undesired interactions under the Mutually Exclusive Tests option.

You can learn more about targeting here!

Step 5: Enable the Google Analytics integration if desired

If you would like to create an audience for each test group in GA4, enable the integration here.

Last updated