Skip to main content

A Guide to QA Testing Your Experiment (Without Preview)

Our users usually know about QA testing the display of the variant on their live site using the preview function.

How to test how the variant displays without using preview

If you would like to test how the variant displays without using preview, follow the steps below (or alternatively watch our video: How To QA Your Test: A Step by Step Guide):

  1. Ensure both your computer and mobile phone are connected to the same Wi-Fi network.

  2. Exclude your IP address to prevent test contamination. You only need to do this once, and it applies to all your tests.

    Go to Global Settings (under Config in the left menu), find Excluded IP addresses and click Manage exclusions. Click Exclude my IP, or Add new IP/Range to add another IP. This applies to every project and test in your organization. Visitors from these IPs still see your experiments, but are left out of the results.

    You can also open this list from a test's Targeting step. It is the same organization-wide list, so an IP you add there is excluded from every test, not only that one.

  3. Set a URL parameter that ensures only you can see the test (make sure to save it!):

  4. Set the traffic allocation to the variant temporarily to a 100% and publish the test:

  5. Open the URL with the URL parameter and mida-refresh added, e.g. www.example.com?utm_campaign=qatest&mida-refresh, on your computer or phone. mida-refresh clears any assignment you already had, then reloads the page with your URL parameter kept. You are then assigned again, so you land in the variant set to 100%.

Note: If you use your mobile network to test (rather than the same Wi-Fi connected with your computer), you may be included as a user in the test. To prevent this, simply head to https://whatismyipaddress.com/ to extract your mobile network's IP address and exclude it in Global Settings or in the test.

Note: You can restart the QA process and enter the test as a new visitor by adding mida-refresh to the URL again. Using a different IP address (e.g., through a VPN) or another device also makes you a new visitor. An incognito window or a different browser on the same device and network does not, because Mida recognises you from your device and network signals.

Note: If you do QA a test with any URL parameter rules using preview, you must add the URL parameters to the end of the preview URL. For example: https://www.mida.so/?test-preview=17735&test-variant=Variant_1&utm_campaign=test

Similarly, if you need the URL parameter to persist across multiple pages, use the Segment rule instead. The URL parameter rule only applies to the landing page.

Note: If you don't see the variant, try the following:

  1. Open dev tools (F12) then head to the Console. From here, type in:

    mida.version()

    to see if your experiment is showing the Control or Variant.

  2. If you've still been bucketed into the Control, add ?mida-refresh to the URL (or &mida-refresh if it already has parameters) and press Enter. Mida clears your assignment and Mida data, removes the parameter and reloads the page, and you are assigned again. Opening the URL in an incognito window or another browser on the same device and network brings back the same assignment, so use mida-refresh instead. See I keep seeing the same variant.

  3. Double check the page targeting rules for your experiment to ensure that it's targeting the right page(s).

You may also use our free browser extension to see the Control or Variant on your live website: https://chromewebstore.google.com/detail/midaso/ejlcplfphenlembnohkibbfiebeeofmm?hl=en

When you're done testing and are ready to publish the test, simply set the traffic allocation back to distribute equally and remove the URL parameter.

If changes still need to be made and you need another pair of eyes on the test, simply pause the test and request a QA - we'll be more than happy to assist you!

Did this answer your question?