Meta Pixel
Back to Blog
Connection guide5 min readNov 12, 2026By Andrii Pasika· Founder, LoomaScale

How to Connect Claude to GA4 (Google Analytics 4)

Short answer

To connect Claude to GA4, authorize Google Analytics in LoomaScale and connect LoomaScale from Claude's connector directory. Enable it in your conversation and ask for your GA4 property list. Select a property, confirm its time zone, and request a report with specific dates and metrics before interpreting the results.

A Claude GA4 connector is useful when you want to investigate a marketing question conversationally. Instead of pasting screenshots of separate reports, you can ask Claude to retrieve the underlying rows, compare equivalent periods and explain where the evidence stops. The connection still respects your Google property access.

What do you need before connecting?

Use Claude on the web or Claude Desktop with connector access allowed for your account. Organization controls may require an owner to add the connector before members connect individually. This guide covers Claude's connector interface; Claude Code's terminal configuration is a separate route.

  • A Google login with access to the GA4 property you want to analyze.
  • A LoomaScale account and a Google Analytics connection; connecting Google Ads alone does not authorize Analytics.
  • The property's numeric ID, or permission to discover it from the account list. A G- measurement ID identifies a web stream and is not the reporting property ID.

How do you connect Claude to GA4?

1. Connect GA4 in LoomaScale

Create or sign in to your LoomaScale account, then open Connections. Choose Google Analytics, sign in with the Google email that has access to the required data, and review the requested permissions. Signing in to LoomaScale with Google is not a substitute for connecting this data source. You can connect this service without connecting an advertising account.

2. Connect the LoomaScale directory connector

Open LoomaScale in Claude's connector directory and choose Connect to Claude. Use the existing full connector for access to this Google service alongside your other connected sources. LoomaScale is listed in the directory; that listing should not be read as a claim that Anthropic verified its analysis.

3. Authorize LoomaScale and enable its tools

Sign in to the LoomaScale account that holds your Google connection and complete authorization. In Claude, open Customize → Connectors and confirm LoomaScale is connected. Enable it for your conversation through + → Connectors, then request an account lookup by name. For a service-specific custom connection, use + Add → Add custom connector, enter the endpoint below and complete the detected OAuth flow. Team and Enterprise owners manage organization-level connector availability.

4. Verify access with an actual account lookup

Use LoomaScale to call ga4_get_account_summaries. List my accessible GA4 properties with their names and numeric property IDs. Ask me which property to use. Read its reporting time zone and currency. Do not change any settings.

The response should contain properties from your own Google login, with a resource such as properties/123456789. Select the property by name and ID, then keep that selection in subsequent requests. A description of GA4 or a sample dashboard does not prove that the connector retrieved data. An empty account list can be a valid response from a login with no accessible properties.

How do you compare landing-page engagement in Claude?

Use a landing-page review to distinguish a traffic change from a change in visitor behavior. Compare two periods of equal length, keep the property fixed and define engagement consistently. Request a manageable set of pages with enough sessions to discuss. A low-volume page can produce a large percentage movement from very few visits.

Use LoomaScale for the GA4 property I selected. Compare the last 28 complete days with the previous 28 days by landingPagePlusQueryString. Show sessions, engagedSessions and engagementRate for the leading 10 landing pages by sessions. State dates, property ID and time zone. Explain which movements reflect traffic volume versus engagement. Label hypotheses and do not change configuration.

Ask Claude to preserve the returned page paths and metric definitions so you can reproduce the comparison. A drop in engagement can justify inspecting a page or device segment; it does not identify a technical cause by itself. Query parameters may split variants of one landing page, so review them before treating every row as a different content asset.

Which MCP endpoint does this guide use?

https://api.loomascale.com/mcp/ga4

The service-specific endpoint exposes GA4 tools and LoomaScale account helpers. The full directory plugin or connector uses https://api.loomascale.com/mcp and can reach all sources you separately connect. Choose the full connection for work across services; use the specific endpoint when you want this source's tool set. An endpoint choice limits exposed tools, not the Google roles your login holds.

What can Claude read or change in GA4?

LoomaScale can retrieve traffic, engagement, key events, revenue, realtime activity and funnel reports. Start with reporting and specify dates, dimensions and metrics. Configuration tools can mark key events, add or change event rules, adjust enhanced measurement and data redaction, and create or rename web streams after you approve a dry run; they need an Editor role on the property and the analytics.edit permission granted at connect, and report access alone does not grant editing. Connecting an assistant does not install a website tag, create historical events or make GA4 attribution identical to an ad platform's attribution.

Why is the connection or data missing?

If Claude does not call a tool, enable the connector for the conversation and name LoomaScale explicitly. If new tools are missing, open its connector page and use Refresh tools list; the Claude refresh guide shows the menu. A refreshed list cannot grant access to a missing Google property or bypass an organization restriction.

If the property is missing, confirm the Google email and property access, then check the Analytics connection in LoomaScale. If a report is empty, check the property, dates, filters and whether the site actually sends events. Compare equivalent periods in the property's time zone. For a metric mismatch, preserve the exact metric names and attribution definitions before drawing conclusions. Use the reporting property ID rather than the G- stream identifier.

Related connection guides and official references

Use GA4 in another assistant

Connect another Google source to Claude

Official setup references

Setup references checked on November 12, 2026. Menu labels and workspace policies can change; use the linked vendor guidance for your account. For LoomaScale's supported workflows, see the documentation hub.

FAQ

Why does Claude describe GA4 instead of reading my reports?

Check that LoomaScale is connected and enabled for the conversation, then explicitly ask it to list your GA4 properties through the connector. A general explanation does not verify access. If the property list works but a report fails, inspect the selected property, permissions and report request.

Do I need a GA4 measurement ID or a property ID?

Reporting uses the numeric property ID, often returned as properties/123456789. A G- measurement ID belongs to a web data stream. Ask LoomaScale to list your properties first, then select the correct property rather than guessing an ID.

Is connecting Claude the same as configuring Claude Code?

This guide uses Claude's web or desktop connector interface. Claude Code can also use MCP tools, but its terminal configuration and authentication checks have their own setup. Use the dedicated Claude Code guide for a reproducible CLI connection and verify the source account there.

Who wrote this

Andrii Pasika, founder of LoomaScale

Andrii Pasika

Founder, LoomaScale

Andrii founded LoomaScale and wrote the Google Ads MCP server behind it. He runs his own campaigns through it, and mail to team@loomascale.com reaches him.

Connect GA4 to Claude

Create your LoomaScale account, connect the Google source, and use the verification prompt above to retrieve your own account data.

Start with LoomaScale

Connect your assistant to your ad platform

LoomaScale runs inside the assistant you already use. Pick the pair you work with; each guide takes about five minutes.

ChatGPT
Google Ads

Manage Google Ads campaigns from ChatGPT: search terms, budgets and new campaigns, paused for your review. One-click install from ChatGPT's directory.

Read the integration
Claude
Google Ads

Manage Google Ads from Claude: audits, budget changes and new campaigns, every write inside the spend cap you set. Connect from Claude's directory.

Read the integration
Claude Code
Google Ads

Install the LoomaScale plugin in Claude Code with two commands and audit Google Ads from your terminal: search terms, budgets and pacing, with skills built in.

Read the integration
Codex
Google Ads

Install the LoomaScale plugin in OpenAI Codex with two commands and audit Google Ads from your terminal: search terms, budgets and conversion goals.

Read the integration
ChatGPT
Meta Ads

Manage Facebook and Instagram campaigns from ChatGPT: ad sets, budgets and creatives in one chat. The same one-click install.

Read the integration
Claude
Meta Ads

Manage Facebook and Instagram campaigns from Claude: audits, budget caps and new ad sets, inside the limits you set.

Read the integration
Claude Code
Meta Ads

Run Facebook and Instagram campaign reviews from Claude Code: the same plugin, one sign-in, and skills for waste audits, pacing and creative fatigue.

Read the integration
Codex
Meta Ads

Review Facebook and Instagram campaigns from OpenAI Codex: the same plugin and sign-in, with placement, age and lead-quality checks.

Read the integration
ChatGPT
TikTok Ads

Manage TikTok campaigns from ChatGPT: reports, video watch-through, audience breakdowns, and pauses, budgets and bids on request. The same one-click install.

Read the integration
Claude
TikTok Ads

Manage TikTok campaigns from Claude: audits, video and audience reports, and pauses, budgets and bids inside the spend cap you set.

Read the integration
Manus
Google Ads

Connect Manus to Google Ads through LoomaScale’s MCP server. Analyze campaigns, keywords and search terms, then request changes within your permissions and spend cap.

Read the integration
Slack
Google Ads

Ask Slackbot about Google Ads in any Slack DM: audits, search terms and pacing checks, with changes kept inside your spend cap. Install the app once per workspace.

Read the integration
Manus
Meta Ads

Connect Manus to Meta Ads through LoomaScale’s MCP server. Review Facebook and Instagram campaigns, ad sets, creatives and placements.

Read the integration
Slack
Meta Ads

Ask Slackbot about Facebook and Instagram campaigns in any Slack DM: delivery, pacing and ad-set spend, read live from Meta Ads.

Read the integration