# Connect GA4 Optimizer to Your AI Agent (Universal MCP)

> Use your AI to analyze data, build dashboards, and create reports in GA4 Optimizer — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http ga4-optimizer https://api.universalmcp.app/mcp/ga4-optimizer`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/ga4-optimizer` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "ga4-optimizer", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: GA4 Optimizer | Category: Marketing & Analytics (GA4 Optimizer) | Auth: Encrypted API key or guided local/desktop setup | Deployment: desktop
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across GA4 reporting data, Exported sheets, Draft updates; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=ga4-optimizer | Guide: https://universalmcp.app/mcp/ga4-optimizer
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across GA4 reporting data, exported sheets, and draft updates. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **GA4 reporting data (1):** GA4 reporting data (write)
- **Exported sheets (1):** Exported sheets (write)
- **Draft updates (1):** Draft updates (write)

## Example Prompts for GA4 Optimizer
- **Traffic drop check:** "Which GA4 landing pages lost sessions this week compared with the prior seven days, sorted by largest percent drop?"
- **Channel breakdown:** "Break down sessions for /pricing-2026 by default channel group, comparing the last 28 days with the prior period."
- **Explorations summary:** "Summarize the GA4 Optimizer funnel report for key conversion events, including view-to-signup rates by page."
- **Draft share note:** "Draft a short traffic update for the marketing channel with the top three drops, and hold it until I approve."
