Hold events
Instruct the Optimizely snippet to hold and enqueue events.
Syntax
window["optimizely"].push(holdEvents);
Parameters
Parameter and Type | Child Attribute | Description |
---|---|---|
holdEvents | An object with the | |
type | Child attribute of type HoldEventsObject | The argument indicating that you're using the holdEvents function. Required. |
Example Call
window["optimizely"].push({
"type": "holdEvents"
});
Description
Use in conjunction with sendEvents
for granular control over the timing of when the Optimizely snippet sends events to the logging endpoint.
Updated about 3 years ago