Skip to main content

How do I test my experiment for another country?

Updated over 2 months ago

If your experiment uses country or region targeting (e.g. “only show to US visitors” or “exclude UK”), you can test it from anywhere using IP spoof.

Steps

  1. Open your site in the browser (the page where the experiment runs).

  2. Add this to the end of the URL in the address bar:
    ?spoof-ip=8.8.8.8

    If the URL already has a ?, use & instead:

    &spoof-ip=8.8.8.8

  3. Press Enter to load the page. The system will treat you as a visitor from that IP’s country (e.g. US for 8.8.8.8).

  4. Check the experiment — you should see the variant that’s set for that country.

Examples

  • US: yoursite.com/page?spoof-ip=8.8.8.8

  • UK: yoursite.com/page?spoof-ip=81.2.69.142

  • Germany: yoursite.com/page?spoof-ip=5.9.0.1

Use any IP that belongs to the country you want to test. You can search for “IP address for [country]” or use a known IP (e.g. public DNS IPs).

Tip

Use a private/incognito window or clear your site cookies if you want to test like a brand‑new visitor from that country.


Note: This is only for testing. Normal visitors don’t add spoof-ip to the URL.

Did this answer your question?