Google analytics
Overview
SLUG: GOOGLE_ANALYTICS
Description
Google Analytics tracks and reports website traffic, user behavior, and conversion data, enabling marketers to optimize online performance and customer journeys
Authentication Details
OAuth2
Connecting to Google analytics
Create an auth config
Use the dashboard to create an auth config for the Google analytics toolkit. This allows you to connect multiple Google analytics accounts to Composio for agents to use.
Select App
Navigate to [Google analytics](https://platform.composio.dev/marketplace/Google analytics).
Create and Get auth config ID
Click “Create Google analytics Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [Google analytics toolkit’s playground](https://app.composio.dev/app/Google analytics)
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
GOOGLE_ANALYTICS_CREATE_EXPANDED_DATA_SET
Tool Name: Create Expanded Data Set
Description
Action Parameters
Action Response
GOOGLE_ANALYTICS_GET_ACCOUNT
Tool Name: Get Account
Description
Action Parameters
Action Response
GOOGLE_ANALYTICS_LIST_ACCOUNTS
Tool Name: List Accounts
Description
Action Parameters
Action Response
GOOGLE_ANALYTICS_LIST_AUDIENCES
Tool Name: List Audiences
Description
Action Parameters
Action Response