Marketing Analytics skill for Claude Code

Plan and audit analytics events, funnels, and reporting definitions in Claude Code for GA4, Google Tag Manager, Mixpanel, or PostHog.

How to add the Marketing Analytics skill to Claude Code

  1. Run the command for the analytics skill and choose Claude Code. Open the app repo with its existing event code or provide the tracking plan as a local document.
  2. Ask Claude Code to inventory the current events and show the proposed changes before editing instrumentation.
Claude Code · Install this skill
npx skills add https://github.com/coreyhaines31/marketingskills --skill analytics

Separate a lead submission from a button click

Give Claude Code the contact form and its analytics helper. Ask for an event map that distinguishes opening the form, reporting validation errors, and recording an accepted submission, including the fields needed to compare traffic sources.

Send one successful test submission and one that fails validation in a property approved for testing. The success event should appear once for the successful submission and stay absent for the failure. Check the recorded fields for email addresses or other personal data.

Browse Skills