Expand my Community achievements bar.

JOIN US Next Wednesday, 12/6/23 @ 8am PT for the next Community Q&A Coffee Break! Bring your Machine Learning, AI Reporting & Analysis Questions to the chat. Experts Brent Kostak, Cristinel Anastasoaie, & Drew Burns of the Adobe Target Product Team will be providing deep insights and useful tips
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);
});