You need to generate a new property to use with Mintlify. The data collected goes into the same project as your other Google Analytics data. If you are using the old version of Google Analytics, Universal Analytics, you can still generate a property. data is slightly different from UA data but still gets collected in the same project.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.
Connect GA4 to Mintlify
Create a web stream
You need to create a web stream to get the Measurement ID to put into Mintlify. Click the cog at the bottom left of the Google Analytics screen. Then click Data Streams.
G-XXXXXXX and appears under Stream Details immediately after you create the Web Stream.
Put measurement ID in docs.json
Add your Measurement ID to yourdocs.json file like so:
docs.json
Wait
Google Analytics takes two to three days to show your data. You can use the Google Analytics Debugger to check your analytics configuration. The extension logs to your browser’s console every time GA4 makes a request.Preview links have analytics turned off.