Access the AA action promises in external code?

ng772

04-08-2020

Hi,

 

We have a pretty neat data layer implementation but are running into issues where the data layer is being cleared/replaced too quickly in Launch's asynchronous environment (due to events firing too quickly after another). We are wanting to implement some sort of "wait for track" logic into our data layer queue so that it isn't cleared/replaced until the previous beacon has fired. We would love to have this work based on promises rather than a static time delay, and I'm pretty sure that "AA - Set Variables" returns a promise and I'm assuming that "AA - Send Beacon" does as well, just not sure how to access it? 

 

It would be preferably to access it externally, but internally would work as well.

 

Hope this makes sense.

actions Adobe Analytics launch Promises

Accepted Solutions (0)

Answers (0)