# Event dispatchers

### What is an event dispatcher?

Batch can trigger with a number of analytics-oriented events that might be of interest in external analytic tools. An event dispatcher is the code that listens to those events, and *dispatches* them to the solution of your choice.

Event dispatchers are implemented using native code on both iOS and Android as they are a low level feature of the SDK.

**For this reason, event dispatchers are only compatible with Ionic Capacitor projects. Cordova is not supported.**

### Add a "ready-to-go" dispatcher

Batch provide you with premade dispatchers for specific use cases (aka ready-to-go dispatcher). They will automatically track events into your analytics solution with a predetermined structure.

As Ionic Capacitor makes it easy to tweak the native projects, please follow the native event dispatcher documentation for each platform:

* [Android](https://doc.batch.com/developer/sdk/android/event-dispatchers)
* [iOS](https://doc.batch.com/developer/sdk/ios/event-dispatchers)

Once you add the native dependency and register the dispatchers (when needed by the platform), any SDK interaction triggered from the plugin will automatically be tracked in the event dispachers.
