Google Analytics
The Google Analytics integration lets agents answer questions about your website traffic from your GA4 properties, for example in a reporting assistant for your team.
Connect
- In the VoisX console, open your project and go to Tools → Add tool → From template.
- Pick Google Analytics and click Connect with Google.
- Sign in with a Google account that has access to the properties, and click Allow.
- Back in the VoisX console, select the actions you want to enable and click Install integration.
Permission: analytics.readonly (read only)
Actions
| Action | What it does |
|---|---|
| List Properties | Lists the GA4 properties the account can access |
| Run Report | Runs a GA4 report with the dimensions, metrics and date range you choose |
| Run Realtime Report | Runs a GA4 realtime report |
tip
Put your GA4 property ID in the agent's prompt, so it does not have to look it up on every question.
Example
You are a website reporting assistant.
When asked about website traffic, use Run Report on property 123456789.
Always state the date range you used.
Troubleshooting
PERMISSION_DENIED
The connected Google account does not have access to that property. Grant access in Google Analytics.
No data returned
Check the date range and that the property had activity in that period.
Was this page helpful?