> For the complete documentation index, see [llms.txt](https://docs.frase.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frase.io/integrations/connectors/google-analytics-4.md).

# Google Analytics 4

See how much real traffic ChatGPT, Perplexity, Gemini, and other AI assistants send your site, and whether it converts.

{% hint style="warning" %}
You need a [connected site](https://docs.frase.io/get-started/connect-your-site-and-brand) and [Google Search Console](/integrations/connectors/google-search-console.md) first. Disconnecting Search Console also disconnects GA4. Only admins can connect GA4 to Frase.
{% endhint %}

## Connect Google Analytics 4

{% stepper %}
{% step %}

### Open Settings

Go to **Settings → Integrations** and locate Google Analytics. Start the connection on the site you want.&#x20;
{% endstep %}

{% step %}

### Sign in with your Google account

Frase asks for read-only access to your Analytics and nothing else.
{% endstep %}

{% step %}

### Pick your Analytics property

{% endstep %}
{% endstepper %}

## See your AI referral traffic

Go to **Monitor → AI Visibility → AI Referrals**. Your first sync runs right away, then Frase syncs daily.

You'll see sessions from each AI assistant, their share of your traffic, week-over-week movement, and conversions. Assistants Frase doesn't recognize yet are still counted, so nothing goes missing.

{% hint style="warning" %}
A visit from an AI assistant is a **referral**, not proof that a specific mention caused it. Assistants also often drop referrer data, so treat this number as a floor, not an exact count.
{% endhint %}

## Disconnect Google Analytics 4

Disconnecting deletes Frase's copy of your GA4 data. To remove Frase's access inside Google too, use the removal step shown on the connection.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.frase.io/integrations/connectors/google-analytics-4.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
