Instruct the Optimizely Performance Edge snippet to hold and enqueue events.
Use in conjunction with sendEvents for granular control over the timing of when the Optimizely Performance Edge snippet sends events to the logging endpoint.
The snippet must be configured to use the
/events logging endpoint in order to use this method. Learn more about how to enable this feature for your snippet.
Failure to call
sendEventsafter using this method will effectively disable all tracking until the snippet is reinitialized.
This table provides general information about required and optional parameters.
|An object with the
type field set to
The other fields are the function arguments.
|The argument indicating that you are using the holdEvents function.