The Audience step is specific to all the types of experiments – A/B testing, Personalization, Interaction or Survey -, and using it in an improper manner is one of the most common factors that prevents an experiment from being displayed properly.

Into the ‘Audience’ step you must insert the URLs of the web pages where you want your experiment to be triggered.

You can set a condition based on the following statements:

  • URL is
  • URL is not
  • URL starts with
  • URL ends with
  • URL contains
  • URL does not contain
  • URL Regex
  • Page contains keyword.

 

These are the most common cases where the misuse of the Audience tab causes errors in applying an experiment:

Case 1.

One of the most common mistakes is directly copying the URL from the browser and pasting it into the ‘Audience’ field when using the ‘URL is’ condition.
When doing this, most of the time, a “/ ” character will be added at the end of the URL that has been copied into the Audience tab.

It is very important to check if the URL inserted into the Audience tab is identical with the one from the browser.

This is a general example of the way the URL appears into the browser:

1

And the way that it has been copied into the ‘Audience’ tab:

 

Case 2.

Another case that can also cause errors in applying an experiment is when a user types in, manually, an URL into the ‘Audience’ tab and omits the fact that the actual URL does not contain ‘www’.

In this case, when the condition used is ‘URL is’,  the link will be considered invalid and the experiment will not be applied.

This is an example of the way the URL appears into the browser:

3

And the way it has been typed into the Audience tab:

 

Case 3.

This case presents the situation when a user enables SSL Certificates for a website. What will happen regarding the URL structure is that ‘http‘ will turn onto ‘https‘.

In this case, if a user has already created an experiment on the initial version of the website (where the URL structure is set by using ‘http’), that specific experiment won’t apply on the website where the SSL was enabled (where the URL structure is set by using ‘https’) due to the fact that the URL condition becomes invalid.

This is a general example of the way the URL appears into the browser after SSL Certificate has been enabled:

7

 

 

And the way it has been set into the ‘Audience’ tab before enabling SSL Certificate:

A solution for this is to Edit the already created experiment and modify the URL by replacing ‘http’ with ‘https’.

In this case, it is important to also modify the website’s URL that has been introduced into the platform for preventing future errors that may occur.

You can do this by going to ‘Edit website‘ into your Dashboard and make the changes into the corresponding pop-up window:

 

Case 4.

This case presents the situation when only a part of the desired traffic is included in the experiment.

Let’s say for example that an active paid campaign exists with the purpose of directing traffic to the home page of a website. In order to be able to track the results of that campaign, specific UTM parameters have been added to the initial URL.

In this case, if the URL condition into the Audience tab is set using ‘URL is‘ the traffic that comes from the paid campaign will not be included in the experiment (this happens due to the fact that the condition is set to trigger the experiment only for identical links, which in our case www.example-domain.com is not identical with www.example-domain.com/?utm_source=newsletter…).

A solution for this is to set 2 URL conditions:

  • one should be ‘URL is‘  – http://www.example-domain.com – the link should be identical with the one from the browser, pay attention to the cases mentioned above.
  • the other one should be ‘URL starts with‘  – http://www.example-domain.com? ( after ‘ ? ‘, the extra parameters are added).

This is a general example of the way the URL with parameters appears into the browser:

5

And the way the URL condition must be set into the Audience step:

55fae2470a8c42eebbac9e8a568131f7