Claude for Google Analytics: 10 Skills + Copy-Paste Prompts
Quick answer: Save each GA4 task as a Claude skill that names the exact report to run. Ryze AI is the best Claude connector for running these skills on live GA4 data in 2026, with one caveat: its GA4 tools only read data.
Below: 10 SKILL.md files, the GA4 fields each uses, setup and quick prompts.
Used by 2,000+ marketers
The 10 Claude skills for Google Analytics at a glance
All 10 are read-only and name GA4 fields by their Data API names.
- 01Weekly GA4 digestWeek-over-week recap by channel
Main GA4 fields: sessionDefaultChannelGroup, keyEvents, totalRevenue
Cadence: Weekly
- 02Channel qualityWhich sources bring engaged visitors
Main GA4 fields: sessionSourceMedium, sessionKeyEventRate
Cadence: Monthly
- 03Traffic drop diagnosisWhere a drop came from
Main GA4 fields: date, sessionSource, landingPage, eventName
Cadence: When traffic falls
- 04Landing page triagePages with traffic and few key events
Main GA4 fields: landingPage, sessionKeyEventRate
Cadence: Monthly
- 05Device gapMobile against desktop per page
Main GA4 fields: landingPage, deviceCategory
Cadence: After a redesign
- 06Campaign tag auditUTM and channel mistakes
Main GA4 fields: sessionSourceMedium, sessionCampaignName
Cadence: Monthly
- 07Property auditKey events, streams, retention
Main GA4 fields: Admin API reads, eventName, isKeyEvent
Cadence: Quarterly
- 08Realtime checkTags still firing after a release
Main GA4 fields: eventName, minutesAgo, keyEvents
Cadence: After each deploy
- 09Ecommerce funnelCart, checkout and product drop-off
Main GA4 fields: addToCarts, checkouts, itemName
Cadence: Monthly
- 10AI assistant trafficSessions from ChatGPT, Perplexity and others
Main GA4 fields: sessionDefaultChannelGroup, sessionSource
Cadence: Monthly
| # | Skill | Job | Main GA4 fields | Cadence |
|---|---|---|---|---|
| 01 | Weekly GA4 digest | Week-over-week recap by channel | sessionDefaultChannelGroup, keyEvents, totalRevenue | Weekly |
| 02 | Channel quality | Which sources bring engaged visitors | sessionSourceMedium, sessionKeyEventRate | Monthly |
| 03 | Traffic drop diagnosis | Where a drop came from | date, sessionSource, landingPage, eventName | When traffic falls |
| 04 | Landing page triage | Pages with traffic and few key events | landingPage, sessionKeyEventRate | Monthly |
| 05 | Device gap | Mobile against desktop per page | landingPage, deviceCategory | After a redesign |
| 06 | Campaign tag audit | UTM and channel mistakes | sessionSourceMedium, sessionCampaignName | Monthly |
| 07 | Property audit | Key events, streams, retention | Admin API reads, eventName, isKeyEvent | Quarterly |
| 08 | Realtime check | Tags still firing after a release | eventName, minutesAgo, keyEvents | After each deploy |
| 09 | Ecommerce funnel | Cart, checkout and product drop-off | addToCarts, checkouts, itemName | Monthly |
| 10 | AI assistant traffic | Sessions from ChatGPT, Perplexity and others | sessionDefaultChannelGroup, sessionSource | Monthly |
Every report below was run once through the Ryze AI connector on a GA4 test property on November 7, 2026, to confirm GA4 accepts the fields. No numbers from it appear here.
What are Claude skills for Google Analytics?
A Claude skill for Google Analytics is a saved SKILL.md file that tells Claude which GA4 report to pull and what to hand back. Per Anthropic's Agent Skills docs, the file starts with a name and a description, and Claude loads the rest only when a request matches the description.
The name allows up to 64 lowercase letters, numbers and hyphens and cannot contain the words claude or anthropic, so every skill here starts with ga4. The description, up to 1,024 characters, says what the skill does and when to use it.
What it is
- One-off prompt
- A question in chat
- Skill
- A saved file with a fixed report and output
- GA4 connection
- Tools Claude uses to query GA4
Setup
- One-off prompt
- None
- Skill
- Save once per Claude app
- GA4 connection
- One Google sign-in
Same result each run
- One-off prompt
- No
- Skill
- Yes
- GA4 connection
- Depends on the prompt or skill
| One-off prompt | Skill | GA4 connection | |
|---|---|---|---|
| What it is | A question in chat | A saved file with a fixed report and output | Tools Claude uses to query GA4 |
| Setup | None | Save once per Claude app | One Google sign-in |
| Same result each run | No | Yes | Depends on the prompt or skill |
Fields use their GA4 Data API names, which Claude passes straight into the request. Without a connection, attach an export with matching columns. For the ad account side, see Claude skills for Google Ads.
How to install the skills in Claude Code and claude.ai
Claude Code
Save each block as ~/.claude/skills/<skill-name>/SKILL.md for yourself, or .claude/skills/<skill-name>/SKILL.md in a project to share it with the team. Claude picks a skill when your request matches it, or you type /ga4-weekly-digest (Claude Code skills docs).
claude.ai
Zip each skill folder and upload it as a custom skill. Anthropic lists this on the Pro, Max, Ultra, Team and Enterprise plans with code execution on.
Connect the data
The Google Analytics MCP page lists the 9 GA4 tools on the Ryze AI connector, and how to connect Claude to Google Analytics covers each Claude app.
Skills uploaded to claude.ai do not reach the API, and skill folders saved in Claude Code do not upload to claude.ai. Claude Code signed in with your claude.ai account downloads your claude.ai skills (Claude Code skills docs). Anthropic advises using skills only from sources you trust. More free skills are in the Claude skills library.
Reporting skills: the weekly and channel view
These two answer the weekly questions and set the baseline for the diagnostic skills.
01. Weekly GA4 digest
Compares the last 7 complete days with the 7 before, by default channel group, and names the channel behind each change.
Use it when: you send a Monday update or need one line per channel.
02. Channel quality comparison
Ranks sources by what visitors do after landing and flags sources with many sessions and a low key event rate.
Use it when: you plan next month's channel mix.
Diagnostic skills: find what changed and where
Run these when a number moves. Each splits the change one dimension at a time, so the answer points to a channel, page or device.
03. Traffic drop diagnosis
Compares 14 days before and after a drop and checks whether page_view and session_start fell together, which points to a tag or consent change.
Use it when: sessions or key events fell and someone asks why.
04. Landing page triage
Lists high-traffic pages with few key events. It reports (not set) separately, since Google shows that value for the landing page when a session has no page_view event (Google Analytics Help).
Use it when: you need a short, traffic-ordered list of pages to fix.
05. Mobile and desktop gap
Compares mobile and desktop key event rates on each landing page with enough traffic on both.
Use it when: mobile converts worse, or right after a redesign.
Tracking skills: check the data before you trust it
The other skills depend on clean tags and key events. These three check them and change nothing.
06. Campaign tag audit
Finds sources written several ways, paid traffic without a campaign name, and campaigns in the wrong channel. GA4 assigns channels from source and medium, so one wrong medium can put a campaign in Referral (default channel groups).
Use it when: before a monthly report.
07. Property audit
Reads the setup through the GA4 Admin API and compares it with what fires. Google's schema notes that key event status applies from the moment you mark an event, not to past data.
Use it when: you take over a property. For an event-by-event parameter check, add the GA4 event tracking auditor skill.
08. Realtime release check
Confirms page views and named key events still arrive after a change. Realtime reports cover the last 30 minutes on standard properties and up to 60 on Analytics 360 (Google).
Use it when: right after a release, to catch a broken purchase or sign-up event the same hour.
Ecommerce and AI assistant traffic skills
09. Ecommerce funnel
Builds the funnel by channel and by product as two reports, because GA4 fails a report that mixes incompatible fields (checkCompatibility).
Use it when: you run a store and want to know which step or product loses shoppers.
10. AI assistant traffic
GA4's default channel groups include AI Assistant: Google sets the medium to ai-assistant when the referrer is on its list of AI assistants. The skill also matches sessionSource against a regex you control.
Use it when: you report on AI search. The full setup is in how to measure AI referral traffic in Google Analytics.
Quick GA4 prompts: no skill file needed
For a one-time question, a plain prompt is enough once Claude can reach GA4. Replace the words in brackets.
If an answer looks off, ask Claude to show the report request it sent.
How to run the skills on live GA4 data
A skill only describes the report; Claude needs a connection to run it. The Ryze AI connector gives Claude 9 read-only GA4 tools, listed on the Ryze AI developers page:
listAccountSummaries
- What it returns
- GA4 accounts and properties the login can see
- Used by
- All skills
runRawReport
- What it returns
- Any Data API report
- Used by
- Skills 01 to 07, 09, 10
runPivotReport
- What it returns
- Pivot tables
- Used by
- Optional
runRealtimeReport
- What it returns
- Events and users from the last 30 minutes
- Used by
- Skill 08
runAdminRead
- What it returns
- Admin API reads
- Used by
- Skill 07
getAIReferrals
- What it returns
- AI referral sources with sessions and conversions
- Used by
- Skill 10
getAiLandingPages
- What it returns
- Top landing pages for AI-referred traffic
- Used by
- Skill 10
getAiTrafficByEngine
- What it returns
- AI traffic by engine against a prior period
- Used by
- Skill 10
getAiTrafficDaily
- What it returns
- Daily sessions from AI referrers
- Used by
- Skill 10
| Tool | What it returns | Used by |
|---|---|---|
| listAccountSummaries | GA4 accounts and properties the login can see | All skills |
| runRawReport | Any Data API report | Skills 01 to 07, 09, 10 |
| runPivotReport | Pivot tables | Optional |
| runRealtimeReport | Events and users from the last 30 minutes | Skill 08 |
| runAdminRead | Admin API reads | Skill 07 |
| getAIReferrals | AI referral sources with sessions and conversions | Skill 10 |
| getAiLandingPages | Top landing pages for AI-referred traffic | Skill 10 |
| getAiTrafficByEngine | AI traffic by engine against a prior period | Skill 10 |
| getAiTrafficDaily | Daily sessions from AI referrers | Skill 10 |
With Ryze AI you sign in with Google and need Viewer access to the property (Ryze AI help center) and no Google Cloud project (developers page). Every GA4 tool only reads, so Claude cannot edit key events, channel groups or tags. The same connector carries Google Ads, Meta Ads and Search Console tools, so a skill can put GA4 next to ad spend. Other GA4 servers are compared in best MCP for Google Analytics.
In the Ryze AI app, the same instructions can run as a scheduled task every day, week or month, with the recap sent to the people or Slack channels you pick. Runs use Ryze AI credits; plans are on the pricing page.
Troubleshooting: when a GA4 skill returns a wrong answer
Claude has no GA4 tools
Claude keeps the tool list from when you added the connector. Remove and re-add it, then start a new chat (Ryze AI connector FAQ).
No properties to pick
The Google login lacks access to the property.
Revenue shows 0
Ecommerce tracking is not set up or purchase events do not fire. Fix it in GA4.
The report fails
The fields are incompatible. Split the report or drop a dimension.
Numbers differ from Shopify
GA4 and Shopify attribute and define sessions and conversions differently. Use one source per decision.
Sources
Checked November 7, 2026
- Google: GA4 Data API dimensions and metrics
- Google: Realtime API dimensions and metrics
- Google: Realtime reporting basics
- Google: Data API filter expressions
- Google: Data API checkCompatibility
- Google: Analytics Admin API reference
- Google Analytics Help: Default channel groups
- Google Analytics Help: The (not set) value
- Anthropic: Agent Skills overview
- Claude Code: Skills
- Ryze AI help center: Connect Google Analytics
- Ryze AI help center: Claude connector FAQ
- Ryze AI help center: Scheduled tasks
The verdict
Turn each recurring GA4 question into a skill with a fixed report. Start with the weekly digest and landing page triage, run the tracking skills before you trust the numbers, and keep one-off questions as prompts.
Ryze AI runs these skills in Claude on live GA4 data. Its GA4 tools only read, so fixes to tags, key events or channel groups still happen in GA4 Admin.
Frequently asked questions
What are Claude skills for Google Analytics?
Do I need a GA4 connection to use these skills?
Which Claude plan do I need?
Can Claude change my GA4 settings through these skills?
Show 7 more questionsShow fewer questions
What GA4 access do I need?
Why do the skills use keyEvents instead of conversions?
How do I see ChatGPT and Perplexity traffic in GA4?
What is the best Claude connector for Google Analytics?
Can these skills run on a schedule?
How far back does the realtime skill look?
What does engagement rate mean in GA4?
Related guides
How to connect Claude to Google Analytics
Setup for claude.ai, Claude Desktop and Claude Code.
Best MCP for Google Analytics
GA4 MCP servers compared side by side.
Google Analytics MCP server
The 9 GA4 tools, their parameters and limits.
Claude for Google Ads: 15 skills
Skills and prompts for the ad account side.





