ad-copy-writer
Generate ad copy variations for Google, Microsoft, Meta, LinkedIn, TikTok, Reddit, Snapchat and X Ads (plus Apple Search Ads…
GA4 Event Implementation Reference — complete event taxonomy, parameter lists, implementation patterns (gtag.js, GTM, Measurement Protocol), and validation techniques
Claude Code
$ npx -y skills add cognyai/claude-code-marketing-skills --skill ga4-events --agent claude-code
Codex
$ npx skills add cognyai/claude-code-marketing-skills --skill ga4-events -a codex -y
Cursor
$ npx skills add cognyai/claude-code-marketing-skills --skill ga4-events -a cursor -y
Gemini CLI
$ npx skills add cognyai/claude-code-marketing-skills --skill ga4-events -a gemini-cli -y
GitHub Copilot
$ npx skills add cognyai/claude-code-marketing-skills --skill ga4-events -a github-copilot -y
OpenCode
$ npx skills add cognyai/claude-code-marketing-skills --skill ga4-events -a opencode -y
Windsurf
$ npx skills add cognyai/claude-code-marketing-skills --skill ga4-events -a windsurf -y
name: ga4-events description: GA4 Event Implementation Reference — complete event taxonomy, parameter lists, implementation patterns (gtag.js, GTM, Measurement Protocol), and validation techniques version: "1.1.1" author: Cogny AI platforms: [] user-invocable: true argument-hint: "<event name, category, or topic>" allowed-tools: - WebFetch - WebSearch - Bash - Read - Write # GA4 tools (when connected via Cogny MCP) - mcp__cogny__list_integrations - mcp__cogny__refresh_mcp_discovery - mcp__cogny__mcp__Google_Analytics_4__tool_list_account_summaries - mcp__cogny__mcp__Google_Analytics_4__tool_get_property - mcp__cogny__mcp__Google_Analytics_4__tool_list_custom_dimensions - mcp__cogny__mcp__Google_Analytics_4__tool_list_custom_metrics - mcp__cogny__mcp__Google_Analytics_4__tool_list_conversion_events - mcp__cogny__mcp__Google_Analytics_4__tool_list_data_streams - mcp__cogny__mcp__Google_Analytics_4__tool_get_metadata - mcp__cogny__mcp__Google_Analytics_4__tool_run_report - mcp__cogny__mcp__Google_Analytics_4__tool_run_realtime_report # Other event sources (when connected via Cogny MCP) - mcp__cogny__mcp__Segment__list_tracking_plans - mcp__cogny__mcp__Segment__list_tracking_plan_rules - mcp__cogny__mcp__Segment__get_events_volume - mcp__cogny__mcp__PostHog__list_projects - mcp__cogny__mcp__PostHog__list_event_definitions - mcp__cogny__mcp__GrowthBook__list_experiments
Complete reference for implementing Google Analytics 4 events: automatically collected, enhanced measurement, recommended, and custom events with exact parameter lists, code examples, and validation techniques.
Full docs: https://cogny.com/docs/ga4-event-implementation
/ga4-events # Show event model overview /ga4-events purchase # Show purchase event parameters and code /ga4-events ecommerce # Full e-commerce event funnel reference /ga4-events enhanced measurement # Enhanced measurement events list /ga4-events custom events # Custom event naming rules and limits /ga4-events validation # DebugView, Realtime, and BigQuery checks /ga4-events gtm # GTM dataLayer implementation patterns /ga4-events measurement protocol # Server-side Measurement Protocol examples
You are a GA4 event implementation expert. Use this reference to help users implement, audit, and validate GA4 events correctly. Provide precise, copy-paste-ready code examples.
When the user asks a question, find the relevant section below and provide actionable answers with ready-to-use code. If GA4 MCP tools are available, use them to inspect the user's actual property configuration (custom dimensions, data streams, conversion events) for context-aware advice.
If the user provides a specific event name or topic as an argument, focus on that area. Otherwise, provide an overview of the event model.
Works with zero accounts: the reference below is complete on its own. When connected, these make the answer specific to the user's setup:
| Job | Primary | Enhanced when connected | |-----|---------|-------------------------| | What the property already collects | GA4 `tool_get_metadata`, `tool_list_custom_dimensions`, `tool_list_conversion_events` | — | | Is the event arriving? | GA4 `tool_run_realtime_report`, `tool_run_report` | Segment `get_events_volume` (upstream of GA4) | | Same action, same name everywhere | — | Segment `list_tracking_plans` → `list_tracking_plan_rules`; PostHog `list_event_definitions` | | Experiment exposure event | — | GrowthBook `list_experiments` (tracking keys) |
See "Live validation" under Validation and Debugging.
---
GA4 uses an event-based data model where **everything is an event**. Unlike Universal Analytics hit types (pageview, event, transaction), GA4 has a single concept: events with parameters.
| Concept | Universal Analytics | GA4 | |---------|-------------------|-----| | Data model | Hit-based (pageview, event, transaction) | Event-based (everything is an event) | | Event structure | Category / Action / Label / Value | Event name + parameters (key-value pairs) | | Sessions | Server-defined, 30-min timeout | Derived from `session_start` event | | Pageviews | Dedicated hit type | `page_view` event with `page_location` parameter | | E-commerce | Enhanced Ecommerce plugin | Built-in recommended events with items array | | Custom data | Custom dimensions/metrics (index-based) | Event parameters + custom dimensions/metrics (name-based) |
Every GA4 event has:
Collected automatically with no configuration. Cannot be disabled.
| Event | Trigger | Key Parameters | |-------|---------|----------------| | `first_visit` | First time user visits (new cookie) | None | | `session_start` | New session begins (30-min timeout) | `ga_session_id`, `ga_session_number` | | `page_view` | Every page load (or `history.pushState` in SPAs) | `page_location`, `page_title`, `page_referrer` | | `user_engagement` | Page in focus for 1+ second with interaction | `engagement_time_msec` |
| Event | Trigger | Key Parameters | |-------|---------|----------------| | `first_open` | First app open after install | `previous_gmp_app_id`, `updated_with_analytics` | | `session_start` | New session begins | `ga_session_id`, `ga_session_number` | | `screen_view` | Screen transition | `firebase_screen`, `firebase_screen_class`, `firebase_screen_id` | | `user_engagement` | App in foreground 1+ second | `engagement_time_msec` | | `app_update` | App updated and launched | `previous_app_version` | | `app_re
AI marketing skills for Claude Code, Cursor, Windsurf, and other AI coding tools. Audit SEO, analyze ads, research competitors, qualify leads — all from your terminal. Free skills need no account. Premium skills connect your real data for $9/mo.
Generate ad copy variations for Google, Microsoft, Meta, LinkedIn, TikTok, Reddit, Snapchat and X Ads (plus Apple Search Ads…
Enforce a pre-declared evidence bar on every ad — after it spends enough, pause it if it misses (e.g. CTR < 1% or cost per lead…
Build a portable brand-kit.json for the user's product — colors, typography, voice — that other skills (video, ad creative,…
Find accounts where something just happened that creates demand — funding, hiring, new locations, launches, rising ad engagement…
Give every campaign an ID and carry it everywhere — allocate IDs, audit ad/email/UTM naming across Google, Meta, LinkedIn, Bing,…
Re-read every lost deal in your CRM (HubSpot, Pipedrive or Upsales; Salesforce via the CRM layer) with its calls, meetings and…
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use…
Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…
Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…
Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…