Agents and MCP

Ask ChatGPT about your GA4 data, not about GA4.

Most GA4 questions end in a hunt through reports and explorations. Connect GA4 to LopeBase, add LopeBase as an app in ChatGPT, and ask the question you actually had: where signups come from, which page loses people, and what changed.

Read only. ChatGPT gets counts and rates, never individual visitors.

What it looks like in ChatGPT

One question, one tool call, and an answer built on your own GA4 numbers.

ChatGPT · LopeBase app

Which landing pages lose the most people? Use purchase as the goal.

read_sourcega4-acmelanding_pagesgoal: purchase

pagevisitorsbouncebought
/8,14041%96
/sale3,92078%12
/products/kit2,31036%71

/sale gets plenty of visitors but 78% leave right away and few buy. The product page converts about ten times better. Point the sale traffic at the product page first.

Outcomes, not just visits

Name a goal event, like sign_up or purchase, and channels, landing pages, and devices count who converted.

No report building

No explorations, no custom segments, no date pickers. ChatGPT asks for the cut it needs.

All your properties together

Each GA4 property is its own connection, so one chat can compare products.

Add LopeBase to ChatGPT

Three steps. The first is the same for every app; the rest is specific to ChatGPT.

  1. 01

    Connect GA4 to LopeBase. Start free, add your site, press Connect with Google, and pick the GA4 property. You need no Google Cloud project and no API key. Google is only asked for read access.

  2. 02

    Add LopeBase as an app in ChatGPT. On a plan that can add custom apps, open Settings, then Apps, turn on developer mode under Advanced, and create an app with the address below. Pick OAuth as the sign in.

  3. 03

    Approve it and ask. ChatGPT opens a LopeBase page. Approve it for your workspace, start a new chat, turn on LopeBase from the tools menu, and ask your first question.

https://app.lopebase.com/api/mcp/chatgpt

ChatGPT moves these menus between releases, and which plans can add custom apps changes too. If you cannot find developer mode, OpenAI's help center lists what your plan includes. ChatGPT gets the read tools and the content tools; adding a key or connecting a new source always happens on LopeBase's own pages, never in the chat.

GA4 prompts that work well in ChatGPT

ChatGPT is good at turning numbers into a decision. Start with these.

Pick a channel to invest in

Rank our channels by sign_up conversion rate, and say where to spend next month.

Visitors and conversions per channel, with a recommendation.

traffic_sourcesgoal_events

Explain this week

Traffic rose this week. What drove it, in plain words?

Daily trend plus where the extra visitors came from.

daily_pageviewstraffic_sources

Check mobile

Do phone visitors buy less than desktop visitors? By how much?

A big gap often means a checkout problem on small screens.

devices

Notice broken tracking

Did any goal event drop by more than half compared with the month before?

A sudden drop is often a broken tag, not a bad month.

goal_events

What ChatGPT can read from GA4

Seven datasets per GA4 property. Breakdowns cover the last 28 days and the trend up to 90. Pass any event as a goal to count conversions.

  • web_analyticsPageviews for 7 and 28 days, plus weekly and monthly users.pageviews_7d · pageviews_28d · wau · mau
  • daily_pageviewsPageviews and visitors per day.day · pageviews · visitors
  • top_pathsThe most viewed pages over the last 7 days.url · views · visitors
  • goal_eventsEvents that may count as a conversion, now and before.event · people_28d · people_prev_28d · people_7d
  • traffic_sourcesVisitors and sessions per channel. Add a goal for conversions.source · visitors · sessions · converters
  • landing_pagesVisitors and bounce rate per landing page.path · visitors · converters · bounce_rate
  • devicesVisitors per device. Add a goal for conversions.device · visitors · converters

More on each dataset: Google Analytics MCP. Connecting in the console: the GA4 connector.

Other ways to get GA4 into ChatGPT

LopeBase is not the only route. Here is how it compares with the usual one.

TopicScreenshots and exportsLopeBase
Getting the dataBuild a report or exploration, then export or screenshot it.ChatGPT reads it from the GA4 Data API when you ask.
ConversionsSet up a comparison or a funnel exploration by hand.Name the goal event and every breakdown counts it.
Follow upsAnother export for each new question.Ask the next question in the same chat.
Several propertiesSwitch property, export again.Every connected property in one place.
Best whenYou need one chart for a slide.You want answers from GA4 every week.

GA4 and ChatGPT questions

Something else? Contact us.

Which ChatGPT plans can add LopeBase?

Plans that can add custom apps through developer mode. OpenAI decides which plans include it and changes that from time to time, so check their help center. LopeBase works on every LopeBase plan, including Free.

Does ChatGPT see who my visitors are?

No. LopeBase returns totals and rates per channel, page, and device. No visitor, IP address, or user ID ever reaches the chat.

Can I use Universal Analytics?

No. Google shut down Universal Analytics. LopeBase reads GA4 properties.

What if I don't know my goal event names?

Ask ChatGPT to list them. The goal_events dataset shows every event that could count as a conversion, with how many people triggered it.

Can ChatGPT connect GA4 for me?

It gives you a Connect with Google link that opens LopeBase, and you finish there in one click. Sign ins and keys never go through the chat.

Ask ChatGPT what GA4 is telling you.

Free for one product. No card. Agent access is on every plan.