Hello, I need help to setup an Experience Targeting for All visitors, splitting the audience Experience A 50% / Experience B 50%, any recommendations on how to setup the audience? I need to use XT and not A/B option.
Thank you.
Topics
Topics help categorize Community content and increase your ability to discover relevant content.
hi @AidaGuerra - while there's no out-of-box way, you can use a "bucketing" profile script - that assigns a visitor to one of the two buckets using random number.
if (!user.get('AB_Test_Groups')) {
var random_number=Math.floor(Math.random()*99);
if(random_number <= 49){
return 'GroupA';
}
else{
return 'GroupB';
}
}
Do I have to create an audience with the profile script for each of the experiences? Or can one audience be placed in both experiences? See screenshot for reference.