Skip to main content
Connect Google Analytics and ask your AI assistant for GA4 reports in natural language — standard and realtime reports, plus a set of tools built for a question GA4 makes hard to answer: how much of your traffic comes from AI assistants.

Prerequisites

  • A Google account with at least Viewer access to a GA4 property in Google Analytics
  • The Connect sources capability in your VexiData organization, to connect the platform — Owners and Admins have it by default

Connect Google Analytics

1

Open the Integrations page

Go to the Integrations page in VexiData and find Google Analytics.
2

Sign in with Google

Click Connect and approve Google’s consent screen with the account that can see your GA4 properties.VexiData asks for the analytics.readonly scope — it reads reports and configuration and can never change anything in your Analytics account. It also requests your basic Google profile and email address — the email address is what names the connection. Keep the Google Analytics box ticked on the consent screen: without it, the connection is refused and you need to connect again.
Each Google product connects separately. Connecting Analytics does not connect Search Console or Google Ads — each has its own consent flow.
3

Pick your default properties

Click the new connection’s card to open its page. In the Settings card, check the GA4 properties the AI should report on when you don’t name one, then click Save.

Managing the connection

To connect another Google account, click Add account on the Google Analytics card on the Integrations page. Each account becomes its own connection, and the one with the Primary badge is the primary, which tools use when a request doesn’t name a connection. Click a connection’s card to open its page. It has Connection details, Settings, and Connection cards, plus an Access section for choosing who can use the connection. From there you can:
  • Set default properties — in Settings, check the GA4 properties the AI uses by default and click Save.
  • Make primary — in Connection, make this connection the primary one. The button is hidden on the connection that is already primary.
  • Reconnect — appears in Connection only when Google access has expired (the card shows Reconnect required). It runs the consent flow again; sign in with the same account to refresh this connection. A different account is added as a separate connection.
  • Disconnect — in Connection, remove the connection. AI tools stop working for it immediately.

What the AI can do

All Google Analytics tools are read-only, so anyone with access to the connection — including Members — can use every one of them.

Measuring AI-assistant traffic

The google_analytics_ai_* tools isolate sessions referred by AI assistants, so you can ask questions like:
  • “How has our ChatGPT traffic trended over the last 90 days?”
  • “Which AI engine sends us the most visitors?”
  • “Which blog posts do Perplexity users land on?”

Troubleshooting

Google access expires when the account password changes, when access is revoked from the Google account’s security settings, or when consent lapses. Open the connection from the Integrations page — its card shows Reconnect required — and click Reconnect in the Connection card to run the consent flow again.
VexiData sees exactly the properties the connected Google account can access:
  • Check the property appears in Google Analytics when you’re signed in with that account
  • Ask a property administrator to grant access under Admin > Property access management
  • If you connected the wrong Google account, click Add account on the Integrations page and sign in with the right one — a different account becomes a second connection — then open the wrong connection and click Disconnect
Tools register as soon as the platform is connected, but some clients cache the tool list. Reload or reconnect the VexiData connector in your AI client.