Add Google Analytics to your app
Google Analytics helps you understand how people find and use your website. In Mythos, the Google Analytics connection stores the measurement ID of a Google Analytics 4 web data stream so Mythos can use it when adding tracking to your app.
Saving the ID is the first step. Ask Mythos to add the tracking you want, publish that change, and then check the results in Google Analytics.
You can ask Mythos to build tracking for:
- Page views, including navigation between pages in your app.
- Actions such as starting a form, completing a signup, or clicking a call to action.
- Steps in an onboarding flow.
- Purchase events associated with a completed checkout.
The reports stay in Google Analytics. This connection does not give Mythos access to read your Analytics reports or manage your Google account.
Examples to build
Use these prompts to describe which visitor actions should be measured. The tracking becomes part of the app Mythos builds; it is not switched on just by saving a connection.
Choose a small set of useful events first. Tell Mythos what counts as success, especially for forms and purchases, so an attempted action is not mistaken for a completed one.
Connect Google Analytics
You need a GA4 property with a web data stream and permission to create connections in your Mythos workspace. If your team has already shared the right connection with you, use that saved connection.
Google handles event collection, report availability, retention, and any Analytics charges under your Google account.
1. Find your measurement ID
- Sign in to Google Analytics and select the property for your app.
- Open Admin → Data collection and modification → Data streams.
- Select the Web tab and open the intended stream. If you do not yet have a web stream, create one for your website in Google Analytics.
- Copy its Measurement ID. It starts with
G-, such asG-XXXXXXXXXX.
See Google’s measurement ID guide if you cannot find the stream.
A measurement ID is public configuration, not a password. It can appear in the browser code of a published website. Choosing who can use the connection in Mythos controls who can build with that saved configuration; it does not make the ID private.
2. Save it in Mythos
- From the Dashboard, open Connectors and select Google Analytics. If no saved connection is available, the setup form opens.
- Enter a Display name, such as
Website analytics. - Paste the ID into Measurement ID.
- Under Sharing, leave the connection Private, or choose Share with others to grant access to selected members. Share with workspace makes it available to the workspace.
- Click Connect Google Analytics.
Mythos checks the ID’s format. It does not sign in to Google or confirm that the stream belongs to you, so compare the saved value with your stream before continuing.
3. Add tracking to your project
Open your project and choose Chat actions (+) → Project connectors. Select the saved Google Analytics connection and click Use in this project.
Then ask Mythos what to add, for example:
Add Google Analytics tracking to every page. Track a demo request only after the form is successfully submitted.
Review the change and publish it. The saved connection alone does not modify the app or start collecting events. See Connections in Mythos for the distinction between sharing a connection and linking it to a project.
Check that events arrive
- Open your published app in a separate browser tab.
- Visit a few pages and perform one of the actions you asked Mythos to track.
- Open Reports → Realtime in Google Analytics and look for activity from your visit.
- Confirm that the event names and the points at which they fire match your intended flow.
If nothing appears, first check that you published the tracking change. Compare the measurement ID with the correct property’s web stream, then check whether a tracking blocker or the site’s consent choices prevented collection. A correctly formatted ID can still point to the wrong stream.
If one action produces duplicate events, tell Mythos which action you took and which events appeared. Ask it to check the tracking already present before adding another tag.
Limitations
- This connection supplies a GA4 measurement ID. It does not read GA4 reports into your app or provide access to the Google Analytics Data API.
- It does not create properties, streams, audiences, or key-event settings. Manage those in Google Analytics.
- A measurement ID alone does not provide the separate credentials needed for server-side Measurement Protocol collection.
- Saving the connection does not verify incoming traffic. Check event collection after publishing.
Change or stop tracking
Open Connectors → Google Analytics to manage connection access and linked projects. Unlinking a project or disconnecting the saved configuration does not remove tracking code that has already been published, and it does not revoke the measurement ID at Google.
To change the destination or stop collection, ask Mythos to update or remove the tracking in the app, then publish that change. Manage the data stream itself in Google Analytics. Check the published site afterward to confirm the result.