How to add the Marketing Analytics skill to Claude Code
- 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.
- Ask Claude Code to inventory the current events and show the proposed changes before editing instrumentation.
npx skills add https://github.com/coreyhaines31/marketingskills --skill analyticsSeparate 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.