Go to Studio

Google Analytics

Fetch web analytics data from GA4

What does this node do?

The Google Analytics node fetches traffic and engagement data from Google Analytics 4. Build automated reports and analyze website performance.

Quick setup

Connect Google account

Go to Builder → Integrations → Google and authenticate

Add the Google Analytics node

Find it in IntegrationsGoogleAnalytics

Enter property ID and metrics

Specify your GA4 property ID, date range, and metrics to fetch

Configuration

property_id string required

GA4 property ID.

date_range object required

Start and end dates.

metrics array required

Metrics to fetch: sessions, users, pageviews, bounceRate, etc.

dimensions array

Dimensions for breakdown: date, source, medium, country, etc.

Output

{
  "rows": [
    {
      "date": "2024-01-15",
      "sessions": 1500,
      "users": 1200,
      "bounceRate": 45.2
    }
  ]
}

Example

Weekly traffic report:

graph LR
    A[Google Analytics] --> B[LLM Insights]
    B --> C[Google Slides]
    C --> D[Email Report]