Is there a way to get test metadata through the browser.

Avatar

Avatar
Validate 1
Level 2
anthonym7518193
Level 2

Likes

5 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
anthonym7518193
Level 2

Likes

5 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
anthonym7518193
Level 2

20-03-2018

Currently the getOffer method only returns the "action" portion of the returned json from target. When looking into the network panel of my browser, I can see all the other data available in the response object (Info like test name, experience id,  activity id). However, I have no way of grabbing this data.

I have seen suggestions around putting this info into the a/b test you create but that will not work for me because I need it pick up 100s of running test's metadata without changing them. Does anyone have a suggestion for getting this metadata from an API call or chiseling it out of the getOffer response?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
anthonym7518193
Level 2

Likes

5 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
anthonym7518193
Level 2

Likes

5 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
anthonym7518193
Level 2

21-03-2018

Hi Rohit,

Thank you for responding so quickly. Unfortunately the responseTokens/plugins would have to be configured before implementing at.js. This was my original problem. I work for a large company with a lot of distributed teams so having everyone reimplement at.js in their codebase isn't possible. I essentially needed to come up with something that is backwards compatible with every teams implementation of at.js. Fortunately I was able to figure out a way to make this happen late last night. Here's how:

We have a tag manager implemented on every team's page. I created a tag that makes it's own HTTP request to Adobe Target containing our mBoxHost, mboxURL, mboxName and an mBox Session number (which I just set to "1") . That request returns the actual response in from Target with all the responseTokens and data I needed.Hope this helps someone in the future.

- Eden Mazzola

Answers (2)

Answers (2)

Avatar

Avatar
Ignite 1
Level 2
brianh96587047
Level 2

Likes

3 likes

Total Posts

9 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Ignite 1
Level 2
brianh96587047
Level 2

Likes

3 likes

Total Posts

9 posts

Correct reply

2 solutions
Top badges earned
Ignite 1
Boost 3
Boost 1
Affirm 1
View profile
brianh96587047
Level 2

21-03-2018

I think plugins should be brought back for this very reason.  Why go back and have to change a whole implementation when we had something that allowed us to easily use without touching the at.js source code. 

Avatar

Avatar
Give Back 10
Employee
jrohit
Employee

Likes

14 likes

Total Posts

27 posts

Correct reply

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

Avatar
Give Back 10
Employee
jrohit
Employee

Likes

14 likes

Total Posts

27 posts

Correct reply

9 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
jrohit
Employee

20-03-2018

Hi,

I am not sure if you gone through the below link on response tokens, but it gives you information around capturing data about campaigns.

Response Tokens

~Rohit