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

Can I use Response Tokens in offer?

btorres76
Level 2
Level 2

I have enabled activty.id and experience.name response tokens expecting that I can use ${experience.name} in an offer (or option).  Am I using this incorrectly? Also, when I put the following code in the offer, tokens is empty:

document.addEventListener(adobe.target.event.REQUEST_SUCCEEDED, function (e) {

    var tokens=e.detail.responseTokens;

});

0 Replies