Send events
Instuct the Optimizely snippet to release queued events.
Syntax
window["optimizely"].push(sendEvents);
Parameters
Parameter and Type | Child Attribute | Description |
---|---|---|
sendEvents | An object with the | |
type | Child attribute of type SendEventsObject | The argument indicating that you're using the sendEvents function. Required. |
Example Call
window["optimizely"].push({
"type": "sendEvents"
});
Description
Use in conjunction with holdEvents
for granular control over the timing of when the Optimizely snippet sends events to the logging endpoint.
The snippet must be configured to the use the /events
logging endpoint in order to use this method. Learn more about how to enable this feature for your snippet.
Updated about 3 years ago