Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Instruct the Optimizely Performance Edge snippet to release queued events.

Description

Use in conjunction with holdEvents 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.

window.optimizelyEdge.push(sendEvents);
window.optimizelyEdge.push({
  "type": "sendEvents"
});

Parameters

This table provides general information about the required and optional parameters.

ParameterTypeDescription
sendEvents
required
objectAn object with the type field set to sendEvents.

The other fields are the function arguments.
sendEvents.type
required
stringThe argument indicating that you are using the sendEvents function.