Mintlify home page
Search...
⌘K
Ask AI
Community
Get Started
Get Started
Search...
Navigation
Analytics
Google Tag Manager
Documentation
Components
Integrations
Changelog
Analytics
Analytics Integrations
Amplitude
Clearbit
Fathom
Google Analytics 4
Google Tag Manager
Heap
HotJar
Koala
LogRocket
Mixpanel
Pirsch
Plausible
PostHog
SDKs
Speakeasy
Stainless
Support
Support Integrations
Intercom
Front
Privacy
Privacy Integrations
Osano
Analytics
Google Tag Manager
Add your tag ID to
mint.json
file and we’ll inject the Google Tag Manager script to all your pages.
You are responsible for setting up cookie consent banners with Google Tag Manager if you need them.
Analytics options in mint.json
Example
Copy
Ask AI
"analytics"
: {
"gtm"
: {
"tagId"
:
"required"
}
}
Was this page helpful?
Yes
No
Google Analytics 4
Heap
Assistant
Responses are generated using AI and may contain mistakes.