How to create a Split URL test

Split URL testing is a method used to compare two versions of a web page or a website by splitting the traffic between them. For example, you have two versions of pricing page, i.e., Version 1 with URL www.customfit.ai/pricing and Version 2 with URL www.customfit.ai/pricing-variaition. You then split your webpage traffic between these two URLs, with half of the visitors seeing Version A and the other half seeing Version B.

Steps to create a Split URL test

Create an experience

  • Log in to the dashboard and navigate to the Experience page from the sidebar.

  • Click on the 'Create Experience' button.

  • After giving your A/B test a name and a description, click the "Create Experience" button.

Add page paths

Add the URL's of two pages you want to test. One URL will be the original page (Version A) and the other URL will be the redirection URL (Version B).

  • Click on the 'Add pages' button.

  • From the drop-down, select the Simple page path match option and enter the page URL of the original page (Version A). Once the page URL is entered, click on the 'Add' button.

  • Again, click on the 'Add pages' button.

  • From the drop-down, select the Simple page path match option and enter the page URL of the redirection page (Version B). Once the page URL is entered, click on the 'Add' button.

Create behaviors

  • Click on the 'Add Behavior' button.

  • Then give a proper Name and Description for your behavior.

  • Click on the 'Add' button.

Configure Split URL

  • Click on the 'open visual editor' button present on the behavior.

  • From the popup, choose the Version A page URL. Then the Version A page will open in a visually editable way.

  • Click on the </> icon present in the toolbar.

  • From the dropdown choose the 'Redirection/Split URL' option.

  • Enter the Version B page URL to which you want the visitor to be redirected and then click on the 'Save Changes' button. If you want to redirect to Version B page along with query parameters then select the 'Redirect along with query parameters?' checkbox.

  • Click on the 'Finalize & Exit' button.

With this configuration, anyone who lands on Version A of the pricing page will be redirected to Version B of the pricing page.

Targeting audience

You can target split URL tests to specific audience segments. For example, you can restrict the split URL test to visitors from the United States.

  • Click on the 'Add Rules' button.

  • Choose the audience category you wish to target for the split URL test from the popup.

  • Then, from the attribute dropdown, select one of the attributes. For the above example, the audience category will be geography, and the attribute will be country.

  • Then, from the operation dropdown, select one of the operations, such as 'is one of' or 'is not one of' based on your requirement. For the above example, the operation type will be 'is one of'.

  • Then, provide the value in the input field. For the above example, the value will be the United States. You can enter multiple values. In a few of the cases, you can see the drop-down option under the values section.

  • Finally, under the targeting behavior dropdown, select the percentage rollout option. Then configure the value as 50% for the default and 50% for the newly created behavior.

  • Once the target audience is configured, make sure to click on the 'Save' button.

Add goals

In the experience goals tab, perform the below steps to add a goal.

  • Click on the 'Add goals' button.

  • In the popup, select the type of goal event you want to add.

  • Then select the goal event that you want to add.

  • Enter the access code and click on the 'Add' button.

  • If you don't find your goal event, then you can create a new goal event by clicking on the 'Create a new goal' option.

By default, the first goal event that you add will be considered the primary goal. If you have multiple goal events, then you can make any one of the goal events the primary goal event.

Preview of the split URL test

Once a split URL test is configured, make sure to preview it before taking it live.

  • Click on the 'Preview' icon present on the behavior.

  • Then from the popup select the Version A page URL.

Instead of opening Version A page you will be redirected to Version B page. If you see this behavior then your split URL test has been configured properly.

If you do not see the changes in the preview, then check if the CustomFit code snippet is installed on the website. If you have installed the code snippet, then check whether your browser is blocking the opening of new tabs.

Taking a split URL test live

To take the split URL test live click on the power switch toggle.

Last updated