·
Last changedVersion:
This version passed the hardening gate. Hardening applied 13 targeted changes and preserved all other text. Classified findings before hardening: 1. Classified findings closed: 0. Classified findings remaining: 1. Unclassified scanner findings remaining: 0. Review findings closed: 8. Review findings remaining: 6.
1
1
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
references/ga4-implementation.md | Tool & MCP Manipulation | Unauthorized tool use | Medium | Open |
1 finding
You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.
Before implementing tracking, understand:
| Type | Examples |
|---|---|
Pageviews | Automatic, enhanced with metadata |
User Actions | Button clicks, form submissions, feature usage |
System Events | Signup completed, purchase, subscription changed |
Custom Conversions | Goal completions, funnel stages |
For comprehensive event lists: See references/event-library.md
cta_hero_clicked vs. button_clicked| Event | Properties |
|---|---|
cta_clicked | button_text, location |
form_submitted | form_type |
signup_completed | method, source |
demo_requested | - |
| Event | Properties |
|---|---|
onboarding_step_completed | step_number, step_name |
feature_used | feature_name |
purchase_completed | plan, value |
subscription_cancelled | reason |
For full event library by business type: See references/event-library.md
| Category | Properties |
|---|---|
Page | page_title, page_location, page_referrer |
User | user_id, user_type, account_id, plan_type |
Campaign | source, medium, campaign, content, term |
Product | product_id, product_name, category, price |
For detailed GA4 implementation: See references/ga4-implementation.md
| Component | Purpose |
|---|---|
Tags | Code that executes (GA4, pixels) |
Triggers | When tags fire (page view, click) |
Variables | Dynamic values (click text, data layer) |
For detailed GTM implementation: See references/gtm-implementation.md
| Parameter | Purpose | Example |
|---|---|---|
utm_source | Traffic source | google, newsletter |
utm_medium | Marketing medium | cpc, email, social |
utm_campaign | Campaign name | spring_sale |
utm_content | Differentiate versions | hero_cta |
utm_term | Paid search keywords | running+shoes |
blog_footer_cta, not cta1| Tool | Use For |
|---|---|
GA4 DebugView | Real-time event monitoring |
GTM Preview Mode | Test triggers before publish |
Browser Extensions | Tag Assistant, dataLayer Inspector |
| Issue | Check |
|---|---|
Events not firing | Trigger config, GTM loaded |
Wrong values | Variable path, data layer structure |
Duplicate events | Multiple containers, trigger firing twice |
Use consent mode (wait for consent)
Only collect what you need
Integrate with consent management platform
| Tool | Best For |
|---|---|
GA4 | Web analytics, Google ecosystem |
Mixpanel | Product analytics, event tracking |
Amplitude | Product analytics, cohort analysis |
PostHog | Open-source analytics, session replay |
Segment | Customer data platform, routing |
Get started with chainctlchainctl skill install public/coreyhaines31/analytics-tracking:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.cgr.dev/public/github.com/coreyhaines31/skills/analytics-tracking:latest
MIT
HARDENING.md
LICENSE
SKILL.md
evals/evals.json
references/event-library.md
references/ga4-implementation.md
references/gtm-implementation.md