# Google Analytics integration

> Web analytics platform for tracking website traffic, user behavior, events, and conversion data.

- Authentication: oauth2

## Tools (10)

- **Audience Exports**: Create, poll, list, and query audience exports to retrieve snapshots of users in a GA4 audience (async workflow).
- **Batch Run Pivot Reports**: Returns multiple GA4 pivot reports in a single batch request (up to 5 pivot reports per batch).
- **Batch Run Reports**: Returns multiple GA4 reports in a single batch request (up to 5 reports per batch).
- **Check Compatibility**: Checks whether the specified dimensions and metrics are compatible with each other in a GA4 report request.
- **Get Metadata**: Returns the available dimensions, metrics, and comparisons for a GA4 property that can be used in reporting.
- **Get Report (Universal Analytics - Legacy)**: ⚠️ DEFUNCT — UA was fully shut down July 2024. Returns analytics data from a Universal Analytics view via the batchGet endpoint.
- **Run Pivot Report**: Returns a customized pivot report of GA4 event data, displaying dimensions in rows and columns with aggregated metrics.
- **Run Realtime Report**: Returns a customized report of realtime event data for a GA4 property, covering the last 30 minutes (60 for GA360).
- **Run Report (GA4)**: Returns a customized report of Google Analytics 4 event data with dimensions, metrics, filters, and date ranges.
- **Search User Activity (Universal Analytics - Legacy)**: ⚠️ DEFUNCT — UA was fully shut down July 2024. Returns user activity data for a specific user in a Universal Analytics view.

## Related prompts

- [Daily GA4 anomaly alerts in Slack with Search Console](https://www.generalinput.com/prompts/daily-ga4-anomaly-alerts-in-slack-with-search-console.md)
- [Monthly SEO opportunity brief in Google Docs and Slack](https://www.generalinput.com/prompts/monthly-seo-opportunity-brief-in-google-docs-and-slack.md)
- [Campaign copy generator for emails, ads, and landing pages](https://www.generalinput.com/prompts/campaign-copy-generator-for-emails-ads-and-landing-pages.md)
- [Weekly GA4 marketing performance digest in Slack](https://www.generalinput.com/prompts/weekly-ga4-marketing-performance-digest-in-slack.md)
- [Weekly WordPress traffic digest in Slack](https://www.generalinput.com/prompts/weekly-wordpress-traffic-digest-in-slack.md)

Connect Google Analytics in General Input: https://www.generalinput.com/apps/google-analytics