Analyze GA4 traffic and conversions
google-analyticsskillsetup L2★33
thatrebeccarae/claude-marketing ↗What it does
Analyze website traffic, user behavior, and conversion funnels
Best for
Identifying traffic bottlenecks and top-performing pages when you have GA4 set up and need programmatic reporting vs manual dashboard clicks
Inputs
- · Google Analytics property ID
- · date range
- · optional: segment filters, comparison period
Outputs
- · traffic metrics (sessions, users, bounce rate)
- · engagement metrics (scroll depth, event count)
- · conversion funnel analysis
- · source/channel attribution
- · actionable recommendations with priority
Requires
- · Google Analytics API
- · service account credentials (SA JSON)
Preconditions
- · GA4 property configured
- · service account with Viewer access
- · GOOGLE_APPLICATION_CREDENTIALS env var set
- · GOOGLE_ANALYTICS_PROPERTY_ID set
Failure modes
Service account JSON missing/invalid → auth fails; wrong property ID (uses measurement ID instead) → no data; credentials stored in code (security breach)
Trust signals
- · Google Analytics API authentication workflow documented
- · metrics reference guide mentioned (REFERENCE.md)
- · analysis examples (EXAMPLES.md)
- · troubleshooting guide for auth/data/import errors
- · helper scripts for API interaction (ga_client.py, analyze.py)