mboxSessionId from AT.JS | Community
Skip to main content
September 8, 2020
Solved

mboxSessionId from AT.JS

  • September 8, 2020
  • 1 reply
  • 954 views

I am trying to get the users mboxSessionID to pass to a cross domain. recently upgraded to at.js and mboxFactoryDefault.getSessionId() is no longer available.

Is there equivalent in at.js

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ravi_teja_guttula

Hi @mbedard ,

 

I think the below code will give the info required.

 

https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/functions-overview/atjs-custom-events.html

 

document.addEventListener(adobe.target.event.REQUEST_SUCCEEDED, function(event) {
  console.log('Event', event);
});

 

1 reply

ravi_teja_guttulaAccepted solution
Level 2
September 15, 2020

Hi @mbedard ,

 

I think the below code will give the info required.

 

https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/functions-overview/atjs-custom-events.html

 

document.addEventListener(adobe.target.event.REQUEST_SUCCEEDED, function(event) {
  console.log('Event', event);
});