From google-analytics
Guides GA4 property setup, event tracking (automatic, recommended, custom), custom dimensions, BigQuery integration, gtag.js/GTM implementation, reporting, and privacy compliance for web/app analytics.
How this skill is triggered — by the user, by Claude, or both
Slash command
/google-analytics:google-analyticsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Google Analytics 4 (GA4) is Google's event-based analytics platform for measuring user interactions across websites and applications. Every user interaction is tracked as an event with associated parameters, providing flexible cross-platform measurement.
references/audiences.mdreferences/bigquery.mdreferences/custom-dimensions.mdreferences/custom-events.mdreferences/data-management.mdreferences/debugview.mdreferences/events-fundamentals.mdreferences/gtag.mdreferences/gtm-integration.mdreferences/measurement-protocol.mdreferences/privacy.mdreferences/recommended-events.mdreferences/reporting.mdreferences/setup.mdreferences/user-tracking.mdGoogle Analytics 4 (GA4) is Google's event-based analytics platform for measuring user interactions across websites and applications. Every user interaction is tracked as an event with associated parameters, providing flexible cross-platform measurement.
Invoke this skill for any GA4-related task:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>
gtag('event', 'button_click', { button_name: 'Subscribe', button_location: 'header' });
What are you trying to do?
Setting up GA4 for the first time? -> references/setup.md
Understanding how events work? -> references/events-fundamentals.md
Implementing standard tracking events? -> references/recommended-events.md
Creating business-specific custom events? -> references/custom-events.md
Making parameters appear in reports? -> references/custom-dimensions.md
Implementing User ID / cross-device? -> references/user-tracking.md
Building audiences for remarketing? -> references/audiences.md
Analysing data in GA4 reports? -> references/reporting.md
Exporting to BigQuery for SQL analysis? -> references/bigquery.md
Installing via gtag.js directly? -> references/gtag.md
Setting up GA4 in Google Tag Manager? -> references/gtm-integration.md
Sending events from server/backend? -> references/measurement-protocol.md
Testing and debugging implementation? -> references/debugview.md
Implementing GDPR/Consent Mode? -> references/privacy.md
Configuring Admin settings? -> references/data-management.md
GA4 tracks everything as events in four categories:
| Category | Description | Examples |
|---|---|---|
| Automatic | Fire without configuration | session_start, first_visit |
| Enhanced Measurement | Toggle on/off in settings | scroll, click, file_download |
| Recommended | Google-defined with standard parameters | purchase, login, sign_up |
| Custom | Business-specific tracking | demo_requested, trial_started |
| Limit | Value |
|---|---|
| Event names per property | 500 distinct |
| Parameters per event | 25 |
| Event name length | 40 characters |
| Parameter name/value length | 40 / 100 characters |
| Custom dimensions (event/user/item) | 50 / 25 / 10 |
| Audiences per property | 100 |
G-XXXXXXXXXX (G- prefix + 10 alphanumeric characters)npx claudepluginhub henkisdabro/wookstar-claude-plugins --plugin google-analyticsHelps set up, audit, and improve analytics tracking (GA4, Mixpanel, Segment, GTM) with tracking plans, event naming conventions, and data quality checks.
Guides setup, improvement, and auditing of analytics tracking (GA4, Mixpanel, Segment, GTM). Helps define tracking plans, choose event schemas, and debug firing issues.
Adds or repairs Google Analytics 4 on websites with privacy-compliant gtag/GTM setup, GA4 event taxonomy, and exact UI steps for tracking goals and AdSense revenue.