How do I test a specific variation or share a URL for a specific variation?
You can add a URL parameter ?pk_ab_test=$variationName
to any URL to force the activation of a specific variation. Make sure to replace $variationName
with the name of a variation. If you run multiple tests on the same page, you can activate different variations by specifying the variation names comma separated: $variationName1,$variationName2
.
This is useful when you are integrating an experiment and you want to test each variation or when you need to share a URL for each variation with your colleagues to get an approval before running an experiment.
Next FAQ: How do I exclude employees or partners views and clicks from affecting my A/B tests results?
Previous FAQ: How do we ensure a user always sees the same variation when visiting the website multiple times?