---
name: "Marketing: Google Analytics 4"
description: Web analytics platform for tracking user behavior, conversions, and marketing performance. Run it via run_marketing_tool (tool="ga4").
version: 1
situations: analytics, google analytics 4
requires-secrets: GA4_ACCESS_TOKEN
requires-packages:
---

# Marketing: Google Analytics 4 (Analytics)

Web analytics platform for tracking user behavior, conversions, and marketing performance.

Call the `run_marketing_tool` tool with `tool: "ga4"` and `args: [...]` — args is the same
`{resource} {action} [--flag value ...]` shape as the CLI itself. Output is JSON on stdout.

Example: `run_marketing_tool` with `tool="ga4"`, `args=["--help"]`.

Use `--dry-run` on any command to preview the request without sending it. Full command reference (every resource/action/flag): [reference.md](reference.md).

Needs the secret(s) `GA4_ACCESS_TOKEN` set in the vault (Secrets UI) — ask the operator to add them if
`run_marketing_tool` reports they're missing.
