Skip to main content

Handling multiple markets

If you have a website that has the same HTML structure but uses different top domains based on country code you need to think about the implementation of the script.

Example

  • https://domain.com
  • https://domain.co.uk
  • https://domain.se
  • https://domain.no
  • etc..

You can use the same implementation script for all of these but you can also set up a separate website (script) for each of these.

There are pros and cons for both approaches, so consider the the following before making a decision;

A single script for all markets

Pros

  • Easier script implementation - just add the same script to all pages regarless of market.
  • Running an experiment across markets will get you faster results as more visitors are exposed to the experiment.
  • Easier handling of presaved Audiences and Goals - no repeat setups for each market.
  • You can still run experiments for specific market(s) by using Audience.

Cons

  • You always need to set a Audience condition to specify market if the experiment should not run for all markets.
  • Experiment results need to be filtered to see the impact on a specific market.
  • Dynamic market specific changes are not supported by the visual editor.

One script per market

Pros

  • Easier separation of experiments per market - no risk of running an experiment on the wrong market.
  • Separated experiment results per market by default.
  • Assign different users to different markets.

Cons

  • Can't run a single experiment for multiple markets.
  • Need to set up Audience and Goals for each market.
  • If the website changes structure updates for presaved Audience and Goals will need to be made for each market.