Integrations
Google Analytics
13 actions for Google Analytics.
Check Google Analytics Compatibility#
Check which dimensions and metrics can be used together in a report.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsCheckCompatibility
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
| Dimensions | Text | No | (empty) | Comma-separated dimension names to check compatibility. |
| Metrics | Text | No | (empty) | Comma-separated metric names to check compatibility. |
Outputs#
| Output | Type |
|---|---|
| Compatible Dimensions | List |
| Compatible Metrics | List |
| Incompatible Dimensions | List |
| Incompatible Metrics | List |
Use as an agent tool#
Tool name: google_analytics_check_compatibility
Check which GA4 dimensions and metrics are compatible and can be used together in a single report.
Get Google Analytics Metadata#
Get available dimensions and metrics for a GA4 property.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsGetMetadata
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
Outputs#
| Output | Type |
|---|---|
| Dimensions | List |
| Metrics | List |
Use as an agent tool#
Tool name: google_analytics_get_metadata
Get available dimensions and metrics for a GA4 property. REQUIRED: Always call this before running reports to discover valid dimension and metric API names. DO NOT guess dimension/metric names – use the api_name values returned by this tool.
List Google Analytics Accounts#
List all accessible Google Analytics GA4 accounts.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsListAccounts
Outputs#
| Output | Type |
|---|---|
| Accounts | List |
| Total Count | Number |
Use as an agent tool#
Tool name: google_analytics_list_accounts
List all accessible Google Analytics GA4 accounts. Returns account names and IDs. Use this as the first step to discover which accounts are available.
List Google Analytics Conversion Events#
List all conversion events for a GA4 property.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsListConversionEvents
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
Outputs#
| Output | Type |
|---|---|
| Conversion Events | List |
| Total Count | Number |
Use as an agent tool#
Tool name: google_analytics_list_conversion_events
List all conversion events configured for a GA4 property.
List Google Analytics Data Streams#
List data streams for a GA4 property.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsListDataStreams
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
Outputs#
| Output | Type |
|---|---|
| Data Streams | List |
| Total Count | Number |
Use as an agent tool#
Tool name: google_analytics_list_data_streams
List data streams (web, iOS, Android) for a GA4 property. Returns stream details including measurement IDs for web streams.
List Google Analytics Properties#
List GA4 properties for an account.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsListProperties
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Account ID | Text | Yes | (empty) | The Google Analytics account ID. |
Outputs#
| Output | Type |
|---|---|
| Properties | List |
| Total Count | Number |
Use as an agent tool#
Tool name: google_analytics_list_properties
List GA4 properties for a Google Analytics account. Returns property IDs needed for running reports. Get account_id from google_analytics_list_accounts first.
Manage Google Analytics Audiences#
List, create, or archive audiences.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsManageAudiences
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
| Operation | Text | Yes | (empty) | Operation to perform: ’list’, ‘create’, or ‘archive’. |
| Display Name | Text | No | (empty) | The display name for the audience (required for ‘create’). |
| Description | Text | No | (empty) | Optional description for the audience. |
| Membership Duration Days | Text | No | 30 | Number of days a user remains in the audience. |
| Event Name | Text | No | (empty) | Optional event name for filtering the audience. |
| Resource Name | Text | No | (empty) | The resource name (required for ‘archive’). |
Outputs#
| Output | Type |
|---|---|
| Result | Any |
Use as an agent tool#
Tool name: google_analytics_manage_audiences
Manage GA4 audiences. Operations: ’list’, ‘create’ (provide display_name, optional event_name for filtering), ‘archive’ (requires resource_name).
Manage Google Analytics Custom Dimensions#
Create, update, list, or archive custom dimensions.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsManageCustomDimensions
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
| Operation | Text | Yes | (empty) | Operation to perform: ’list’, ‘create’, ‘update’, or ‘archive’. |
| Parameter Name | Text | No | (empty) | The parameter name for the custom dimension (required for ‘create’). |
| Display Name | Text | No | (empty) | The display name for the custom dimension (required for ‘create’). |
| Description | Text | No | (empty) | Optional description for the custom dimension. |
| Scope | Text | No | EVENT | Scope of the custom dimension (e.g., ‘EVENT’, ‘USER’). |
| Resource Name | Text | No | (empty) | The resource name (required for ‘update’ and ‘archive’). |
Outputs#
| Output | Type |
|---|---|
| Result | Any |
Use as an agent tool#
Tool name: google_analytics_manage_custom_dimensions
Manage GA4 custom dimensions. Operations: ’list’ (list all), ‘create’ (requires parameter_name, display_name), ‘update’ (requires resource_name), ‘archive’ (requires resource_name).
Manage Google Analytics Custom Metrics#
Create, update, list, or archive custom metrics.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsManageCustomMetrics
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
| Operation | Text | Yes | (empty) | Operation to perform: ’list’, ‘create’, ‘update’, or ‘archive’. |
| Parameter Name | Text | No | (empty) | The parameter name for the custom metric (required for ‘create’). |
| Display Name | Text | No | (empty) | The display name for the custom metric (required for ‘create’). |
| Description | Text | No | (empty) | Optional description for the custom metric. |
| Measurement Unit | Text | No | STANDARD | Measurement unit (e.g., ‘STANDARD’, ‘CURRENCY’, ‘FEET’, ‘METERS’, ‘KILOMETERS’, ‘MILES’, ‘MILLISECONDS’, ‘SECONDS’, ‘MINUTES’, ‘HOURS’). |
| Scope | Text | No | EVENT | Scope of the custom metric (e.g., ‘EVENT’). |
| Resource Name | Text | No | (empty) | The resource name (required for ‘update’ and ‘archive’). |
Outputs#
| Output | Type |
|---|---|
| Result | Any |
Use as an agent tool#
Tool name: google_analytics_manage_custom_metrics
Manage GA4 custom metrics. Operations: ’list’, ‘create’ (requires parameter_name, display_name, measurement_unit), ‘update’ (requires resource_name), ‘archive’ (requires resource_name).
Run Google Analytics Funnel Report#
Run a funnel analysis report showing user progression through defined steps.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsRunFunnelReport
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
| Funnel Steps | Text | Yes | (empty) | JSON array of funnel step objects with ’name’ and ‘filter_expression’ keys. |
| Date Range Start | Text | No | 30daysAgo | Start date (e.g., ‘30daysAgo’, ‘2024-01-01’). |
| Date Range End | Text | No | today | End date (e.g., ’today’, ‘2024-01-31’). |
Outputs#
| Output | Type |
|---|---|
| Funnel Table | List |
| Row Count | Number |
Use as an agent tool#
Tool name: google_analytics_run_funnel_report
Run a GA4 funnel report analyzing user progression through defined event steps. Provide funnel_steps as JSON array of objects with ’name’ and ‘filter_expression’ (containing ’event_name’).
Run Google Analytics Realtime Report#
Run a real-time report showing current active users and events.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsRunRealtimeReport
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
| Metrics | Text | No | activeUsers | Comma-separated metric names (default: ‘activeUsers’). |
| Dimensions | Text | No | (empty) | Comma-separated dimension names. |
Outputs#
| Output | Type |
|---|---|
| Dimension Headers | List |
| Metric Headers | List |
| Rows | List |
| Row Count | Number |
Use as an agent tool#
Tool name: google_analytics_run_realtime_report
Run a GA4 real-time report showing currently active users, events, and other live data. Returns data from the last 30 minutes.
Run Google Analytics Report#
Run a standard GA4 report with dimensions, metrics, date ranges, and filters.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsRunReport
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Property ID | Text | Yes | (empty) | The GA4 property ID. |
| Metrics | Text | Yes | (empty) | Comma-separated metric names (e.g., ‘activeUsers,sessions’). |
| Dimensions | Text | No | (empty) | Comma-separated dimension names (e.g., ‘date,country’). |
| Date Range Start | Text | No | 30daysAgo | Start date (e.g., ‘30daysAgo’, ‘2024-01-01’). |
| Date Range End | Text | No | today | End date (e.g., ’today’, ‘2024-01-31’). |
| Limit | Text | No | 100 | Maximum number of rows to return. |
| Offset | Text | No | 0 | Number of rows to skip for pagination. |
Outputs#
| Output | Type |
|---|---|
| Dimension Headers | List |
| Metric Headers | List |
| Rows | List |
| Row Count | Number |
| Total Row Count | Any |
Use as an agent tool#
Tool name: google_analytics_run_report
Run a standard GA4 report. This is the universal reporting tool. REQUIRED: Call google_analytics_get_metadata first to discover valid dimension and metric names. Supports date ranges, dimension/metric filters, ordering, and pagination via limit/offset. Default date range is last 30 days.
Send Event to Google Analytics#
Sends one or more events to Google Analytics using the Measurement Protocol.
Plans: Trial, Pro, Premium, Enterprise · Type: GoogleAnalyticsSendEvent
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Customer ID | Text | Yes | (empty) | The Google Ads customer ID (must have GA Measurement ID and API secret configured). |
| Client ID | Text | Yes | (empty) | The client ID for tracking (e.g., GA cookie value or unique user identifier). |
| Events | Object | No | — | Array of events to send. Each event should have ’name’ (required) and ‘params’ (optional) fields. |
| User ID | Text | No | (empty) | Optional user ID for cross-device tracking. |
| User Properties | Object | No | — | Optional user properties as JSON object. |
| User Data | Object | No | — | Optional user data as JSON object. |
Outputs#
| Output | Type |
|---|---|
| Success | Yes/No |
| Events Sent | Number |
| Client Id | Text |
| Event Names | List |
Use as an agent tool#
Tool name: google_analytics_send_event
Send events to Google Analytics for tracking