Expand my Community achievements bar.

Take 10 minutes to complete an Adobe Target review on Gartner Peer Insights, and as a thank you for your time, you’ll have the option to receive a $25 gift card!

XT split all visitors audience 50/50

Avatar

Level 1

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.

2 Replies

Avatar

Community Advisor

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';
  }
}

 

Avatar

Level 1

Thank you @Rajneesh_Gautam_ 

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.

Best,

Aida

Screenshot 2023-09-28 at 4.45.37 PM.png