Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
JavaScript agent-skillsai-agentsai-seoclaudeclaude-codeclaude-code-pluginclaude-skillscodexcontent-marketingconversion-rate-optimizationcopywritingcursoremail-marketinggenerative-engine-optimizationgrowth-marketingmarketingmarketing-automationsaas-marketingseoskill-md
fix(analytics): use GA4 automatic event names in reports
Rudy Celeklif3ac1c4a2627
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex ea384a9..a6f60db 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -6,7 +6,7 @@},"metadata": {"description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, and growth",- "version": "2.11.17",+ "version": "2.11.18","repository": "https://github.com/coreyhaines31/marketingskills"},"plugins": [diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 83527da..d155ceb 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "marketing-skills","description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",- "version": "2.11.17",+ "version": "2.11.18","author": {"name": "Corey Haines"},diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 7f59e6e..5884655 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "marketing-skills","description": "Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth",- "version": "2.11.17",+ "version": "2.11.18","author": {"name": "Corey Haines"},diff --git a/VERSIONS.md b/VERSIONS.mdindex 404f2de..480e8bc 100644--- a/VERSIONS.md+++ b/VERSIONS.md@@ -7,7 +7,7 @@ Current versions of all skills. Agents can compare against local versions to che| ab-testing | 2.0.0 | 2026-05-05 || ad-creative | 2.9.3 | 2026-10-02 || ai-seo | 2.7.2 | 2026-10-02 |-| analytics | 2.0.2 | 2026-10-02 |+| analytics | 2.0.3 | 2026-10-06 || aso | 2.0.1 | 2026-08-19 || attribution | 1.1.2 | 2026-10-02 || churn-prevention | 2.0.1 | 2026-10-02 |@@ -57,6 +57,10 @@ Current versions of all skills. Agents can compare against local versions to che## Recent Changes+### 2.11.18 (2026-10-06)++- **analytics** (2.0.2 → 2.0.3): use GA4 enhanced-measurement event names in filters instead of option labels; distinguish video starts, progress and completions, and add a provider-name report scenario.+### 2.11.17 (2026-10-02)- **video** (2.2.0 → 2.2.1) and the **Hyperframes integration guide** (reported in #600 by @pjthegiant): the old example called a `render({ frames })` API that the `hyperframes` package doesn't export. Both now lead with the CLI (`npx hyperframes init`, `preview`, `render -o output.mp4`) and explain the composition format: a root with `data-composition-id`, `class="clip"` elements with timing attributes, and a paused GSAP timeline. Rendering from code goes through `@hyperframes/producer` (`createRenderJob` + `executeRenderJob`). Checked against v0.8.114.diff --git a/skills/analytics/SKILL.md b/skills/analytics/SKILL.mdindex e849eca..9c32b97 100644--- a/skills/analytics/SKILL.md+++ b/skills/analytics/SKILL.md@@ -2,7 +2,7 @@name: analyticsdescription: When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For choosing attribution models, comparing multi-touch/MMM/incrementality, or reconciling conflicting numbers across tools, see attribution. For A/B test measurement, see ab-testing.metadata:- version: 2.0.2+ version: 2.0.3---# Analytics Tracking@@ -86,6 +86,7 @@ checkout_payment_completed- Include context in properties, not event name- Avoid spaces and special characters- Document decisions+- Keep provider-defined names when using automatic or recommended events (e.g. GA4 `click`, `view_search_results`, `purchase`). Map internal business names explicitly; naming a custom event does not make the provider collect it automatically.---diff --git a/skills/analytics/evals/evals.json b/skills/analytics/evals/evals.jsonindex fd3df6a..9f7bd94 100644--- a/skills/analytics/evals/evals.json+++ b/skills/analytics/evals/evals.json@@ -85,6 +85,20 @@"Does not attempt to design the full experiment"],"files": []+ },+ {+ "id": 7,+ "prompt": "GA4 enhanced measurement is enabled. I filtered outbound_click, site_search and video_engagement and got zero, but DebugView shows 12 click events with outbound=true, 7 view_search_results, 6 video_start, 4 video_progress and 2 video_complete. Which reports should I build? Do I need to add custom events?",+ "expected_output": "Identify the mismatched option labels/event names. Use click with outbound=true for the 12 outbound clicks, view_search_results for the 7 searches, and separate video_start/video_progress/video_complete reports for 6/4/2. Do not add custom duplicate events to fix a filter mismatch or sum all video events as unique views. Check enabled options, configured search query parameters, YouTube JS API support and DebugView; cross-domain measurement destinations do not produce outbound clicks.",+ "assertions": [+ "Uses actual enhanced-measurement event names instead of option labels",+ "Filters click by outbound=true and reports 12 outbound clicks",+ "Uses view_search_results and reports 7 searches",+ "Separates 6 video starts, 4 progress events and 2 completions",+ "Does not count all video events as unique views or create duplicate custom events",+ "Mentions relevant enhanced-measurement configuration and DebugView checks"+ ],+ "files": []}]}diff --git a/skills/analytics/references/ga4-implementation.md b/skills/analytics/references/ga4-implementation.mdindex f2656dc..86895e4 100644--- a/skills/analytics/references/ga4-implementation.md+++ b/skills/analytics/references/ga4-implementation.md@@ -27,11 +27,15 @@ Detailed implementation guide for Google Analytics 4.|-------|-------------|---------------|| page_view | Page loads | Automatic || scroll | 90% scroll depth | Toggle on/off |-| outbound_click | Click to external domain | Automatic |-| site_search | Search query used | Configure parameter |-| video_engagement | YouTube video plays | Toggle on/off |+| click | Outbound link click (`outbound: true`); cross-domain measurement domains are excluded | Toggle on/off |+| view_search_results | Search results page with a configured search query parameter | Configure query parameters |+| video_start, video_progress, video_complete | Embedded YouTube start, progress and completion | Toggle on/off; JS API support required || file_download | PDF, docs, etc. | Configurable extensions |+Use these exact names in event filters and triggers. The option labels "outbound clicks", "site search" and "video engagement" are not automatic event names. For video, report starts, progress milestones and completions separately; adding all three counts double-counts a viewing journey. A custom event with one of the old labels needs its own implementation. Verify enabled options and observed parameters in DebugView before expecting data.++Contract: [Google enhanced measurement events](https://support.google.com/analytics/answer/9216061).+### Recommended EventsUse Google's predefined events when possible for enhanced reporting: