Skip to main content
Sep 8, 2020 6:22 PM UTC
Solved

mboxSessionId from AT.JS

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.
ravi_teja_guttulaAccepted solution
Level 2
Sep 15, 2020 11:22 AM UTC

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
Sep 15, 2020 11:22 AM UTC

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);
});

 

Translate