# Google Analytics

Connect Google Analytics 4 to Sequel with OAuth and ask about sessions, conversions, and traffic in natural language.

Connect **Google Analytics 4 (GA4)** to Sequel and ask about your traffic, sessions, conversions, and acquisition channels in plain English — then join it with your product or revenue data for questions a single tool can't answer alone.

## What you'll need

- A **Google account** with access to the GA4 property you want to query.
- At least **Viewer** access on that property.

Google Analytics connects over **OAuth**, so there's no key to copy — you authorize Sequel with your Google account and pick the property.

## Connect it

<Steps>
<Step title="Open a new connection">
In the Sequel dashboard, go to **Connections → New connection** and choose **Google Analytics**.
</Step>

<Step title="Sign in with Google">
You'll be redirected to Google's consent screen. Sign in and grant Sequel read access to your Analytics data.
</Step>

<Step title="Pick a property">
Choose the GA4 property you want Sequel to query. You can connect additional properties later by repeating this flow.
</Step>

<Step title="Confirm">
Sequel verifies access and the connection goes live.
</Step>
</Steps>

<Callout type="info" title="GA4, not Universal Analytics">
Sequel queries GA4 properties. Universal Analytics properties stopped processing data in 2023 and aren't supported.
</Callout>

## Try it

- "How many sessions did we get last week, by channel?"
- "What were our top 10 landing pages by users this month?"
- "Compare conversion rate for mobile vs desktop over the last 30 days."
- "Which acquisition source drove the most new users this quarter?"

## Join it with other sources

Google Analytics gets more powerful alongside your other data. With a database also connected, ask:

> "For users acquired through paid search in GA, what's their 90-day retention in our Postgres `events` table?"

## Troubleshooting

| Symptom | Likely fix |
| --- | --- |
| No properties listed | The Google account you authorized doesn't have access to the property — use one with at least Viewer access. |
| Authorization fails | Re-run the OAuth flow and make sure you grant the requested Analytics read scope. |
| Data looks empty | Confirm the property actually has data in the date range you're asking about. |

## Related

- [Google Search Console](/docs/google-search-console)
- [Chatting with your data](/docs/chatting-with-your-data)
- [Browse all integrations](/docs/integrations)
