install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/amdf01-debug/sw-analytics-tracking" ~/.claude/skills/openclaw-skills-sw-analytics-tracking && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/amdf01-debug/sw-analytics-tracking" ~/.openclaw/skills/openclaw-skills-sw-analytics-tracking && rm -rf "$T"
manifest:
skills/amdf01-debug/sw-analytics-tracking/SKILL.mdsource content
Analytics Tracking Skill
Trigger
When the user wants to set up, improve, or audit analytics tracking and measurement.
Trigger phrases: "set up tracking", "GA4", "Google Analytics", "conversion tracking", "event tracking", "UTM parameters", "tag manager", "GTM", "analytics implementation", "tracking plan"
Process
- Understand: Product type, key conversion actions, current setup
- Design: Event taxonomy, conversion funnels, UTM strategy
- Implement: Tracking code, GTM configuration, custom events
- Verify: Testing plan to confirm data accuracy
- Dashboard: KPI definitions and reporting structure
Output: Tracking Plan
# Tracking Plan — [Product] ## Key Conversions | Event | Trigger | Parameters | Priority | |-------|---------|------------|----------| | sign_up | Form submission | method, source | P0 | | purchase | Checkout complete | value, currency, items | P0 | ... ## Event Taxonomy ### Naming Convention - Format: `[object]_[action]` (e.g., `button_click`, `form_submit`) - Always lowercase, underscore separated - Include: event name, category, label, value ### User Properties | Property | Type | Description | |----------|------|-------------| | user_type | string | free / pro / enterprise | | signup_date | date | Account creation date | ... ## UTM Strategy | Campaign Type | Source | Medium | Campaign | |--------------|--------|--------|----------| | Newsletter | newsletter | email | [YYYY-MM-topic] | | Social organic | twitter/linkedin | social | [topic] | | Paid ads | google/meta | cpc | [campaign-name] | ... ## Conversion Funnels ### Primary: Visitor → Signup → Activation → Purchase 1. page_view (landing page) 2. cta_click (signup button) 3. sign_up (form submitted) 4. onboarding_start 5. key_action_complete (activation event) 6. purchase ## Dashboard KPIs | KPI | Definition | Target | |-----|-----------|--------| | Conversion rate | signups / visitors | >3% | ...
Rules
- Always define events before implementing — plan first
- Use consistent naming conventions across all events
- Test every event in debug mode before going live
- Document everything — future you will thank present you
- GDPR: always include consent mechanism before tracking EU users