Zum Inhalt springen
DeutschlandGPT

Google Analytics

Run reports and analyze website traffic data from Google Analytics 4

Connect Google Analytics to run reports and analyze website traffic data from Google Analytics 4 in your workflows.

Authentication: OAuth 2.0. Connect your Google account on the integrations page. Uses the same Google connection as other Google services.

Actions

Run Report

Runs a custom analytics report for a property.

InputRequiredDescription
Property IDYesGA4 property ID (e.g. 123456789)
Date RangesYesOne or more date ranges (e.g. last 7 days, 2024-01-01 to 2024-01-31)
DimensionsNoDimensions to break down by (e.g. country, deviceCategory)
MetricsYesMetrics to measure (e.g. sessions, activeUsers, conversions)
FiltersNoDimension or metric filters
LimitNoMaximum rows to return
OutputTypeDescription
rowsarrayReport rows with dimension and metric values
totalsobjectTotals across all rows
rowCountnumberTotal number of rows

Analyze Content Performance

A pre-built report that returns page-level performance metrics.

InputRequiredDescription
Property IDYesGA4 property ID
Date RangeYesDate range string
OutputTypeDescription
pagesarrayPages with path, sessions, pageViews, bounceRate, avgSessionDuration

Analyze Traffic Sources

A pre-built report showing traffic by source/medium.

InputRequiredDescription
Property IDYesGA4 property ID
Date RangeYesDate range string
OutputTypeDescription
sourcesarrayTraffic sources with source, medium, sessions, users, conversions

Get Realtime Users by Device

Returns the current number of active users broken down by device type.

InputRequiredDescription
Property IDYesGA4 property ID
OutputTypeDescription
devicesarrayDevice categories with deviceCategory, activeUsers
totalActiveUsersnumberTotal currently active users

Run Pivot Report

Runs a report with pivot dimensions.

InputRequiredDescription
Property IDYesGA4 property ID
Date RangesYesDate ranges
DimensionsYesReport dimensions
MetricsYesReport metrics
Pivot DimensionsYesDimensions to pivot on
OutputTypeDescription
pivotHeadersarrayColumn headers
rowsarrayPivot data rows

Get Metadata

Returns available dimensions and metrics for a GA4 property.

InputRequiredDescription
Property IDYesGA4 property ID
OutputTypeDescription
dimensionsarrayAvailable dimension names and descriptions
metricsarrayAvailable metric names and descriptions
Was this page helpful?
Google Analytics · DeutschlandGPT