Analytics
Google Analytics 4
Generate a new property to use with Mintlify. This works with both new GA4 properties and if you’re migrating from Universal Analytics.
Setup Instructions
- Create a web stream in GA4:
- Go to Settings (cog icon) → Data Streams
- Click “Add Stream” → Web
- Enter your Mintlify docs URL
- Add your Measurement ID (
G-XXXXXXX
) tomint.json
:
mint.json
- Wait 2-3 days for data to appear in Google Analytics.
Verify setup using the Google Analytics Debugger Chrome extension.
Preview links have analytics turned off.
Was this page helpful?