Running mutually exclusive AB tests on the same page
Hi!
We have 2 A/B tests running on our homepage. They target different audiences but some users fall into both audiences and are therefore currently being counted in both tests which is causing contamination in the data. How can we make these 2 tests mutually exclusive and randomly assign users who fall into both audiences into a test?
I've found here https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/use-profile-scripts-to-test-mutually-exclusive-activities.html?lang=en that we would need to create a profile script as below. What would we then need to do?

Thanks!