Split testing pop-up by splitting traffic
Hello. I am looking to run a split test where 10% of my audience receives an age verification pop up, the 90% do not receive the pop up. I do not have multiple URL's, as the pop up is going to be displayed on all pages of the website. Would it be possible to create a test where this % of traffic sees this pop-up? I am used to runnign tests where this is more than 1 URL to A/B test, but in this case, there is no additional URL as the variation with pop up must come up on every single page of the website.Looking forward to any assistance. thanks!!
Anytime, the code would be in the variation code section of your experiment on the the 90% variant. I don't know what your site is so can't tell you the exact code to write, but it would be along the lines of something like this:
Where lightbox would be the ID of your overlay, pop up, or whatever element you want to remove for the 90%.