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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to get A/B test activity name from getAttributes method in server side Java SDK

Avatar

Level 2

Is there a way to get the activity name of a server side A/B test using the getAttributes method in the Java server side SDK?

1 Reply

Avatar

Employee

Hi @rjb45443778 - while I am not specifically familiar with the getAttributes method in the SDK, I am aware there is a way to retrieve the activity name of a server side A/B test when Target is delivering the Activity through the response by including this dynamic token in the Target experience: ${campaign.name}.   You can also enable this to be returned as through Response Tokens.