Analytics
Analytics Integrations
Integrate with an analytics platform to track events
Automatically send data about your documentation engagement to your third party analytics provider.
All integrations
Amplitude
Mixpanel
PostHog
Google Analytics 4
Google Tag Manager
HotJar
Koala
LogRocket
Pirsch
Plausible
Fathom
Clearbit
Heap
Segment
Enabling analytics
Set your analytics keys in docs.json
. You can add an unlimited number of analytics integrations for free.
The syntax for docs.json
is below. You only need to include entries for the platforms you want to connect.
Analytics options in docs.json
Analytics events
We send the following events to your analytics provider.
Event name | Description |
---|---|
accordion_close | When a user closes an accordion. |
accordion_open | When a user opens an accordion. |
api_playground_call | When a user calls an API in the API playground. |
code_block_copy | When a user copies code from a code block. |
cta_click | When a user clicks a call to action. |
expandable_close | When a user closes an expandable. |
expandable_open | When a user opens an expandable. |
header_nav_item_click | When a user clicks a header navigation item. |
pageview | When a user views a page. |
powered_by_mintlify_click | When a user clicks the “Powered by Mintlify” link. |
scroll_to_bottom | When a user scrolls to the bottom of a page. |
thumb_vote | When a user votes (thumbs up or down) on a page. |
ai_chat_citation_click | When a user clicks a citation in a chat. |
ai_chat_feedback_positive_click | When a user clicks the positive feedback button in a chat. |
ai_chat_feedback_negative_click | When a user clicks the negative feedback button in a chat. |
chat_completed | When a chat session is completed. |
chat_enter | When a user initiates a chat. |
chat_followup | When a user sends a follow up message. |
chat_shared | When a user shares a chat conversation. |
search_close | When a user closes the search bar. |
search_result_click | When a user clicks a search result. |