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

Response Tokens Not Working

Avatar

Avatar
Validate 25
Level 4
alim92960278
Level 4

Likes

37 likes

Total Posts

103 posts

Correct Reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
alim92960278
Level 4

Likes

37 likes

Total Posts

103 posts

Correct Reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
alim92960278
Level 4

16-05-2019

I have enabled these response tokens:

activity.id

activity.name

experience.id

experience.name

offer.id

offer.name

They don't appear to be working. While on the test page, Network Tab, I search for "mbox" and after clicking see this:

  1. {sessionId: "8ebffec1cef342bc855b4547471beb9b", offers: [{plugins: [,…]}]}
    1. offers: [{plugins: [,…]}]
      1. 0: {plugins: [,…]}
        1. plugins: [,…]
          1. 0: "<script type="text/javascript"> ↵/*T&T Metadata v3 ==>Response Plugin*/ ↵window.ttMETA=(typeof(window.ttMETA)!="undefined")?window.ttMETA:[];window.ttMETA.push({"CampaignName":"","CampaignId":"","RecipeName":"","RecipeId":"","OfferId":"","OfferName":"","MboxName":"target-global-mbox"}); ↵</script> ↵"
    2. sessionId: "8ebffec1cef342bc855b4547471beb9b"

I added the ttMETA code to the page and see this in the console:

1754288_pastedImage_20.png

I'm using A4T and at.js 1.7.1

Ali

Replies

Avatar

Avatar
Give Back 5
Employee
peterhartung
Employee

Likes

24 likes

Total Posts

26 posts

Correct Reply

4 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
peterhartung
Employee

Likes

24 likes

Total Posts

26 posts

Correct Reply

4 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
peterhartung
Employee

16-05-2019

Have you tried using the experience cloud debugger:

Adobe Experience Cloud Debugger - Chrome Web Store

The ttmeta plugin wasn't designed for use with at.js.

Avatar

Avatar
Boost 50
Employee
tanvia28417128
Employee

Likes

74 likes

Total Posts

61 posts

Correct Reply

8 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
tanvia28417128
Employee

Likes

74 likes

Total Posts

61 posts

Correct Reply

8 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
tanvia28417128
Employee

17-05-2019

alim92960278

It appears that you are not qualifying for any activity on your test page. You will receive the Response token values in the 'Preview' section of the target call in developers tool. These can also be viewed through Experience Cloud Debugger.

However, the values will only appear for the mbox where the activity is getting delivered. Please ensure that you qualifying for an activity on this page and respective mbox. Hope that help.

Avatar

Avatar
Validate 25
Level 4
alim92960278
Level 4

Likes

37 likes

Total Posts

103 posts

Correct Reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
alim92960278
Level 4

Likes

37 likes

Total Posts

103 posts

Correct Reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
alim92960278
Level 4

17-05-2019

Yes I use it all the time.

Avatar

Avatar
Validate 25
Level 4
alim92960278
Level 4

Likes

37 likes

Total Posts

103 posts

Correct Reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
alim92960278
Level 4

Likes

37 likes

Total Posts

103 posts

Correct Reply

5 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
alim92960278
Level 4

17-05-2019

My test is an A/B.

Exp. B is a redirect to a different URL.

It seems that the response tokens only work on the Exp. A page; not on the redirect.

Are you saying that this is the expected behavior?

Avatar

Avatar
Boost 50
Employee
tanvia28417128
Employee

Likes

74 likes

Total Posts

61 posts

Correct Reply

8 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
tanvia28417128
Employee

Likes

74 likes

Total Posts

61 posts

Correct Reply

8 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
tanvia28417128
Employee

20-05-2019

alim92960278

That sounds working as expected to me. As mentioned response tokens would be delivered on the mboxes where Target activity is delivered.

In the case of redirect activities, the activity is actually delivered on the first page and not the page where the visitor is redirected to. Hope that helps. You may need to use 'preserve log' option in browser's developer tool to view the response tokens on the target call of first page. Hope that helps.