Run an Experiment

Parameter Propagation in Your Original or Variation Pages

Learn more about adding the experiment code to your web pages.

You can enter URLs with dynamic parameters for your original or variation pages.

If a user to your experiment arrives with URL parameters, then Content Experiments appends these to the original or variation page URLs unless they conflict with the URL parameters you supplied during setup.

There are four possible scenarios depending on whether you supplied URLs with dynamic parameters for your original page, variation pages, both, or neither.

1. No URL parameters

If you don’t set any URL parameters in either your original or variation page, then users keep any URL parameters they arrive with.

Let’s say you set your experiment pages as:

  • Original page: www.example.com/a
  • Variation page: www.example.com/b

If users arrive without URL parameters, then they see one of those pages as-is. If they arrive with URL parameters, then those URL parameters are appended to the URL. For example, if the user clicks a link to www.example.com/a?id=50, then the user sees one of these two pages:

  • Original page: www.example.com/a?id=50
  • Variation page: www.example.com/b?id=50

2. URL parameters in your original page

If you set URL parameters in your original page, then Experiments ignores the parameters except to display the preview and thumbnail. Let’s say you set your experiment pages as:

  • Original page: www.example.com/a?id=50
  • Variation page: www.example.com/b

If users arrive with no URL parameters, then they see one of these two pages:

  • Original page: www.example.com/a
  • Variation page: www.example.com/b

If users arrive with URL parameters, then those URL parameters are appended to the URL. For example, if the user clicks a link to www.example.com/a?cat=1, then the user sees one of these two pages:

  • Original page: www.example.com/a?cat=1
  • Variation page: www.example.com/b?cat=1

3. URL parameters in your variation pages

If you set URL parameters in your variation pages, then Experiments incorporates them into what the user sees. Let’s say you set your experiment pages as:

  • Original page: www.example.com/a
  • Variation page: www.example.com/b?id=50

If users arrive with no URL parameters, then they see one of these two pages:

  • Original page: www.example.com/a
  • Variation page: www.example.com/b?id=50

If users arrive with URL parameters that conflict, then the URL parameters you supplied during the experiment setup override the URL parameters that user arrive with. For example, if the user clicks a link to www.example.com/a?id=1, the user sees one of these two pages:

  • Original page: www.example.com/a?id=1
  • Variation page: www.example.com/b?id=50

If users arrive with URL parameters that don’t conflict, then the URL parameters are appended to the page URL. For example, if the user clicks a link to www.example.com/a?cat=1, then the user sees one of these two pages:

  • Original page: www.example.com/a?cat=1
  • Variation page: www.example.com/b?id=50&cat=1

4. URL parameters in both your original and variation pages

If you set URL parameters in your original and variation pages, then Experiments ignores the parameters in your original page and incorporates the parameters from your variation pages into what the user sees. Let’s say you set your experiment pages as:

  • Original page: www.example.com/a?cat=1
  • Variation page: www.example.com/b?id=50

If users arrive with no URL parameters, then they see one of these two pages:

  • Original page: www.example.com/a
  • Variation page: www.example.com/b?id=50

If users arrive with URL parameters that conflict, then the URL parameters you supplied during the experiment setup will override the URL parameters that users arrive with. For example, if the user clicks a link to www.example.com/a?id=1, then the user sees one of these two pages:

  • Original page: www.example.com/a?id=1
  • Variation page: www.example.com/b?id=50

If users arrive with URL parameters that don’t conflict, then the URL parameters are appended to the page URL. For example, if the user clicks a link to www.example.com/a?prod=8, then the user sees one of these two pages:

  • Original page: www.example.com/a?prod=8
  • Variation page: www.example.com/b?id=50&prod=8