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

# Heap

> Integrate Heap analytics with your Mintlify documentation site to automatically capture user interactions and events for behavioral analysis.

Add the following to your `docs.json` file to send analytics to Heap.

<CodeGroup>
  ```json Analytics options in docs.json theme={null}
  "integrations": {
      "heap": {
          "appId": "required"
      }
  }
  ```

  ```json Example theme={null}
  "integrations": {
      "heap": {
          "appId": "1234567890"
      }
  }
  ```
</CodeGroup>

Replace `1234567890` with your Heap app ID. You can find this in your [Heap account settings](https://heapanalytics.com/app/settings).


## Related topics

- [Integrations](/docs/organize/settings-integrations.md)
- [Analytics integrations](/docs/integrations/analytics/overview.md)
- [Content Security Policy (CSP) configuration](/docs/deploy/csp-configuration.md)
