Expand my Community achievements bar.

SOLVED

mboxSessionId from AT.JS

Avatar

Level 1

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

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/...

 

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

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

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/...

 

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