Hi team,
We are implementing a new event-driven data layer and I'm using the Data Layer Manager extension to capture the push events in Adobe Data Collection. When the event is a link that leads to a new page (wipes the DOM), I can see the event being added to the data layer before the page unload, but the beacon is not sent every time (can't see the event in the debugger), hence data is not captured every time even if the data layer is updated. It seems like a timing issue since it does work sometimes, just not consistently.
Any idea how to fix this and make sure the data is sent every time before unloading the page and going to the next?
Cheers!