# PromptRails + Google Analytics Integration

Source: https://0.0.0.0:8080/integrations/google-analytics

---

[All Integrations](/integrations)

![Google Analytics](/images/logos/google-analytics.svg)

# Google Analytics

Google

Run reports and get real-time metrics from Google Analytics 4. Your agents can analyze traffic, user behavior, conversions, and build custom analytics summaries.

## How to Connect

1.  1Go to the MCP Templates marketplace.
2.  2Find the Google Analytics template.
3.  3Enter your Google service account credentials.
4.  4Add the template to your agent.

## Available Tools

`ga_list_properties`

List accessible Google Analytics 4 properties

`ga_run_report`

Run a Google Analytics 4 report with dimensions, metrics, and date range

`ga_get_realtime`

Get realtime Google Analytics data for a property

[Documentation](/docs/mcp-tools)[Google Analytics API Reference](https://developers.google.com/analytics/devguides/reporting/data/v1)

[Get Started](https://app.promptrails.ai)
