Skill
Marketing analytics
Sets up, audits, and reports on marketing measurement — tracking plans, event schemas, attribution models, and the dashboards built on them.
- Demand Generation
- marketing-analytics
- version 1.1.0
- MIT license
- 5 outside sources
When it loads
Your assistant reads this description and loads the skill when a request matches it. Nothing else is in context until then.
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.
Add it to your assistant
This skill ships in the Demand Generation department, with 11 others.
Claude Code
/plugin marketplace add cbrock84/headcount
/plugin install demand-generation@headcount
ChatGPT and Codex
This department is packaged for the ChatGPT plugin directory and not listed there yet. Until it is, add this repository as a plugin marketplace, or copy plugins/demand-generation/skills/ into .agents/skills/ in your own project.
GitHub Copilot CLI
copilot plugin marketplace add cbrock84/headcount
copilot plugin install demand-generation@headcount
Cursor
The repository is a Cursor plugin marketplace. On a Teams or Enterprise plan, import it under Dashboard, Plugins & MCPs, New marketplace, Import from a repository. To try this department on one machine, copy plugins/demand-generation into ~/.cursor/plugins/local/ and reload the window.
Gemini CLI
Gemini CLI installs one skill at a time:
gemini skills install https://github.com/cbrock84/headcount.git --path plugins/demand-generation/skills/marketing-analytics
The skill is identical in every tool. The Copilot, Cursor and Gemini steps follow each tool's published format and have not been run end to end here.
What the skill tells the assistant
The full text, as it installs. View the source on GitHub.
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.
Company context
Before answering, look for the company profile: the file .headcount/company.md in the working folder, or a document titled "Headcount company profile" in the conversation, the project's instructions or files, or saved memory. Where there is one, answer for that company and do not ask for anything it already states. Where it conflicts with what the person says now, the person is right, and say that the profile looks out of date. Where there is none, carry on: ask only for the facts this question turns on, and mention once that executive:company-onboarding records them so they are not asked again.
Other departments
A skill written as department:skill belongs to another department, and each department installs separately. If the one a question belongs to is not installed, name the department that owns it and how to add it, and do not improvise its work. references/departments.md in this skill lists each department this skill names, with the install step for Claude Code and for ChatGPT.
Files it ships with
Loaded only when the skill calls for them.
Sources it checks against
Where a question has an outside authority, the skill points the assistant at it instead of answering from memory.
- Guidelines 05/2020 on consent under Regulation 2016/679 European Data Protection Board
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.
- Guide to PECR: cookies and similar technologies UK Information Commissioner's Office
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.
- MRC standards and guidelines Media Rating Council
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.
- ASA Statement on Statistical Significance and P-Values American Statistical Association
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.
- Standard Definitions: final dispositions of case codes and outcome rates for surveys American Association for Public Opinion Research
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.
More in Demand Generation
- Account-based marketing
Concentrates marketing and sales effort on a named set of accounts rather than on volume — qualifying whether the model fits your economics at all, building the account list and t…
- AI search optimization
Optimizes for AI assistants and AI-generated answers — being retrievable, being cited, and being represented accurately when a model answers on your behalf.
- App store optimization
Improves visibility and conversion in the App Store and Google Play — metadata, keywords, screenshots, ratings, and the listing experience that turns an impression into an install.
- Experimentation
Designs, runs, and reads A/B tests and growth experiments — hypothesis, sample size, duration, and honest interpretation.
- Landing page CRO
Audits and rewrites landing pages, homepages, and sales pages to increase conversion — diagnosing why a page is not converting, rewriting headlines, hero copy and calls to action,…
- Lead capture
Converts anonymous traffic into known contacts — lead magnets, gated content, free tools, popups, and the forms behind them.
- Lifecycle messaging
Designs automated email and SMS programs — welcome and onboarding sequences, nurture, re-engagement, transactional messaging, and the timing and segmentation behind them.
- Listing distribution
Gets a product listed where buyers and crawlers look — directories, marketplaces, review sites, comparison pages, and aggregators.
- Paid advertising
Plans, runs, and optimizes paid acquisition across search, social, and display — account structure, targeting, creative, bidding, budget, and the analysis that says whether to sca…
- Programmatic SEO
Builds large sets of search-targeted pages from a template and a dataset — the location, comparison, integration, and use-case pages that capture long-tail demand at scale.
- SEO strategy
Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank.