Schema:SendBeaconReliability

Revision 10735916
description"Schema for assessing the availability and reliability of sendBeacon. If sendBeacon is available, data is logged using both the sendBeacon wrapper (logPersistentEvent) and the img approach (logEvent). Otherwise, it only uses logEvent"
properties
browserSupportsSendBeacon
type"boolean"
description"navigator.sendBeacon is present"
requiredtrue
method
type"string"
description"Method used for delivering the event (if sendBeacon is supported, it's expected to have duplicate events with only this field different, to correlate the reliability)"
requiredtrue
enum
"logEvent"
"logPersistentEvent"
logId
type"string"
description"Psuedo-random identifier generated client-side, so logEvent and logPersistentEvent events can be correlated."
requiredtrue