Skip to main content
Track how users interact with your documentation by connecting to third-party analytics platforms. Mintlify sends engagement events to your configured analytics providers.

How analytic integrations work

When you add analytics integrations to your documentation site, Mintlify tracks user interactions like page views, search queries, API playground requests, and feedback submissions and sends them to your analytics providers. You can connect any number of supported analytics providers by adding your API keys to the docs.json file. Analytics events flow to your providers as soon as you add them to your configuration with no further configuration required.

Supported platforms

Amplitude

Mixpanel

Clarity

PostHog

Google Analytics 4

Google Tag Manager

Hightouch

HotJar

LogRocket

Pirsch

Plausible

Fathom

Clearbit

Heap

Segment

Setup

Add your analytics provider credentials to the integrations object in docs.json. Only include the platforms you want to use.
docs.json

Example configuration

docs.json

Tracked events

All tracked events use the docs. prefix.

Code and API playground

Interactive components

Assistant and agent

Contextual menu