Expand my Community achievements bar.

SOLVED

Traffic Split - Priority Handling for Multiple Redirect Activities

Avatar

Level 2

I am attempting to solve for the following:

  • If a user lands on a specific page and their URL contains QSP "campaignID=123" perform a 50/50 traffic split redirect to URL A & B
  • If a user lands on the same page and their URL contains QSP "campaignID=345" perform a 50/50 traffic split redirect to URL C & D
  • All other users who land on the page should be redirected to URL E

I plan to handle this using a series of 3 XT activities with the Redirect URL Target functionality which would all live simultaneously on the landing page redirects to URLs A-E. I plan to set the priorities of the first two scenarios to a higher but equal value (e.g. both = 999) and the "all other users" scenario priority = 1.

How will this impact the rendering of the page and which URL a user will be redirected to? In the ExperienceLeague documentation related to Priority it states: 

tksol95_1-1686147736609.png

Does this mean that Target would redirect to the lower priority URL (Experience E) and then redirect again to the correct URL for users containing a campaignID QSP? Is there a different way to set up the activities to address this scenario that would be more optimal?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

Dear @tksol95 ,

For redirections, it should go with the priorities and I think lower-priority experiences will not affect the higher ones.

Can we deal with everything in a single XT activity like the one below?

Audience (campaignID=123 & profile script GroupA) - Redirect to URL A

Audience (campaignID=123 & profile script GroupB) - Redirect to URL B

Audience (campaignID=345 & profile script GroupA) - Redirect to URL C

Audience (campaignID=345 & profile script GroupB) - Redirect to URL D

Audience - Redirect to URL E

Profile Script here will split the traffic into two groups using the below script.

Script Name: twoGroups

 

if (!user.get('twoGroups')) {
var random_number = Math.floor(Math.random()*99);
if (random_number <= 49) {return 'GroupA';} else {return 'GroupB';}
}

Thank You, Pratheep Arun Raj B (Arun) | NextRow DigitalTerryn Winter Analytics

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor and Adobe Champion

Dear @tksol95 ,

For redirections, it should go with the priorities and I think lower-priority experiences will not affect the higher ones.

Can we deal with everything in a single XT activity like the one below?

Audience (campaignID=123 & profile script GroupA) - Redirect to URL A

Audience (campaignID=123 & profile script GroupB) - Redirect to URL B

Audience (campaignID=345 & profile script GroupA) - Redirect to URL C

Audience (campaignID=345 & profile script GroupB) - Redirect to URL D

Audience - Redirect to URL E

Profile Script here will split the traffic into two groups using the below script.

Script Name: twoGroups

 

if (!user.get('twoGroups')) {
var random_number = Math.floor(Math.random()*99);
if (random_number <= 49) {return 'GroupA';} else {return 'GroupB';}
}

Thank You, Pratheep Arun Raj B (Arun) | NextRow DigitalTerryn Winter Analytics