Sprites MCP · Google Analytics MCP server · Perplexity

How to connect Google Analytics to Perplexity

To connect Google Analytics to Perplexity, add https://mcp.sprites.ai/mcp as a remote MCP server in Perplexity, sign in to Sprites, and Perplexity can read your Google Analytics 4 account and propose changes to it. Setup takes about two minutes and needs no API key. Every write comes back as an approval before it touches the account.

MCP server URLhttps://mcp.sprites.ai/mcp

5 steps · about 2 minutes

PerplexitySprites connected

What happened to conversions last week?

Spritesanalyzerunning
SpritesGA4
  • Organic search412 → 402 convFlat−2%
  • Paid search308 → 141 convCause−54%
  • Direct96 → 101 convFlat+5%
Paid search accounts for 94% of the dropDig in

Add Sprites to Perplexity

Available on Pro, Max and Enterprise. In an Enterprise organization an admin first has to allow members to add custom connectors. You need a Sprites account with Google Analytics 4 already connected — the connector acts on that connection, so Perplexity never handles a GA4 credential.

Google Analytics MCP setup guide
  1. Open Plugins

    In the Perplexity sidebar open Plugins, then Add custom, then Add MCP connector, and choose Remote. Older accounts show the same screen under Customize, then Connectors.

    Perplexity
    PluginsAdd customAdd MCP connectorRemote
  2. Paste the endpoint and choose OAuth

    Name it Sprites and paste the endpoint. Under Advanced set Authentication to OAuth and Transport to Streamable HTTP. Sprites publishes its own OAuth metadata and registers the client itself, so there is no client ID or secret to fill in. Tick the acknowledgement and click Add.

    Add MCP connector
    NameSpritesMCP server URLhttps://mcp.sprites.ai/mcpAuthenticationOAuthTransportStreamable HTTP
  3. Sign in and switch it on

    Click the Sprites card to connect. Perplexity opens the Sprites consent screen; sign in with the account your channels are connected to and approve. Then switch the connector on.

    Spriteswants access on behalf of Perplexity
    • Read your connected ad accounts and site data
    • Draft campaigns, creatives and pages for your approval
    • Apply only the changes you approve
    AllowCancel
  4. Name it in the prompt

    Start a question with "Using Sprites," so Perplexity calls the connector instead of answering from the web alone.

What permissions this needs

Connecting Google Analytics to Perplexity yourself means a Google Analytics Data and Admin APIs integration, and these are the permissions and gates it runs into. Through Sprites you sign in with OAuth instead, with no developer token or app review of your own.

analytics.readonly

Read reports and configuration through the Data and Admin APIs.

analytics.edit

Change configuration, such as audiences or a Google Ads link setting.

Property ID

Every report runs against one numeric GA4 property.

Cloud project and credentials

The self-hosted route needs both APIs enabled on your own Google Cloud project and application-default credentials from the gcloud consent flow.

What Sprites asks for when you connect

Google sign-in for analytics.readonly and analytics.edit on the Sprites Google Cloud project.

What you skip

You enable no APIs, create no service account and run no gcloud consent flow. Perplexity signs in to Sprites with OAuth and never holds a GA4 credential.

Run the first prompt

Ask Perplexity this. It routes to a Sprites door, which reads your Google Analytics 4 account and answers — no account to name, no confirmation to give first.

  • With Sprites, what happened to conversions last week and which channel caused it?
  • Ask Sprites for our top 10 landing pages by conversion rate this month.
  • Use Sprites to compare organic and paid revenue quarter over quarter in GA4.
  • Have Sprites break down ecommerce revenue by product for the last 30 days.
  • With Sprites, set up a Monday brief on traffic, conversions and the biggest change.

The Sprites card under Plugins shows as connected with no error tag. Ask "using Sprites, what can you do?" and it lists the doors.

What Perplexity can do with Google Analytics 4

The same doors, whichever client you are in. Web research and your own account in one answer: Perplexity can set what a competitor is saying in public against what your campaigns are actually spending.

Ask in English, get the report run

No explorations, no dimension picker. The question becomes a GA4 query and the answer comes back with the numbers attached.

Channel attribution that names a cause

The channel that accounts for the change, with its share of it stated, not a chart of everything that moved.

Item-scoped ecommerce

Revenue and units per product, not just per session — the breakdown GA4 buries.

Landing pages that earn and landing pages that leak

Entry page performance against conversions, ranked, with the drop-off stated.

Join it to the ad accounts

Because the same connector reads Google Ads and Meta, a GA4 answer can be checked against what the platforms claim.

A standing weekly read

A scheduled brief that runs against GA4 and messages you only when a number breaks trend.

How approvals work here

Perplexity renders tool results as text, so a GA4 change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.

What it reads

  • Sessions, users, engagement and conversions by any GA4 dimension
  • Channel, source, medium and campaign attribution
  • Landing pages, events and funnels
  • Item-scoped ecommerce: revenue and units per product

What it can change

  • Nothing. GA4 is read-only through this connector by design
  • Changes it recommends land on the ad or SEO channel they belong to, each with its own approval

When it does not work in Perplexity

Three things go wrong in this client specifically, and each has a one-line fix.

There is no Add custom option.

In an Enterprise organization custom connectors are off for members by default. An admin turns on "Allow members to add custom connectors", or adds Sprites once under Organization settings, Connectors.

The card shows an error tag after Add.

Perplexity could not validate the server. Check the URL is exactly the endpoint above and that Transport is Streamable HTTP rather than SSE, then reconfigure.

Perplexity answers from the web and ignores your account.

Say "using Sprites" in the prompt. Without it Perplexity often treats an account question as a search.

Google Analytics 4 and Perplexity: questions

Which URL do I paste into Perplexity?

https://mcp.sprites.ai/mcp. There is one endpoint and every client uses it — every OAuth grant is bound to exactly that address, so a variant of it will not be honoured.

Can Perplexity change my Google Analytics 4 account without asking?

Perplexity renders tool results as text, so a GA4 change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.

Do I need a Google Analytics 4 API key or developer token?

No. Google Analytics 4 is connected once inside Sprites through Google Analytics 4, and the connector acts on that connection. You enable no APIs, create no service account and run no gcloud consent flow. Perplexity never sees a credential for it.

Why Perplexity for Google Analytics 4 specifically?

Web research and your own account in one answer: Perplexity can set what a competitor is saying in public against what your campaigns are actually spending.

Can it change anything in GA4?

No. GA4 is read-only through this connector on purpose. If the answer implies a change, it is proposed on the channel that owns it — an ad account, a page — with its own approval.

Do I need to know GA4 dimensions and metrics?

No. You ask the question; Sprites picks the dimensions, runs the report and states what it queried so you can check the working.

Keep going

The same Perplexity connector reaches every other channel — nothing else to add.

All GA4 guides

Google Analytics 4, from Perplexity

Paste one URL, sign in once, and the next GA4 question you ask Perplexity gets answered from the live account.