How to get adobe experience name in javascript console

Avatar

Avatar

tc82

Avatar

tc82

tc82

30-10-2019

Hello All,

We have a requirement where we need to capture the experience name in the browser .

This experience name is the one which we have for any activity type we have in target.

Please let me know if there are any way we can get these values.

i have used mBoxDivIdsMap, mBoxNameMap, still no luck.

Thanks,

Tulasi.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

surebee

Employee

Avatar

surebee

Employee

surebee
Employee

30-10-2019

Hi Tulasi,

Have you considered using Response tokens​ ?

Answers (8)

Answers (8)

Avatar

Avatar

tc82

Avatar

tc82

tc82

04-11-2019

I have opened the ticket with adobe and they helped me to resolve the issue.

Mainly we need to use response token and configure the activity properly in target.

Now all good. Thanks for your help.

Thanks,

Tulasi.

Avatar

Avatar

surajp86368405

Avatar

surajp86368405

surajp86368405

04-11-2019

Hi  -  i just want to be able to capture the the experience names that a user has seen and capture those into a variable.

Avatar

Avatar

surebee

Employee

Avatar

surebee

Employee

surebee
Employee

04-11-2019

Hi surajp86368405​,

Could you please elaborate on your use case? What version of at.js are you using?

Have you looked at the documentation outlined in: Response tokens ?

Avatar

Avatar

surebee

Employee

Avatar

surebee

Employee

surebee
Employee

04-11-2019

Wonderful, thanks, Tulasi! Glad to hear that the issue is resolved. Have a great day!

Avatar

Avatar

surajp86368405

Avatar

surajp86368405

surajp86368405

04-11-2019

is there any documentation around it ? what needs to be done in the activity. i am trying to do this as well.

Avatar

Avatar

surebee

Employee

Avatar

surebee

Employee

surebee
Employee

04-11-2019

Hi Tulasi,

What is the URL you are using to test please?

Thanks!

Avatar

Avatar

tc82

Avatar

tc82

tc82

30-10-2019

Checked target and rsponsetokens i need are enabled(already) and so added the code in DTM.

In the response am not seeing the responseTokens at all,

please see the screen shot.

Am i missing anything?

NoRepnseToken.png

I really appreciate all your help.

Thanks,

Tulasi.

Avatar

Avatar

tc82

Avatar

tc82

tc82

30-10-2019

Thank you @surebee,  will try now.

If works will update the forum.

Thanks,

Tulasi.