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

Passing Activity name and Experience name as profile parameters

raag_s
Level 1
Level 1

Hi everyone, 

 

We are creating a user Journey through Adobe target, which relies on the visitor's experience. So In essence, if the visitor saw Exp B for a certain activity, he/she should only see Exp B for other activities. We are trying to do this through Profile scripts however I do not see Activity.name or ID as available tokens for profile scripts, This information is available in response tokens however I am not sure if this can be passed as profile parameters to be used later. 

 

Any ideas or pointers on this would be greatly appreciated. 

 

Thanks

1 Accepted Solution
Gaurav_Singh
Correct answer by
Employee
Employee

@raag_s As profile tokens run before response tokens are generated we may not utilize the response tokens for this use case. The options that I can think of is to use "adobe.target.trackEvent()".

 Use adobe.target.trackEvent(): You may try including a custom code within your Experience B and try capturing the activity details through this trackEvent call (Activity Name and Experience Name) :

<script>
adobe.target.trackEvent({"mbox":"NotificationCall", "params":{"activityName":"${activity.name}","activityExperience":"${campaign.recipe.name}","experienceId":"${campaign.id}","receipeId":"${campaign.recipe.id}"}});
</script>

 

Once these values are captured then you may utilize these details in the profile script and achieve your use case. Hope this helps.

View solution in original post

1 Reply
Gaurav_Singh
Correct answer by
Employee
Employee

@raag_s As profile tokens run before response tokens are generated we may not utilize the response tokens for this use case. The options that I can think of is to use "adobe.target.trackEvent()".

 Use adobe.target.trackEvent(): You may try including a custom code within your Experience B and try capturing the activity details through this trackEvent call (Activity Name and Experience Name) :

<script>
adobe.target.trackEvent({"mbox":"NotificationCall", "params":{"activityName":"${activity.name}","activityExperience":"${campaign.recipe.name}","experienceId":"${campaign.id}","receipeId":"${campaign.recipe.id}"}});
</script>

 

Once these values are captured then you may utilize these details in the profile script and achieve your use case. Hope this helps.

View solution in original post