← ClaudeAtlas

ga4-contextlisted

Extracts the property's web-stream URL from GA4, then fetches and analyzes the live website (homepage, robots.txt, sitemap.xml) to infer the vertical, framework, platform (Shopify / WordPress / etc.), SPA-vs-MPA rendering, language, and a sitemap-derived page-type inventory. The resulting profile is cached under ~/.claude/ga4-context/ so every other audit attaches it automatically.
arcbaslow/google-analytics-agent · ★ 0 · Data & Documents · score 76
Install: claude install-skill arcbaslow/google-analytics-agent
# GA4: Property Context The first thing the auditor needs to know is what the property *is*. The GA4 API can't tell you that — the data stream only points at a URL. This skill walks from the GA4 property to that URL, fetches the live site, and produces a structured profile that every downstream agent can lean on: - inferred industry vertical (used to pick benchmark bands) - inferred CMS / e-commerce platform (Shopify, WooCommerce, Magento, WordPress, Webflow, Wix, Squarespace, BigCommerce, Salesforce Commerce, HubSpot CMS, Ghost) - inferred frontend framework (Next.js, Nuxt, React, Vue, Angular, Svelte, Astro, Gatsby, Remix) - SPA vs MPA rendering - canonical host, language, server header - sitemap-derived page-type inventory (products, categories, blog posts, docs, pricing, auth, checkout, account, policy) ## Process 1. Verify auth: `python scripts/ga4_auth.py --check` 2. Run the analyzer: ``` python scripts/ga4_context.py --property <id> --analyze --json ``` 3. If the user asks for a refresh of a cached profile, pass `--refresh`. 4. Spawn the `ga4-context` agent only if the user wants a human-readable summary of the raw analysis. Otherwise the JSON output is enough — it is consumed directly by other skills. ## Direct commands | Intent | Command | |--------|---------| | First-time analysis | `python scripts/ga4_context.py --property X --analyze --json` | | Force re-analysis | `python scripts/ga4_context.py --property X --refresh --json` | | Show