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

# Privacy manifests

> Declare which data your app collects in Apple's privacy manifest. Algolia provides template manifests for InstantSearch iOS and the Swift API clients.

If your app collects data, or if your app uses a third-party dependency that collects data,
Apple requires you to include a [**privacy manifest file**](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files) in your app that describes what data you collect and why you collect it.

Each third-party SDK that collects data has to include their own privacy manifest.
When you create your app's privacy report, the individual privacy manifest files are aggregated into a single report.

For more information about what Apple considers tracking data,
see [Tracking](https://developer.apple.com/app-store/app-privacy-details/#user-tracking) in the Apple developer documentation.

## Algolia and tracking data

By default, Algolia's InstantSearch iOS and Swift API client libraries **don't collect tracking data**.
Both libraries include privacy manifest files explicitly stating their non-data collection according to Apple's guidelines.

## Declare which data you send to Algolia

If you customize the Swift API client or InstantSearch iOS in your app,
you may have to include Algolia-specific data in your app's privacy manifest to comply with Apple's requirements.

### Review current policies

First, determine which parts of your app collect user data, and what APIs you use.
To learn more, see:

* [User token](/doc/guides/sending-events/concepts/usertoken)
* [Event types](/doc/guides/sending-events/concepts/event-types)
* [Click and conversion events](/doc/guides/sending-events)

<Note>
  If you use Algolia features that depend on events,
  such as [NeuralSearch](/doc/guides/ai-relevance/neuralsearch/get-started),
  [Recommend](/doc/guides/algolia-recommend/overview),
  or [Dynamic Re-Ranking](/doc/guides/algolia-ai/re-ranking),
  you're collecting user data.
</Note>

### Declare data collection practices

The Algolia libraries for iOS include privacy manifests that cover all required aspects:

* [InstantSearch iOS Library](https://github.com/algolia/instantsearch-ios/blob/master/Sources/PrivacyInfo.xcprivacy)
* [Swift API client](https://github.com/algolia/algoliasearch-client-swift/blob/master/PrivacyInfo.xcprivacy)

By default, these libraries don't collect tracking data.
But, if you customize the libraries in ways that involve tracking data,
Apple may require you to list Algolia-specific data in your app's privacy manifest.

### Customize the privacy manifest

Edit the privacy manifest templates to declare what data you collect and why, and which APIs you use.
Make sure that each entry is justified and aligns with [Apple's guidelines](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files).

### Integrate the privacy manifest into your app

Integrate your privacy manifest to your iOS project by adding the privacy manifest to your project's settings
and make sure it's included in your build process.
