Google Analytics
Access Google Analytics 4 properties, data streams, custom dimensions and metrics, audiences, and run custom reports via the Admin and Data APIs.
What you can ask
- Run a report on sessions and conversions by landing page for the last 28 days.
- List all custom dimensions in the
ProductionGA4 property and flag unused ones. - Compare weekly traffic from paid and organic channels and summarize the trend.
Set up
Google Analytics needs an OAuth application from your organization before anyone can connect. An organization admin completes these steps once.
- Go to Organization > Connectors and find Google Analytics. Click Enable, and choose which tools to allow.
- Create a Google Cloud project.
- Turn on the Google Analytics Data API.
- Configure the OAuth consent screen.
- Create credentials, choose OAuth client ID, and set the type to Web application.
- Add the exact Redirect URI shown in the connector settings.
- Copy the client ID and client secret into the connector, then save it.
- Each member connects their own account the first time they use it.
⚠️ Warning: Do not enter your Devs.ai or Google Analytics login email or password in the OAuth application fields.
To use one account for the whole organization, turn on Share one connection with everyone. Every member's agents then act as that account, with exactly the access it has.
OAuth scopes used by these tools (2)
Grant the scopes for the tools you plan to allow.
https://www.googleapis.com/auth/analyticshttps://www.googleapis.com/auth/analytics.readonly
Tools
Google Analytics offers 32 tools. Admins choose which ones agents can use. See Tool permission groups.
Read (20)
View and search information without changing it.
| Tool | What it does |
|---|---|
batch_run_reports | Run multiple reports in a single API call. |
check_compatibility | Validate that dimensions and metrics are compatible for reporting. |
get_account | Get details of a specific Google Analytics account by ID. |
get_audience | Get details of a specific audience. |
get_custom_dimension | Get details of a specific custom dimension. |
get_custom_metric | Get details of a specific custom metric. |
get_data_stream | Get details of a specific data stream. |
get_key_event | Get details of a specific key event. |
get_metadata | Get all available dimensions and metrics for a property. |
get_property | Get details of a specific Google Analytics property. |
list_accounts | List all Google Analytics accounts you have access to. |
list_audiences | List audiences for a property. |
list_custom_dimensions | List custom dimensions for a property. |
list_custom_metrics | List custom metrics for a property. |
list_data_streams | List data streams (websites or mobile apps) for a property. |
list_key_events | List key events (conversions) for a property. |
list_properties | List Google Analytics properties under an account. |
run_realtime_report | Get real-time event data (30-60 minute window) for a property. |
run_report | Generate a custom Google Analytics report with dimensions, metrics, and filters. |
validate_credential | Validate Google Analytics OAuth2 credentials by listing accounts. |
Write (6)
Create or send data.
| Tool | What it does |
|---|---|
create_audience | Create a new audience for a property. |
create_custom_dimension | Create a new custom dimension for a property. |
create_custom_metric | Create a new custom metric for a property. |
create_data_stream | Create a new data stream (website or mobile app) for a property. |
create_key_event | Create a new key event (conversion) for a property. |
create_property | Create a new Google Analytics property in an account. |
Delete or overwrite (6)
Remove or replace existing data.
| Tool | What it does |
|---|---|
delete_key_event | Delete a key event (conversion) from a property. |
update_account | Update a Google Analytics account's display name. |
update_audience | Update an audience's display name or description. |
update_custom_dimension | Update a custom dimension's display name or description. |
update_custom_metric | Update a custom metric's display name or description. |
update_property | Update a Google Analytics property's settings (display name, timezone, currency code). |