---
title: Send Events
slug: performance-edge/api/send-events
docTags: 
createdAt: 2026-06-23T07:41:55.486Z
---

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.

```javascript
window.optimizelyEdge.push(sendEvents);
```

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

## Parameters

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

| Parameter                      | Type   | Description                                                                                   |
| ------------------------------ | ------ | --------------------------------------------------------------------------------------------- |
| **sendEvents** *required*      | object | An object with the type field set to sendEvents. The other fields are the function arguments. |
| **sendEvents.type** *required* | string | The argument indicating that you are using the sendEvents function.                           |

