一键导入
ga4-measurement-plan
Build a GA4 measurement plan from a site URL — event taxonomy, parameters, custom dimensions, and key events to mark as conversions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build a GA4 measurement plan from a site URL — event taxonomy, parameters, custom dimensions, and key events to mark as conversions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Submit an AI agent to the agentlaunch directory and upvote agents via a public no-auth REST API
Comprehensive Google Ads account audit — campaign structure, budget pacing, conversion tracking, wasted spend — across every campaign type, ranked by estimated $ impact
Google Ads Demand Gen audit — audience strategy, creative format diversity, creative freshness, placements, CPA vs goal
Google Analytics 4 configuration and data-quality audit — key events, data streams, custom dimensions, attribution, retention, PII, Ads link, BigQuery export
Weekly GA4 check — sessions, users, key-event conversions, revenue, channel mix — with week-over-week deltas and tracking-break alerts
Weekly Google Ads health check — budget pacing, spend spikes, disapproved ads, conversion-tracking breaks, CPA/ROAS swings — with week-over-week deltas
| name | ga4-measurement-plan |
| description | Build a GA4 measurement plan from a site URL — event taxonomy, parameters, custom dimensions, and key events to mark as conversions |
| version | 1.0.0 |
| author | Cogny AI |
| platforms | [] |
| user-invocable | true |
| argument-hint | <site url> [business goal] |
| allowed-tools | ["WebFetch","WebSearch","Bash","Read","Write"] |
Give it a site URL and get back a complete GA4 measurement plan — which events to track, what parameters each carries, which custom dimensions to register, and which events to mark as key events. The deliverable is a spec a developer or GTM builder can implement directly. No account connection required.
It pairs with /gtm-tracking-plan, which turns this plan into the actual GTM tags,
triggers, and variables.
/ga4-measurement-plan example.com — measurement plan for the site
/ga4-measurement-plan example.com "drive demo bookings" — bias the plan toward a goal
WebFetch the URL and a representative spread of pages (home, product/category,
pricing, signup/checkout, contact). Determine:
If a business goal was passed as an argument, make the plan serve it first.
Note which events come free and need no implementation:
first_visit, session_start, page_view,
user_engagementscroll, click (outbound), view_search_results,
video_*, file_download, form_start, form_submitFlag any of these the team should rely on rather than rebuild.
Map the site to GA4's recommended events — using the recommended names matters because GA4 builds reporting around them:
view_item_list, view_item, select_item, add_to_cart,
view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase,
refundgenerate_lead, sign_up, login, search,
plus custom events for the funnelsearch, select_content, share, join_groupFor each: when it fires and its parameters (e.g. purchase → transaction_id,
value, currency, items[]).
For interactions GA4 has no recommended event for, design custom events following the
rules: snake_case, ≤40 characters, descriptive, no reserved prefixes
(google_, firebase_, ga_), lowercase. Examples: demo_requested,
pricing_plan_selected, quote_calculated.
Keep the taxonomy tight — a parameter on a shared event usually beats a brand-new
event (cta_click with a cta_location parameter, not ten separate click events).
Produce the core deliverable — one row per event:
| Event name | Type | Fires when | Parameters | Key event? |
|---|---|---|---|---|
purchase | recommended | order confirmation page loads | transaction_id, value, currency, items[] | ✅ |
generate_lead | recommended | contact form submitted | form_id, lead_source, value | ✅ |
demo_requested | custom | demo form submitted | plan_interest | ✅ |
| ... |
Event parameters are invisible in standard GA4 reports until registered as custom dimensions. List every non-standard parameter from Step 5 that needs registering:
| Parameter | Scope | Register as | Why |
|---|---|---|---|
lead_source | event | custom dimension | segment leads by origin |
plan_interest | event | custom dimension | see which plan drives demos |
Warn against high-cardinality parameters (IDs, timestamps) as dimensions, and note the 50 event-scoped / 25 user-scoped limits.
Recommend which events to mark as key events. Be selective — 3–8 is healthy. Mark
real business outcomes, never page_view or scroll. Note which key events should
also be imported into Google Ads for bidding.
Deliver as one document:
GA4 Measurement Plan — [site]
Site type: ... | Primary conversion: ...
1. Already covered (automatic + Enhanced Measurement): ...
2. Event taxonomy table (recommended + custom)
3. Custom dimensions & metrics to register
4. Key events to mark as conversions (and which to send to Google Ads)
5. dataLayer payload examples for the 3-5 most important events
6. Implementation notes & sequencing
End with the handoff line: "Run /gtm-tracking-plan [url] to turn this into GTM
tags, triggers, and variables."
snake_case, ≤40 chars, no
reserved prefixes./ga4-audit (requires
Cogny MCP).