marketing-analytics
Sets up, audits, and reports on marketing measurement — tracking plans, event schemas, attribution models, and the dashboards built on them. Use this to instrument a site or product, audit tracking nobody trusts, choose or interpret an attribution model, build reporting that answ
Install
npx skills add https://github.com/cbrock84/headcount/tree/main/plugins/demand-generation/skills/marketing-analytics
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install cbrock84-headcount@llmmart
git clone https://github.com/cbrock84/headcount.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole cbrock84/headcount collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Marketing analytics
The tracking plan comes first
Dashboards built on bad instrumentation are confident and wrong, which is worse than having none.
Define, in writing, before implementing: every event, when it fires, its properties and their types, and the question each one exists to answer. An event with no question behind it is noise that will be maintained forever.
Naming convention decided once and enforced: object_action, lowercase, past tense. Inconsistent
naming is unfixable later without breaking historical data.
Auditing existing tracking
Numbers nobody trusts usually come from one of:
- Double-firing on route changes in single-page apps.
- Events that stopped when someone changed a selector or a component.
- Definition drift — two tools counting "signup" at different moments.
- Bot and internal traffic never filtered out.
- Consent and blockers removing a meaningful and non-random share of data.
Verify by doing the action yourself and watching the event arrive with the properties you expect. Not by reading the dashboard.
Attribution
Every model is wrong in a known direction. Pick deliberately and state the bias:
- Last-touch — over-credits closing channels: brand search, retargeting. Under-credits everything that created demand.
- First-touch — the mirror image; over-credits discovery.
- Multi-touch — better, and dependent on complete tracking you probably do not have.
- Incrementality testing — the only method that answers "would this have happened anyway." The most expensive and the most trustworthy.
Use one model consistently for decisions, and check it periodically against a holdout. Switching models to make a channel look better is how organizations mislead themselves.
Reporting
Every report answers one question for one audience. Reports built to display everything get read by nobody.
Show the metric, its comparison period, and the decision it informs. A number with no comparison is not information. Where a number moved, the report should say why or say that the cause is unknown — "unknown" is a legitimate and useful finding.
Sources
references/sources.md in this skill lists the outside authorities that settle the questions
here — what each one is authoritative for, and what you may do with it. Check them before
answering on anything they cover, and cite what you used. Most are free to read and not free
to reproduce; the use note on each is binding.
Tooling
Product and web analytics: Google Analytics 4, Amplitude, Mixpanel, PostHog, Plausible, and similar.
Attribution: HubSpot or Salesforce campaign reporting, Dreamdata, Rockerbox, and similar. All of them model rather than observe — treat the output as directional and say so when you present it.
Warehouse-native reporting beats a vendor dashboard the moment you need to join spend to revenue on your own definitions.
Never
- Add tracking before the plan names the events and their properties. Retrofitting a schema onto live data is a migration, not an edit.
- Report an attribution number without saying which model produced it. The same period looks like different businesses under first and last touch.
- Change an event definition without versioning it. Every historical comparison silently becomes wrong.
- Build a dashboard nobody named a decision for.
Files (headcount)
-
references
-
sources.md 2.8 KB
# Sources — `demand-generation:marketing-analytics` <!-- Generated by scripts/build-sources.py from sources/*.toml. Do not edit. --> Check these before answering on anything they cover, and cite what you used. The use note on each one is binding: most of what a professional cites is free to read and not free to reproduce. ## ASA Statement on Statistical Significance and P-Values American Statistical Association · global · **read and cite only — copyrighted, do not reproduce** <https://www.amstat.org/asa/files/pdfs/p-valuestatement.pdf> **Authoritative for:** What a p-value does and does not mean. It settles the most common error in marketing experimentation, which is reading a test that crossed ninety-five percent as a result. ## Guide to PECR: cookies and similar technologies UK Information Commissioner's Office · UK · free to use with attribution — credit the publisher <https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guide-to-pecr/cookies-and-similar-technologies/> **Authoritative for:** Which trackers are strictly necessary and therefore exempt from consent, and which are not. Analytics, A/B testing and personalization are addressed by name, which is where most internal arguments about test tooling end. ## Guidelines 05/2020 on consent under Regulation 2016/679 European Data Protection Board · EU · free to use with attribution — credit the publisher <https://www.edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-052020-consent-under-regulation-2016679_en> **Authoritative for:** Whether a consent interface is valid — cookie walls, scroll-as-consent, pre-ticked boxes, granularity and bundling. More decisive in practice than the regulation text, because this is what supervisory authorities apply. ## MRC standards and guidelines Media Rating Council · US · **read and cite only — copyrighted, do not reproduce** <https://mediaratingcouncil.org/standards-and-guidelines> **Authoritative for:** The primary definitions behind ad measurement — what counts as an impression, what counts as viewable, and what counts as invalid traffic. This is what every vendor dashboard claims to implement. ## Standard Definitions: final dispositions of case codes and outcome rates for surveys American Association for Public Opinion Research · global · **read and cite only — copyrighted, do not reproduce** <https://aapor.org/standards-and-ethics/standard-definitions/> **Authoritative for:** How a response rate, cooperation rate, refusal rate and contact rate are computed. The arbiter when two people report different response rates from the same fieldwork. --- Sources are maintained in `sources/` upstream, not here. If one is wrong, out of date, or missing, fix it there — this file is regenerated and an edit to it is lost.
-
-
SKILL.md 3.7 KB
--- name: marketing-analytics description: Sets up, audits, and reports on marketing measurement — tracking plans, event schemas, attribution models, and the dashboards built on them. Use this to instrument a site or product, audit tracking nobody trusts, choose or interpret an attribution model, build reporting that answers a specific question, or reconcile numbers that disagree between tools. --- # Marketing analytics ## The tracking plan comes first Dashboards built on bad instrumentation are confident and wrong, which is worse than having none. Define, in writing, before implementing: every event, when it fires, its properties and their types, and the question each one exists to answer. An event with no question behind it is noise that will be maintained forever. Naming convention decided once and enforced: `object_action`, lowercase, past tense. Inconsistent naming is unfixable later without breaking historical data. ## Auditing existing tracking Numbers nobody trusts usually come from one of: - **Double-firing** on route changes in single-page apps. - **Events that stopped** when someone changed a selector or a component. - **Definition drift** — two tools counting "signup" at different moments. - **Bot and internal traffic** never filtered out. - **Consent and blockers** removing a meaningful and non-random share of data. Verify by doing the action yourself and watching the event arrive with the properties you expect. Not by reading the dashboard. ## Attribution Every model is wrong in a known direction. Pick deliberately and state the bias: - **Last-touch** — over-credits closing channels: brand search, retargeting. Under-credits everything that created demand. - **First-touch** — the mirror image; over-credits discovery. - **Multi-touch** — better, and dependent on complete tracking you probably do not have. - **Incrementality testing** — the only method that answers "would this have happened anyway." The most expensive and the most trustworthy. Use one model consistently for decisions, and check it periodically against a holdout. Switching models to make a channel look better is how organizations mislead themselves. ## Reporting Every report answers one question for one audience. Reports built to display everything get read by nobody. Show the metric, its comparison period, and the decision it informs. A number with no comparison is not information. Where a number moved, the report should say why or say that the cause is unknown — "unknown" is a legitimate and useful finding. ## Sources `references/sources.md` in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding. ## Tooling Product and web analytics: Google Analytics 4, Amplitude, Mixpanel, PostHog, Plausible, and similar. Attribution: HubSpot or Salesforce campaign reporting, Dreamdata, Rockerbox, and similar. All of them model rather than observe — treat the output as directional and say so when you present it. Warehouse-native reporting beats a vendor dashboard the moment you need to join spend to revenue on your own definitions. ## Never - Add tracking before the plan names the events and their properties. Retrofitting a schema onto live data is a migration, not an edit. - Report an attribution number without saying which model produced it. The same period looks like different businesses under first and last touch. - Change an event definition without versioning it. Every historical comparison silently becomes wrong. - Build a dashboard nobody named a decision for.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.