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

# Google Analytics 4 (GA4)

> Connect your Google Analytics 4 property to track AI referral traffic, measure downstream conversions from AI search engines, and correlate AI visibility with website visits.

The **Google Analytics 4 (GA4)** integration connects your live web analytics to ChatFeatured. By linking your GA4 property, you can measure the actual downstream impact of your AI search optimization: tracking referral traffic from AI answer engines (`chatgpt.com`, `perplexity.ai`, `claude.ai`, etc.), evaluating landing page engagement, and measuring conversions driven by AI citations.

<img src="https://mintcdn.com/chatfeatured/jeu6Q2ak4cjymfns/analytics-google.png?fit=max&auto=format&n=jeu6Q2ak4cjymfns&q=85&s=c03cb340610a07532054344280601108" alt="Analytics Google" width="1273" height="874" data-path="analytics-google.png" />

***

## Why Connect GA4 to ChatFeatured?

While ChatFeatured monitors your brand's presence and citations inside AI model answers, GA4 reveals what happens after users click through:

<CardGroup cols={2}>
  <Card title="AI Referral Attribution" icon="chart-line-up">
    Automatically isolate and track sessions originating from AI engines including ChatGPT, Perplexity, Claude, Gemini, and Copilot.
  </Card>

  <Card title="Citation-to-Traffic Correlation" icon="arrows-rotate">
    Measure how changes in prompt visibility and citation counts translate into real user visits over time.
  </Card>

  <Card title="Top Performing AI Landing Pages" icon="file-lines">
    Identify which articles, comparison pages, and documentation URLs attract the highest volume of AI-referred traffic.
  </Card>

  <Card title="Conversational Agent Insights" icon="bot">
    Ask the [AEO Agent](/ai-agents/overview) natural language questions about your web traffic without leaving ChatFeatured.
  </Card>
</CardGroup>

***

## What Data ChatFeatured Analyzes

Once connected, ChatFeatured filters and evaluates your GA4 data across several key dimensions:

* **AI Referral Domains:** Sessions and active users coming from AI platforms, including:
  * `chatgpt.com` / `chat.openai.com`
  * `perplexity.ai`
  * `claude.ai`
  * `gemini.google.com`
  * `copilot.microsoft.com`
* **Engagement Metrics:** Average session duration, engagement rate, bounce rate, and pages per session for AI visitors vs. standard organic search.
* **Landing Page Performance:** URLs receiving direct click-throughs from AI citations.
* **Conversion & Event Tracking:** Key conversion events (signups, demo requests, purchases) attributed to AI referral channels.

<img src="https://mintcdn.com/chatfeatured/jeu6Q2ak4cjymfns/ai-sessions.png?fit=max&auto=format&n=jeu6Q2ak4cjymfns&q=85&s=9c9048090080b7742c9669d28969b512" alt="Ai Sessions" width="1273" height="345" data-path="ai-sessions.png" />

***

## Setup Instructions

Connecting GA4 requires a Google Account with at least **Viewer** permissions on the target GA4 property.

<Steps>
  <Step title="1. Navigate to Integrations">
    In your ChatFeatured dashboard, navigate to **Integrations** in the left sidebar and select **Google Analytics 4**.
  </Step>

  <Step title="2. Authenticate with Google">
    Click **Connect Google Analytics**. You will be redirected to Google’s secure OAuth consent screen.
  </Step>

  <Step title="3. Grant Read-Only Permissions">
    Select the Google account that manages your website's analytics. Grant the requested read-only scope (`analytics.readonly`).

    <Info>
      ChatFeatured requests **read-only** access strictly to pull aggregated traffic reports and session metrics. ChatFeatured cannot alter your tracking tags, delete properties, or modify your GA4 configurations.
    </Info>
  </Step>

  <Step title="4. Select Property & Data Stream">
    After redirecting back to ChatFeatured:

    * Select your **GA4 Property** from the dropdown.
    * Select your active **Web Data Stream**.
    * Click **Save & Sync**.
  </Step>
</Steps>

***

## Querying GA4 with the AEO Agent

Once connected, the [AEO Agent](/ai-agents/overview) can analyze your web traffic in real time. You can ask questions such as:

<AccordionGroup>
  <Accordion title="Traffic Attribution Prompts">
    * *"How much referral traffic did we receive from ChatGPT and Perplexity over the last 30 days?"*
    * *"What are our top 5 landing pages receiving traffic from AI search engines?"*
    * *"Compare our AI referral traffic this month versus last month."*
  </Accordion>

  <Accordion title="AEO Content Impact Prompts">
    * *"Did our new comparison article generate any referral traffic from ChatGPT since being published?"*
    * *"Which articles published through ChatFeatured have the highest engagement rate from AI visitors?"*
    * *"Is our increase in Perplexity citations correlating with more visits to our documentation?"*
  </Accordion>
</AccordionGroup>

***

## Troubleshooting & FAQ

<AccordionGroup>
  <Accordion title="Why is my AI referral traffic lower than my citation counts?">
    Citations in AI responses indicate that an answer engine used your page as a source to construct an answer. Not every user who reads an AI answer clicks through the cited source link. A high citation count with moderate referral traffic is normal across conversational search engines.
  </Accordion>

  <Accordion title="Why is recent data missing or delayed?">
    Google Analytics 4 has a standard data processing latency of **24 to 48 hours** for full session attribution. Data from today or yesterday may be incomplete in GA4 until Google finishes processing data streams.
  </Accordion>

  <Accordion title="Can I disconnect or change the GA4 property?">
    Yes. Go to **Integrations > Google Analytics 4**, click **Manage Connection**, and choose **Disconnect** or select a different property from your account.
  </Accordion>
</AccordionGroup>

***

## Related Guides

<CardGroup cols={2}>
  <Card title="Google Search Console" icon="google" href="/integrations/google-search-console">
    Track index status, sitemaps, and organic search impressions.
  </Card>

  <Card title="Analytics Dashboard" icon="chart-simple" href="/using-chatfeatured/analytics">
    Monitor brand visibility, sentiment, and citations across 7 AI models.
  </Card>

  <Card title="AI Crawler Analytics" icon="shield-halved" href="/integrations/cloudflare">
    Monitor real-time AI bot crawl activity via Cloudflare or Vercel logs.
  </Card>

  <Card title="AEO Agent Overview" icon="bot" href="/ai-agents/overview">
    Learn how the conversational agent uses integrated data to provide actionable advice.
  </Card>
</CardGroup>
