Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Profile Script for experience selection runtime

Chand856
Level 2
Level 2

Hi ,

Please help me on the below.

I have a requirement to personalize a component on a page basis visitors geo-location . For example , if visitor geo-location is US then i have one experience , and if it is UK i have another experience . Approach i am aware of is creating audiences for all the geo-locations i am interested in and add those audiences in XT activity creation. But let's say if i am interested in 20 geo-locations , i have to create 20 audiences , instead of this i would like to know whether we can select experience by evaluating geo-location during runtime .

Can it be done using profile script ?

if ( profile.geolocation.country = 'US' ) { NEED SYNTAX TO PICK EXPERIENCE}else if ( profile.geolocation.country = ' UK' )

{ NEED SYNTAX TO PICK EXPERIENCE}

1 Accepted Solution
aseelund
Correct answer by
Level 3
Level 3

you can pipe your data layer value for country into a global mbox param, then use that as part of your audience targeting within Target.

See Adobe Docu here:

Mbox Parameters

And: Behavioral Targeting

View solution in original post

1 Reply
aseelund
Correct answer by
Level 3
Level 3

you can pipe your data layer value for country into a global mbox param, then use that as part of your audience targeting within Target.

See Adobe Docu here:

Mbox Parameters

And: Behavioral Targeting

View solution in original post