Skip to main content
Connect Adapt to Google Analytics to analyze your website and app performance using natural language.

Setup

1

Create a service account

  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable both of these APIs:
  4. Go to IAM & Admin > Service Accounts
  5. Create a new service account
  6. Download the JSON key file
2

Grant access in GA4

  1. Open your Google Analytics property
  2. Go to Admin > Property Access Management
  3. Add the service account email as a Viewer
3

Go to Settings

Navigate to Settings > Integrations in Adapt
4

Add the secrets

Add the following secrets:
Secret NameValue
GOOGLE_ANALYTICS_PROPERTY_IDYour GA4 property ID (e.g., 123456789)
GOOGLE_ANALYTICS_CREDENTIALSThe full JSON service account key
5

Test the connection

Ask Adapt about your website traffic

Capabilities

Adapt can query your Google Analytics data. Analyze traffic, user behavior, and conversion metrics.
Google Analytics and Slack integration

Examples

Traffic analysis:
How many visitors did we have this week?
User behavior:
What are our most popular pages?
Conversion tracking:
What's our conversion rate?
Acquisition:
Where is our traffic coming from?