Google Analytics lets the AI add Google Analytics 4 tracking to your app, with page views, events and conversions.
What you can ask for#
Add Google Analytics tracking to every page of my site.
Track a sign_up event when someone creates an account.
Count clicks on the Buy now button as a conversion event.
Connect Google Analytics#
Step 1: Find the connector
Open Tools, then Connectors, and search for Google Analytics. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in API key. Hidden fields show as dots; use the eye icon to check what you typed. Enter your GA4 measurement ID, which starts with G-, in the API key field.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call Google Analytics for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
In Google Analytics, open your web data stream and copy its measurement ID. It starts with G-. It is public, so no sign-in or Google permission is needed.
What the AI can and can't do#
- Add the Google tag to your pages and send page views and events from the browser.
- It does not read your reports, and it does not send events from the server.
- Apps you publish can call this connector too, not just the builder.
- Everything this connector does is a read, so nothing is changed on your side.
Troubleshooting#
The ID is rejected.
It must start with G-. Copy it from your web data stream.
I see no data in Analytics.
Publish your site, visit it, and allow a few minutes. Reports can lag.
Can it show my stats in my app?
No. This connector only adds tracking.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
GA4 tracking
Install the public measurement ID for page views, events, and conversions.
More in Data & analytics
Still stuck?
A person from Swarmz Support can take a look.