surendranb/google-analytics-mcp/geo-device-segmentation

Claude Code and agent skill by surendranb/google-analytics-mcp

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Segment GA4 data by country, city, device category, and browser. Spot localization opportunities and mobile conversion drops with ready queries.

Install

npx vskill@latest install surendranb/google-analytics-mcp/geo-device-segmentation

SKILL.md

The same SKILL.md was published earlier as surendranb/google-analytics-mcp/geo-device-segmentation.

Geo and Device Segmentation

Break down user behaviour by country, city, device category, and OS to understand regional patterns and optimise for your key markets.

Copy-paste prompts

Mobile vs desktop drop-off audit
text
Break down sessions, bounceRate, and userEngagementDuration by deviceCategory over the last 30 days. Highlight if mobile bounce rate is significantly higher than desktop.
Top international markets performance
text
Show my top 10 countries by totalUsers and sessions over the last 30 days, including engagementRate and keyEvents. Flag any countries where engagement is 20% below the average.
City-level conversion breakdown
text
Query the top 15 cities in our primary market by sessions and keyEvents over the last 30 days. Show me where conversion concentration is highest.

Correct dimension names

ConceptGA4 API name
Countrycountry
Citycity
Regionregion
Device categorydeviceCategory
Operating systemoperatingSystem
OS versionoperatingSystemVersion
Browserbrowser
Screen resolutionscreenResolution
Languagelanguage

Device category values: desktop, mobile, tablet.

Step 1 — Country breakdown

dimensions: ["country"]
metrics: ["totalUsers", "sessions", "userEngagementDuration",
"screenPageViewsPerSession", "keyEvents"]
date_range: last 30 days
order_by: totalUsers DESC
limit: 20

Step 2 — Device split

dimensions: ["deviceCategory"]
metrics: ["sessions", "totalUsers", "engagementRate",
"userEngagementDuration", "bounceRate"]
date_range: last 30 days
order_by: sessions DESC

Step 3 — Country + device cross-tab

Understand device preferences by market:

dimensions: ["country", "deviceCategory"]
metrics: ["sessions", "userEngagementDuration", "bounceRate"]
dimension_filter: country IN [your top 5 countries from Step 1]
date_range: last 30 days
order_by: sessions DESC

Note: combining country + deviceCategory + additional dimensions in one query may exceed GA4's cardinality limit. Keep to 2–3 dimensions max.

Step 4 — Single-country deep dive

For a specific country (e.g. Japan):

dimensions: ["city", "deviceCategory"]
metrics: ["sessions", "totalUsers", "userEngagementDuration", "keyEvents"]
dimension_filter: {
"filter": {
"fieldName": "country",
"stringFilter": {"matchType": "EXACT", "value": "Japan"}
}
}
date_range: last 30 days
order_by: sessions DESC
limit: 20

Step 5 — Browser and OS (for technical optimisation)

dimensions: ["browser", "operatingSystem", "deviceCategory"]
metrics: ["sessions", "bounceRate", "userEngagementDuration"]
date_range: last 30 days
order_by: sessions DESC
limit: 20

What to report

  • Top 10 countries by users and their engagement quality
  • Mobile vs desktop vs tablet split (sessions and engagement rate)
  • Any country where engagement is significantly below average — flagged for investigation
  • Device preferences by your top 3 markets if they differ meaningfully

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
242
Repository forks
48
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/surendranb/google-analytics-mcp/geo-device-segmentation/badge)](https://verified-skill.com/skills/surendranb/google-analytics-mcp/geo-device-segmentation)

Something wrong with this skill or its page? Tell us.