Expected Behaviour
Ability to buffer the websdk call on page unload so that the values can be sent on next page load event
Actual Behaviour
Currently when the page is getting unload and a Interact call is triggered, there is a very high chance that the call would get cancelled and the data would be lost, this is more promenent with clicks which leads to page navigation, and this make tracking such clicks difficult
Here is the current document how it works in AppMeasurement
https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/functions/bufferrequests
Reproduce Scenario (including but not limited to)
This is replicable in almost any website
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem