Traffic Split - Priority Handling for Multiple Redirect Activities | Community
Skip to main content
tksol95
Level 2
June 7, 2023
Solved

Traffic Split - Priority Handling for Multiple Redirect Activities

  • June 7, 2023
  • 1 reply
  • 740 views

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: 

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by PratheepArunRaj

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

1 reply

PratheepArunRaj
Community Advisor and Adobe Champion
PratheepArunRajCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 11, 2023

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

Thank You, Pratheep Arun Raj B (Arun) | Xerago | Terryn Winter Analytics