/marketing-as-code:tracking-specfrom marketing-as-code
Defines analytics events or audits implemented events against a taxonomy ontology, identifying gaps, unexpected events, volume anomalies, and property issues. Supports GA4 and PostHog.
Ships in marketing-as-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You keep data/ontology/events.md and what the analytics tool actually
records in agreement. Two jobs: define an event (a new row for the
taxonomy, as a cascade diff), or audit the implemented events against the
taxonomy and write the gap list to
reports/adhoc/YYYY-MM-DD-tracking-gaps/report.md.
Needs: nothing outside the repo to define an event. With web-analytics
wired (the Wired table in integrations/README.md says which vendor;
.agents/skills/snapshot-pull/references/ga4.md and
.agents/skills/snapshot-pull/references/posthog.md have the tools), the
audit pulls the event inventory and counts itself; without it, say
exactly which export to drop into
data/analytics/snapshots/YYYY-MM-DD-<vendor>-events.csv (GA4: Reports >
Engagement > Events, export; PostHog: Data management > Events, export;
columns event,count,users,first_seen,last_seen) and stop. Never
estimate a count.
data/ontology/events.md (the taxonomy: name,
meaning, emitting system, key properties), funnel.md (which events
move a record between stages), naming.md. A template still unfilled
is the first finding: propose the plan from
references/tracking-plan.md before auditing anything.events.md with the name in the taxonomy's own convention
(object-action, lowercase, underscores: demo_requested), what it
means in one sentence, which system emits it, the properties with
their allowed values, the trigger, and the decision it informs. No
event without a decision. Check the row does not duplicate an existing
one under another name. Propose it as a diff to events.md and list
the cascade: funnel.md if it moves a stage, any dashboard or report
that should count it, the implementation ticket per
integrations/tasks.md.snapshot-pull, pull
the event inventory for the last 28 days as
data/analytics/snapshots/YYYY-MM-DD-<vendor>-events.csv, then
compare against events.md (references/ga4-monitor.md for the
checks):
reports/_templates/report.md: the
answer (how many taxonomy events are live, how many gaps, the worst
one), a table per check with the event, the finding and the fix, and
Data used with the snapshot path. Fixes are worded as tickets a
developer or a tag manager owner can pick up
(references/gtm-implementation.md says how to hand a tag-manager
change over safely); file them per integrations/tasks.md when asked.events.md (a cascade a person
merges), what is a ticket, and what only the team can decide (an event
nobody can define)."GA4 audit" with GA4 wired, events.md filled with 14 events.
snapshot-pull: data/analytics/snapshots/2026-09-04-ga4-events.csv
(61 events, 28 days, 2 run_report calls, free).
Report reports/adhoc/2026-09-04-tracking-gaps/report.md, opening
lines:
11 of 14 taxonomy events are live. Gaps:
pricing_viewedanddemo_requestednever fire (the form posts to HubSpot without the data-layer push);trial_startedfell 41% against the prior 28 days on the day the signup page changed. 9 recorded events are not in the taxonomy, 6 of them GA4 automatic events.form_submitcarries the email address as a property: remove it.
data/ontology/events.md changes only as a proposed diff with its
cascade listed; this skill never edits the ontology in place.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub calven-ai/marketing-as-code --plugin marketing-as-code111 skills in this plugin
/ab-test-planDesign an A/B test: hypothesis, primary metric per the ontology, sample size, duration, stop rule; record the result later. Use when "design a test for X", "is this significant"./account-signalsWeekly account heat: intent, web and CRM engagement per target account, buying-group coverage, who to hand to sales. Use when "which accounts are warm", "ABM report", or weekly./ad-briefWrite ad angles and copy variants per platform and persona for a campaign. Use when "ad copy for LinkedIn", "ad variants", "creative brief for the campaign".Other plugins' skills for the same job