> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kameleoon.API.Events

> Reference for the Kameleoon.API.Events.trigger method, which fires custom events for targeting.

This module triggers custom events for experiment and personalization targeting. Review the [Activation API events documentation](https://docs.kameleoon.com/developer-docs/apis/activation-api-js/api-reference/activation-api-events.md) for standard DOM events.

## trigger

The `trigger()` method triggers a custom event for targeting segments.

```javascript theme={null}
Kameleoon.API.Events.trigger("myTriggerEventName");
```

**Arguments**

| Name | Type | Description |
| - | - | - |
| eventName | String | Name of the event to trigger. This field is mandatory. |
