# Exposure tracking in Amplitude Experiment

> For AI agents: a documentation index is available at [/docs/llms.txt](/docs/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

When running an experiment, track each user's [exposure](https://amplitude.com/docs/feature-experiment/under-the-hood/event-tracking#exposure-events) to your feature flag's variant experience. Without exposure tracking, results aren't reliable.

> **Note:**
>
> Exposure tracking is optional for feature flags that don't require analysis.

## Analytics REST API

In this example, the [Analytics REST API v2.0](https://amplitude.com/docs/apis/analytics/http-v2) sends an [exposure event](https://amplitude.com/docs/feature-experiment/under-the-hood/event-tracking#exposure-events) to Amplitude with `curl`.

When the request succeeds, a user appears in the Exposures chart in Amplitude Experiment.

The flag is now active in your deployment, and your experiment evaluated a user and served them the variant.

## SDKs

As with fetching variants, you can simplify exposure tracking using a client-side [Experiment SDK](https://amplitude.com/docs/sdks/experiment-sdks) in your app. Client-side Amplitude Experiment SDKs [automatically track exposures](https://amplitude.com/docs/feature-experiment/under-the-hood/event-tracking#automatic-exposure-tracking) through your installed analytics SDK whenever the Experiment SDK accesses a variant from the variant store.
