Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add surendranb/google-analytics-mcp --skill ua-to-ga4git clone --depth 1 https://github.com/surendranb/google-analytics-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/surendranb/google-analytics-mcp/ua-to-ga4)<a href="https://agentmods.dev/skills/surendranb/google-analytics-mcp/ua-to-ga4"><img src="https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/ua-to-ga4/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/surendranb/google-analytics-mcp/ua-to-ga4"><img src="https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/ua-to-ga4.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00127 | $0.00982 |
| Opus 5 | $0.00063 | $0.00491 |
| Sonnet 5 | $0.00025 | $0.00196 |
| Haiku 4.5 | $0.00013 | $0.00098 |
Grade A, and why
ua-to-ga4 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UA to GA4 Field Name Mapping
Universal Analytics (UA) and GA4 use different names for equivalent concepts.
UA was sunset on 2023-07-01; models trained before or around then guess UA field
names that no longer exist in the GA4 Data API. On 2024-05-06 GA4 also renamed
"conversions" to "key events" (see the conversions rows below). If a name feels
obviously right but returns "Invalid metric/dimension", assume your training
predates the change and verify with search_schema. This skill gives the correct
GA4 Data API name for every common UA metric and dimension.
Metrics
| UA name (wrong) | GA4 API name (correct) |
|---|---|
users |
totalUsers |
uniquePageviews |
screenPageViews |
pageviews |
screenPageViews |
avgSessionDuration |
averageSessionDuration |
timeOnPage / avgTimeOnPage |
userEngagementDuration |
goalCompletionsAll / conversions |
keyEvents |
goalConversionRateAll / conversionRate / sessionConversionRate |
sessionKeyEventRate |
userConversionRate |
userKeyEventRate |
transactions / purchases |
ecommercePurchases |
transactionRevenue / revenue |
purchaseRevenue |
revenuePerTransaction |
averagePurchaseRevenue |
transactionsPerSession |
purchaseToViewRate |
itemQuantity / itemViews |
itemsViewed |
itemRevenue |
itemRevenue (same) |
entrances |
sessions (no direct equivalent — use sessions) |
pageValue |
no direct equivalent |
Dimensions
| UA name (wrong) | GA4 API name (correct) |
|---|---|
channelGrouping |
sessionDefaultChannelGroup |
defaultChannelGrouping |
sessionDefaultChannelGroup |
source |
sessionSource |
medium |
sessionMedium |
campaign |
sessionCampaignName |
keyword |
sessionManualTerm |
sourceMedium |
sessionSourceMedium |
adContent |
sessionManualAdContent |
pagePath |
pagePath (same) |
pageTitle |
pageTitle (same) |
landingPagePath |
landingPage |
exitPagePath |
no direct equivalent |
deviceCategory |
deviceCategory (same) |
operatingSystem |
operatingSystem (same) |
browser |
browser (same) |
country |
country (same) |
city |
city (same) |
userType |
use newVsReturning |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 82 lines · 127 tokens per session scan A 23aeaedf92bf
ua-to-ga4 is a skill published in the GitHub repository surendranb/google-analytics-mcp (241 stars, last pushed 2d ago), licensed MIT. It adds 127 tokens to every session and 982 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
google-credentials
Configure local Google Search Console and GA4 credentials for SEO Google Suite. Use when the user asks to connect, configure, add, or verify GSC or GA4 credentials.
seo-data
Direct access to Google Search Console, Google Analytics 4, and Bing Webmaster Tools data via OAuth/API key. Use whenever the user asks SEO, search performance, organic traffic, ranking, impressions, clicks, CTR, conversions, traffic source, landing page, or analytics questions and wants real numbers from their own…
google-seo-audit
Use Google Search Console, GA4, and CrUX evidence for SEO audits from Codex.
pp-google-analytics
Google Analytics 4 Printing Press CLI for GA4 raw reports, funnels, acquisition/revenue insights, period comparisons, anomaly scans, and property-access health checks.
web-analytics
Analyze web traffic, SEO performance, and search engine trends using Google Search Console, Google Analytics 4, and Bing Webmaster Tools. Use when the user asks to analyze traffic, check SEO, or find keyword opportunities.
ga4-report
A skill for creating Google Analytics 4 performance reports. Google Analytics 4 is Google's service for measuring website or app usage, including traffic, engagement, and conversions.