Configure document unloading using the Web SDK JavaScript library
Set the documentUnloading
boolean when running the sendEvent
command. Its default value is false
. Set this property to true
if you want to use the sendBeacon
method to send data to Adobe.
The
documentUnloading
property is incompatible with the renderDecisions
property. You should not set both properties to true
simultaneously.alloy("sendEvent", {
"xdm": adobeDataLayer.getState(reference),
"documentUnloading": true
});
Previous pagedata
Next pagepersonalization