> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leme.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Analytics

> Let agents answer traffic and conversion questions straight from GA4

Connect Google Analytics and your agents answer the questions that usually mean building a report by hand: where traffic came from, which pages convert, how this week compares to last. Ask in plain language; the agent picks the right dimensions and metrics from your GA4 properties.

**This integration is read-only.** Agents run reports; they never change your Analytics configuration.

## What agents can do

| Capability                   | Details                                                                       |
| ---------------------------- | ----------------------------------------------------------------------------- |
| List accounts and properties | Every GA4 property the connected Google account can see.                      |
| List data streams            | The web and app streams feeding each property.                                |
| Explore available metrics    | Including your custom dimensions and metrics.                                 |
| Run reports                  | Any GA4 report — sessions, users, conversions, revenue — over any date range. |
| Run realtime reports         | Who's on the site right now, and what they're doing.                          |

## Try asking

* *"How did traffic this week compare to last week?"*
* *"Top 10 pages by conversions in June, with their channel."*
* *"Where do our signups come from — organic, paid, or referral?"*
* *"How many users are on the site right now?"*
* *"Build a monthly summary: sessions, new users, conversion rate, revenue."*

## Connect Google Analytics

<Steps>
  <Step title="Open Integrations">
    In the Leme dashboard, go to **Integrations** and select **Google Analytics**.
  </Step>

  <Step title="Sign in with Google">
    Select **Connect** and approve with a Google account that has access to the Analytics properties you want agents to read. Viewer access is enough.
  </Step>

  <Step title="Enable it on your agents">
    Attach the connection to the agents that should use it — marketing and reporting agents are the usual fit.
  </Step>
</Steps>

Google Analytics is a **shared** connection: agents see the properties the connected account can see. If you want agents to reach only some properties, connect an account whose Analytics access is scoped to exactly those.

## Permissions

| Action                       | Category | Default |
| ---------------------------- | -------- | ------- |
| List properties, run reports | Read     | Allow   |

Nothing else to configure — the integration has no write actions. See [Permissions & approvals](/permissions) for the general model.

## Troubleshooting

<AccordionGroup>
  <Accordion title="No accounts or properties show up">
    The connected Google account has no GA4 access. Grant it at least Viewer on the property in Analytics admin, or reconnect with a different account.
  </Accordion>

  <Accordion title="Numbers differ slightly from the GA4 interface">
    Small differences are normal: GA4 applies sampling and processing-delay adjustments, and recent data (last 24–48h) is still settling. For exact comparisons, use the same date range and timezone as the GA4 report.
  </Accordion>

  <Accordion title="A metric the agent used isn't the one I meant">
    GA4 has near-duplicate metrics (users vs. active users, conversions vs. key events). Name the exact metric, or ask the agent to list the available metrics for the property and pick together.
  </Accordion>

  <Accordion title="Our old Universal Analytics data isn't there">
    Only GA4 properties are supported — Google retired Universal Analytics and its data isn't available through the current APIs.
  </Accordion>
</AccordionGroup>
