---
title: "React Native SDK: Track events"
description: "Track custom events and attach event properties with the Gleap React Native SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/501-react-native-sdk-track-events
collection: "React Native"
updated: 2026-11-01
language: en
---

# React Native SDK: Track events

Track custom events and attach event properties with the Gleap React Native SDK. Follow the integration code examples.

Gleap custom events allow you to log events at certain key positions in your application. This is super useful to get an even better understanding of what's happening within an application. Custom events do have a name and can contain event specific data as well.

## Track an event with attached data

It's possible to attach data to custom events. The data can be viewed later in the bug report.

```javascript
Gleap.trackEvent("User signed in", { userId: 1242, name: "Isabella" });
```

Your events will appear in the activity log of the bug report.

## Related

- [React Native SDK setup](https://docs.gleap.ai/en/articles/499-react-native-sdk-setup.md)
- [React Native SDK: User identity](https://docs.gleap.ai/en/articles/500-react-native-sdk-user-identity.md)
- [React Native SDK: Track pages](https://docs.gleap.ai/en/articles/502-react-native-sdk-track-pages.md)
- [React Native SDK: Frontend tools](https://docs.gleap.ai/en/articles/503-react-native-sdk-frontend-tools.md)
- [React Native SDK: Forms](https://docs.gleap.ai/en/articles/504-react-native-sdk-forms.md)
