Instruct the Optimizely Web Experimentation snippet to release queued events.
Use in conjunction with holdEvents for granular control over the timing of when the Optimizely Web Experimentation snippet sends events to the logging endpoint.
Syntax
window["optimizely"].push(sendEvents);
Parameters
| Parameter and Type | Child Attribute | Description |
|---|---|---|
| sendEvents SendEventsObject | N/A | An object with the type field set to sendEvents. The other fields are the function arguments. Required. |
| type string | Child attribute of type SendEventsObject. | The argument indicating that you are using the sendEvents function. Required. |
Example call
window["optimizely"].push({
"type": "sendEvents"
});