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

# Data Tracking in Capacitor

> Track user attributes, identity, and events from JavaScript in your Capacitor app, and delete a user when asked.

The MoEngage Capacitor plugin exposes tracking from JavaScript, so you call the same APIs on Android and iOS. Start by identifying the user, then track the events your campaigns depend on.

| Page | What it covers |
| - | - |
| [Tracking User Attributes and User Identity](https://moengage.com/docs/developer-guide/capacitor-sdk/data-tracking/tracking-user-attributes.md) | Track attributes and manage login and logout states. |
| [Tracking Events](https://moengage.com/docs/developer-guide/capacitor-sdk/data-tracking/tracking-events.md) | Track user actions and event properties for segmentation and campaigns. |
| [Install/Update Differentiation](https://moengage.com/docs/developer-guide/capacitor-sdk/data-tracking/install-update-differentiation.md) | Set the app status as install or update for migration tracking. |
| [Enable Advertising Identifier Tracking](https://moengage.com/docs/developer-guide/capacitor-sdk/data-tracking/enable-advertising-identifier-tracking.md) | Enable advertising identifier tracking for device analytics. |
| [Delete User From MoEngage Server](https://moengage.com/docs/developer-guide/capacitor-sdk/data-tracking/delete-user-from-moengage-server.md) | Delete the current user from the MoEngage server on Android. |
| [Setting Unique ID for SDK versions below 6.0.0](https://moengage.com/docs/developer-guide/capacitor-sdk/data-tracking/setting-unique-id-for-sdk-versions-below-6.0.0.md) | Use the legacy `setUniqueId()` API below version 6.0.0. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.