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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.
DimensionsTextNo(empty)Comma-separated dimension names to check compatibility.
MetricsTextNo(empty)Comma-separated metric names to check compatibility.

Outputs#

OutputType
Compatible DimensionsList
Compatible MetricsList
Incompatible DimensionsList
Incompatible MetricsList

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.

Outputs#

OutputType
DimensionsList
MetricsList

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#

OutputType
AccountsList
Total CountNumber

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.

Outputs#

OutputType
Conversion EventsList
Total CountNumber

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.

Outputs#

OutputType
Data StreamsList
Total CountNumber

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#

FieldTypeRequiredDefaultWhat it does
Account IDTextYes(empty)The Google Analytics account ID.

Outputs#

OutputType
PropertiesList
Total CountNumber

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.
OperationTextYes(empty)Operation to perform: ’list’, ‘create’, or ‘archive’.
Display NameTextNo(empty)The display name for the audience (required for ‘create’).
DescriptionTextNo(empty)Optional description for the audience.
Membership Duration DaysTextNo30Number of days a user remains in the audience.
Event NameTextNo(empty)Optional event name for filtering the audience.
Resource NameTextNo(empty)The resource name (required for ‘archive’).

Outputs#

OutputType
ResultAny

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.
OperationTextYes(empty)Operation to perform: ’list’, ‘create’, ‘update’, or ‘archive’.
Parameter NameTextNo(empty)The parameter name for the custom dimension (required for ‘create’).
Display NameTextNo(empty)The display name for the custom dimension (required for ‘create’).
DescriptionTextNo(empty)Optional description for the custom dimension.
ScopeTextNoEVENTScope of the custom dimension (e.g., ‘EVENT’, ‘USER’).
Resource NameTextNo(empty)The resource name (required for ‘update’ and ‘archive’).

Outputs#

OutputType
ResultAny

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.
OperationTextYes(empty)Operation to perform: ’list’, ‘create’, ‘update’, or ‘archive’.
Parameter NameTextNo(empty)The parameter name for the custom metric (required for ‘create’).
Display NameTextNo(empty)The display name for the custom metric (required for ‘create’).
DescriptionTextNo(empty)Optional description for the custom metric.
Measurement UnitTextNoSTANDARDMeasurement unit (e.g., ‘STANDARD’, ‘CURRENCY’, ‘FEET’, ‘METERS’, ‘KILOMETERS’, ‘MILES’, ‘MILLISECONDS’, ‘SECONDS’, ‘MINUTES’, ‘HOURS’).
ScopeTextNoEVENTScope of the custom metric (e.g., ‘EVENT’).
Resource NameTextNo(empty)The resource name (required for ‘update’ and ‘archive’).

Outputs#

OutputType
ResultAny

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.
Funnel StepsTextYes(empty)JSON array of funnel step objects with ’name’ and ‘filter_expression’ keys.
Date Range StartTextNo30daysAgoStart date (e.g., ‘30daysAgo’, ‘2024-01-01’).
Date Range EndTextNotodayEnd date (e.g., ’today’, ‘2024-01-31’).

Outputs#

OutputType
Funnel TableList
Row CountNumber

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.
MetricsTextNoactiveUsersComma-separated metric names (default: ‘activeUsers’).
DimensionsTextNo(empty)Comma-separated dimension names.

Outputs#

OutputType
Dimension HeadersList
Metric HeadersList
RowsList
Row CountNumber

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#

FieldTypeRequiredDefaultWhat it does
Property IDTextYes(empty)The GA4 property ID.
MetricsTextYes(empty)Comma-separated metric names (e.g., ‘activeUsers,sessions’).
DimensionsTextNo(empty)Comma-separated dimension names (e.g., ‘date,country’).
Date Range StartTextNo30daysAgoStart date (e.g., ‘30daysAgo’, ‘2024-01-01’).
Date Range EndTextNotodayEnd date (e.g., ’today’, ‘2024-01-31’).
LimitTextNo100Maximum number of rows to return.
OffsetTextNo0Number of rows to skip for pagination.

Outputs#

OutputType
Dimension HeadersList
Metric HeadersList
RowsList
Row CountNumber
Total Row CountAny

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#

FieldTypeRequiredDefaultWhat it does
Customer IDTextYes(empty)The Google Ads customer ID (must have GA Measurement ID and API secret configured).
Client IDTextYes(empty)The client ID for tracking (e.g., GA cookie value or unique user identifier).
EventsObjectNo—Array of events to send. Each event should have ’name’ (required) and ‘params’ (optional) fields.
User IDTextNo(empty)Optional user ID for cross-device tracking.
User PropertiesObjectNo—Optional user properties as JSON object.
User DataObjectNo—Optional user data as JSON object.

Outputs#

OutputType
SuccessYes/No
Events SentNumber
Client IdText
Event NamesList

Use as an agent tool#

Tool name: google_analytics_send_event

Send events to Google Analytics for tracking