Google Analytics logo

Integrate Google Analytics with your AI CRM

Google Analytics tracks and reports website traffic, user behavior, and conversion data, enabling marketers to optimize online performance and customer journeys

Explore Triggers and Actions

Archive Custom Dimension

Tool to archive a CustomDimension on a property. Use when you need to remove a custom dimension from active use without permanently deleting it. Archived dimensions cannot be used in new reports.

ActionTry it

Batch Run Pivot Reports

Tool to return multiple pivot reports in a batch for a GA4 property. Use when you need to fetch multiple pivot table reports with multi-dimensional analysis in a single request.

ActionTry it

Batch Run Reports

Runs multiple analytics data reports for one GA4 property in a single request. Report metadata returned by this tool does not include data truncation reasons.

ActionTry it

Check Compatibility

Tool to list dimensions and metrics compatible with a GA4 report request. Use when you need to validate compatibility of chosen dimensions or metrics before running a report.

ActionTry it

Create Audience

Create an Analytics audience from explicit membership filter clauses. Requires the https://www.googleapis.com/auth/analytics.edit OAuth scope, which is not granted by default.

ActionTry it

Create Audience Export

Tool to create an audience export for Google Analytics. Use when you need to export a snapshot of users in an audience at a specific point in time. This initiates a long-running asynchronous request that returns an operation resource name immediately. The export begins in CREATING state with rowCount=0; the operation must complete before export data is accessible for querying.

ActionTry it

Create Audience List

Tool to create an audience list for later retrieval by initiating a long-running asynchronous request. Use when you need to create a snapshot of users currently in an audience. The method returns quickly with an Operation resource while processing occurs in the background.

ActionTry it

Create Channel Group

Create a custom GA4 channel group with ordered traffic grouping rules. Requires the connection to grant the https://www.googleapis.com/auth/analytics.edit scope, which is not requested by default.

ActionTry it

Create Custom Dimension

Tool to create a CustomDimension for a Google Analytics property. Use when you need to add a new custom dimension to track specific user properties, event parameters, or eCommerce item parameters.

ActionTry it

Create Custom Metric

Tool to create a custom metric in Google Analytics. Use when you need to define a new custom metric for tracking specific event parameters.

ActionTry it

Create Data Stream

Create a web, Android, or iOS data stream under a GA4 property. Requires the connection to grant the https://www.googleapis.com/auth/analytics.edit scope, which is not requested by default.

ActionTry it

Create Event Create Rule

Create a rule that emits a destination event when source-event conditions match. Requires the https://www.googleapis.com/auth/analytics.edit OAuth scope, which is not granted by default.

ActionTry it

Create Expanded Data Set

Create an expanded data set for a Google Analytics 360 property using specified dimensions and metrics.

ActionTry it

Create Key Event

Create a key event definition for a Google Analytics property. Requires the connection to grant the https://www.googleapis.com/auth/analytics.edit scope, which is not requested by default.

ActionTry it

Create Property

Create an ordinary GA4 property under an Analytics account. Requires the connection to grant the https://www.googleapis.com/auth/analytics.edit scope, which is not requested by default.

ActionTry it

Create Recurring Audience List

Tool to create a recurring audience list that automatically generates new audience lists daily based on the latest data. Use when you need to automate audience list creation and reduce quota token consumption.

ActionTry it

Create Report Task

Tool to create a report task as a long-running asynchronous request for customized Google Analytics event data reports. Use when you need to generate large or complex reports that process asynchronously.

ActionTry it

Create Rollup Property

Tool to create a roll-up property. Use when consolidating multiple GA4 properties into one aggregated view.

ActionTry it

Delete Key Event

Permanently delete a deletable key event from a Google Analytics property. Deletion cannot be undone. Requires the connection to grant the https://www.googleapis.com/auth/analytics.edit scope, which is not requested by default.

ActionTry it

Delete Property

Move a Google Analytics property to the Trash Can and return its deletion state. This is a soft delete, not an immediate permanent purge. The API cannot restore the property; restoration is available through the Trash Can UI until expireTime. If it is not restored, the property and its child resources are permanently purged. Requires the https://www.googleapis.com/auth/analytics.edit OAuth scope, which is not granted by default.

ActionTry it

Get Account

Tool to retrieve a single Account by its resource name. Use when you need detailed account info after confirming the account resource name (e.g., accounts/100).

ActionTry it

Get Attribution Settings

Tool to retrieve attribution configuration for a Google Analytics property. Use when you need to check attribution models, lookback windows, and conversion export settings.

ActionTry it

Get Audience

Tool to retrieve a single Audience configuration from a Google Analytics property. Use when you need detailed audience information including membership criteria and filter clauses.

ActionTry it

Get Audience Export

Tool to get configuration metadata about a specific audience export. Use when you need to understand an audience export after it has been created or check its status.

ActionTry it

Get Audience List

Tool to get configuration metadata about a specific audience list. Use after confirming the audience list resource name.

ActionTry it

Get Custom Dimension

Tool to retrieve a single CustomDimension by its resource name. Use when you need detailed information about a specific custom dimension including its display name, scope, and parameter name.

ActionTry it

Get Data Redaction Settings

Retrieve client-side data redaction settings for a GA4 web data stream.

ActionTry it

Get Data Retention Settings

Tool to retrieve data retention configuration for a Google Analytics property. Use when you need to check event-level and user-level data retention durations and reset settings.

ActionTry it

Get Data Sharing Settings

Tool to retrieve data sharing configuration for a Google Analytics account. Use when you need to check which data sharing settings are enabled for an account, including sharing with Google support, sales teams, products, and benchmarking.

ActionTry it

Get Data Stream

Retrieve one Google Analytics data stream by its resource name.

ActionTry it

Get Global Site Tag

Retrieve the immutable installation snippet for a GA4 web data stream.

ActionTry it

Get Google Signals Settings

Tool to retrieve Google Signals configuration settings for a GA4 property. Use when you need to check whether Google Signals is enabled and the consent status for a property.

ActionTry it

Get Key Event

Retrieve a Key Event by its resource name. This operation is read-only.

ActionTry it

Get Metadata

Tool to get metadata for dimensions, metrics, and comparisons for a GA4 property. Use to discover available fields before building a report — always derive dimension/metric apiNames from this output rather than hardcoding from GA4 UI labels, which differ. Available fields vary per property; skip validation and downstream report tools like GOOGLE_ANALYTICS_RUN_REPORT return 400 INVALID_ARGUMENT on incompatible or invalid field combinations. Response can contain hundreds of fields; filter to relevant subset before passing to downstream logic.

ActionTry it

Get Property

Tool to retrieve a single GA4 Property by its resource name. Use when you need detailed property configuration including display name, time zone, currency, and other settings.

ActionTry it

Get Property Quotas Snapshot

Tool to retrieve all property quotas organized by category (corePropertyQuota, funnelPropertyQuota, realtimePropertyQuota) for a given GA4 property. Use when you need to check current quota usage. Snapshot data can lag real consumption by several minutes; treat reported values as approximate and avoid scheduling high-volume jobs at full apparent capacity.

ActionTry it

Get Recurring Audience List

Tool to get configuration metadata about a specific recurring audience list. Use when you need to understand a recurring audience list's state after it has been created or to get the resource name of the most recent audience list instance.

ActionTry it

Get Report Task

Tool to get report metadata about a specific report task. Use after creating a report task to check its processing state or inspect its report definition.

ActionTry it

List Access Bindings

List principals and roles granted on an Analytics account or property. Requires the https://www.googleapis.com/auth/analytics.manage.users or analytics.manage.users.readonly OAuth scope, which is not granted by default.

ActionTry it

List Account Summaries

Tool to retrieve summaries of all Google Analytics accounts accessible by the caller. Use when you need a high-level overview of accounts and their properties without fetching full account details.

ActionTry it

List Accounts (Deprecated)

DEPRECATED: Use ListAccountsV1Beta instead. Tool to list all Accounts accessible by the caller. Use when you need to enumerate all Google Analytics accounts your credentials can access. Empty or partial results may indicate a permissions issue rather than no resources existing. Returned resource names follow the format accounts/{account_id}; use these in subsequent calls.

ActionTry it

List Accounts (v1beta)

List Google Analytics accounts accessible to the caller using the v1beta API. Results are paginated and may include accounts without GA properties; soft-deleted accounts are excluded by default.

ActionTry it

List AdSense Links

Lists a page of AdSense links for a Google Analytics property. Use the returned next-page token to retrieve additional pages.

ActionTry it

List Audience Exports

Tool to list all audience exports for a property. Use when you need to find and reuse existing audience exports rather than creating new ones.

ActionTry it

List Audience Lists

Tool to list all audience lists for a specified property to help find and reuse existing lists. Use when you need to retrieve a property's configured audience lists after confirming the property ID.

ActionTry it

List Audiences

List audience configurations for a Google Analytics property; audiences created before 2020 may not be supported. Returned filter clauses include their types but not the full membership criteria.

ActionTry it

List BigQuery Links

Tool to list BigQuery Links on a property. Use when you need to retrieve BigQuery link resources associated with a Google Analytics property. Results support pagination for large datasets.

ActionTry it

List Calculated Metrics

List Calculated Metrics

ActionTry it

List Channel Groups

Tool to list ChannelGroups on a property. Use when you need to retrieve channel groups that categorize traffic sources in Analytics reports.

ActionTry it

List Conversion Events

Lists deprecated conversion event resources configured for a Google Analytics property. Google recommends using key events instead.

ActionTry it

List Custom Dimensions

List Custom Dimensions

ActionTry it

List Custom Metrics

Tool to list CustomMetrics on a property. Use when you need to retrieve all custom metrics configured for a given property.

ActionTry it

List DataStreams

Tool to list DataStreams on a property. Use when you need to retrieve data stream configurations for a Google Analytics property.

ActionTry it

List Display & Video 360 Advertiser Links

Tool to list Display & Video 360 advertiser links on a property. Use when you need to retrieve DisplayVideo360AdvertiserLink resources associated with a Google Analytics property. Results support pagination for large datasets.

ActionTry it

List DisplayVideo360 Advertiser Link Proposals

Tool to list DisplayVideo360AdvertiserLinkProposals on a property. Use when you need to retrieve Display & Video 360 advertiser link proposals associated with a Google Analytics property. Results support pagination for large datasets.

ActionTry it

List Event Create Rules

Tool to list EventCreateRules configured on a web data stream. Use when you need to retrieve event create rules for a specific GA4 property data stream.

ActionTry it

List Event Edit Rules

List event edit rules configured on a GA4 web data stream.

ActionTry it

List Expanded Data Sets

Tool to list ExpandedDataSets on a property. Use when you need to retrieve expanded data set configurations for a Google Analytics 360 property.

ActionTry it

List Firebase Links

Tool to list FirebaseLinks on a property. Use when you need to retrieve Firebase connections associated with a Google Analytics property. Each property can have at most one FirebaseLink.

ActionTry it

List Google Ads Links

Tool to list GoogleAdsLinks on a property. Use when you need to retrieve Google Ads account links configured for a Google Analytics property. Supports pagination for large result sets.

ActionTry it

List Key Events

List key event definitions for a Google Analytics property. Results are paginated, with a next-page token when more results are available.

ActionTry it

List Measurement Protocol Secrets

Tool to list MeasurementProtocolSecrets under a data stream. Use when you need to retrieve measurement protocol secrets for server-side event tracking.

ActionTry it

List Properties (Deprecated)

DEPRECATED: Use ListPropertiesV1Beta instead. Tool to list GA4 properties under a specific account. Use after obtaining an account ID; supports pagination and including soft-deleted properties. Results may include legacy Universal Analytics properties; verify property type before use.

ActionTry it

List Property

Tool to list GA4 properties based on filter criteria. Use when you need to find properties under a specific parent account or with specific firebase projects. Supports pagination and including soft-deleted properties.

ActionTry it

List Recurring Audience Lists

List a page of recurring audience lists for a GA4 property, with a continuation token when more results are available. Use it to find existing recurring audience lists.

ActionTry it

List Report Tasks

List a page of report tasks for a Google Analytics property, including task definitions and execution status. A continuation token can be used to retrieve subsequent pages.

ActionTry it

List Reporting Data Annotations

List a page of Reporting Data Annotations for a specific GA4 property, optionally filtering the results. Annotations document important events or periods in reporting data.

ActionTry it

List Search Ads 360 Links

Tool to list all SearchAds360Links on a property. Use when you need to retrieve all Search Ads 360 links for a given Google Analytics property. Supports pagination for large result sets.

ActionTry it

List SKAdNetwork Conversion Value Schemas

Tool to list SKAdNetworkConversionValueSchema configurations for an iOS data stream. Use when you need to retrieve conversion value schemas for iOS app tracking. Maximum one schema per property is supported.

ActionTry it

List Subproperty Event Filters

List a page of subproperty event filters on a property, including filters that route events to subproperties. Use the returned page token to retrieve subsequent pages.

ActionTry it

List Subproperty Sync Configs

Tool to list SubpropertySyncConfig resources for managing subproperty synchronization configurations. Use when you need to fetch subproperty sync configs for a GA4 property.

ActionTry it

Provision Account Ticket

Tool to request a ticket for creating a Google Analytics account. Use when you need to initiate the account creation flow that requires user acceptance of Terms of Service.

ActionTry it

Query Audience Export

Tool to query a completed audience export. Use when you need to fetch user rows with pagination.

ActionTry it

Query Audience List

Tool to query an audience list. Use when you need to retrieve user rows from a GA4 audience list with pagination.

ActionTry it

Query Report Task

Tool to retrieve a report task's content. Use this after creating a report task with CreateReportTask and confirming it is in ACTIVE state. This method returns an error if the report task's state is not ACTIVE.

ActionTry it

Run Funnel Report

Tool to run a GA4 funnel report. Use when you need a customized funnel analysis report for a given property. Funnel step sequence is determined by step attributes in the response, not row order.

ActionTry it

Run Pivot Report

Tool to run a customized pivot report of Google Analytics event data. Use when you need a pivot table view with advanced segmentation and multi-dimensional analysis of GA4 data.

ActionTry it

Run Realtime Report

Tool to run a customized realtime report of Google Analytics event data. Use when you need realtime data (last 30-60 minutes) with dimensions and metrics for a GA4 property.

ActionTry it

Run Report

Run a customized GA4 event-data report for a property using dimensions, metrics, filters and date ranges or a cohort specification. Requests can include up to 9 dimensions and 10 metrics, with offset and limit for pagination. Dimensions, metrics and filters must be compatible; use GOOGLE_ANALYTICS_CHECK_COMPATIBILITY to check combinations. The invalid `dateRange` dimension is removed from requests; use a date dimension for date-based grouping.

ActionTry it

Send Events

Send GA4 web-stream events using the Measurement Protocol and an API secret. A successful response indicates HTTP receipt, not that Google Analytics processed the events.

ActionTry it

Update Data Retention Settings

Update selected data retention settings for a Google Analytics property. Requires the connection to grant the https://www.googleapis.com/auth/analytics.edit scope, which is not requested by default.

ActionTry it

Update Data Stream

Update a stream's display name, web default URI, or both. Requires the connection to grant the https://www.googleapis.com/auth/analytics.edit scope, which is not requested by default.

ActionTry it

Update Property

Tool to update an existing GA4 Property. Use when you need to modify property settings such as display name, time zone, currency code, or industry category.

ActionTry it

Validate Events

Validate Measurement Protocol events for a web stream before sending them to production, checking event structure and parameters.

ActionTry it

How the Google Analytics integration works

The Google Analytics integration connects your Dench AI CRM directly to Google Analytics, so agents can read and act on your Google Analytics data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

84 actions are available for agents to invoke on your behalf. Every call runs through Google Analytics's own authorization, scoped to the account you connect.

Set up Google Analytics in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Google Analytics and click Connect — you'll authorize access through Google Analytics's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Google Analytics in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Google Analytics integration work with Dench?

The Dench Google Analytics integration connects your AI CRM to Google Analytics, so AI agents can work with your Google Analytics data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Google Analytics via Dench?

The Google Analytics integration currently exposes 84 actions, including Archive Custom Dimension, Batch Run Pivot Reports, Batch Run Reports, Check Compatibility, Create Audience, and Create Audience Export. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Google Analytics to Dench?

No. You connect Google Analytics from your Dench workspace using Google Analytics's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Google Analytics integration secure?

Connections are authorized through Google Analytics's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Google Analytics connection from your workspace settings at any time.

Google Analytics | Dench AI CRM