> ## 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 on the Web

> Track user attributes and events on your website with the MoEngage Web SDK, and configure data opt-out for GDPR and CCPA.

The MoEngage Web SDK tracks who your visitors are through user attributes and what they do through events. Start with the introduction, then set the unique ID that identifies a logged-in user.

| Page | What it covers |
| - | - |
| [Web SDK Data Tracking Introduction](https://moengage.com/docs/developer-guide/web-sdk/data-tracking/web-sdk-data-tracking-introduction.md) | User attribute and event tracking in the Web SDK. |
| [Web SDK User Attributes Tracking](https://moengage.com/docs/developer-guide/web-sdk/data-tracking/web-sdk-user-attributes-tracking.md) | Track attributes such as email, name, and gender. |
| [Web SDK Events Tracking](https://moengage.com/docs/developer-guide/web-sdk/data-tracking/web-sdk-events-tracking.md) | Track user actions and their event attributes. |
| [Configure Data opt-out in Web SDK](https://moengage.com/docs/developer-guide/web-sdk/data-tracking/configure-data-opt-out-in-web-sdk.md) | Disable tracking to comply with GDPR and CCPA. |
| [Setting Unique Id for SDK versions below 2.52.2](https://moengage.com/docs/developer-guide/web-sdk/data-tracking/setting-unique-id-for-sdk-versions-below-2-52-2.md) | Set a unique user ID for login and logout below version 2.52.2. |


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