tracking-preflight
Skill1 starsChanged 7 days agoMITView on GitHub
The check to run before any ad money is spent, and whenever results look wrong. Confirms the pixel or tag is on the site, the right action is counted once, and links are labelled. Use for "is my tracking working", "conversions look wrong", "before I launch", or zero conversions with real clicks.
In this repository47 other files it gives its agents.
- ab-test-analyzerSkill
- ab-test-setup-and-analysisSkill
- account-structure-reviewSkill
- ad-assets-auditSkill
- ad-claims-checkSkill
- ad-copy-variant-generatorSkill
- ad-creativeSkill
- ad-spend-allocatorSkill
- ai-visibility-auditSkill
- anomaly-detectionSkill
- audience-overlap-analysisSkill
- bid-strategy-recommendationsSkill
- budget-scenario-plannerSkill
- campaign-naming-convention-builderSkill
- client-report-narrativesSkill
- competitor-creative-analysisSkill
- competitor-teardownSkill
- content-aeo-optimizerSkill
- content-repurposerSkill
- conversion-path-analysisSkill
- cost-ceiling-plannerSkill
- cpa-diagnosticsSkill
- creative-fatigue-detectionSkill
- e2e-seo-assistantSkill
- email-sequence-writerSkill
- google-ads-auditSkill
- human-copy-checkSkill
- icp-research-assistantSkill
- keyword-cannibalization-checkSkill
- landing-page-auditSkill
- launch-pausedSkill
- linkedin-ads-auditSkill
- meta-ad-library-researchSkill
- meta-ads-auditSkill
- meta-connector-field-notesSkill
- pacing-monitorSkill
- paid-ads-strategySkill
- performance-breakdownSkill
- plain-language-coachSkill
- quality-score-breakdownSkill
- retargeting-window-analysisSkill
- roas-forecastingSkill
- search-term-miningSkill
- start-hereSkill
- utm-tracking-generatorSkill
- wasted-spend-finderSkill
- weekly-account-summarySkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
If conversions are not counted correctly, every other decision is made on wrong numbers.
- Distinctive: line 15
Read access to the ad account through a connector, or screenshots of its conversion settings
- Distinctive: line 58
Do not change tags, pixels or conversion settings yourself.
- Distinctive: line 59
Never ask for passwords or tokens.
- Distinctive: line 60
If a check cannot be done, say so and mark it "not checked".
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tracking preflight
If conversions are not counted correctly, every other decision is made on wrong numbers. Run this before the first launch and again whenever results look odd.
What you need
- The website address and the page a person reaches after converting (the thank-you page, or the event that fires)
- Read access to the ad account through a connector, or screenshots of its conversion settings
- The one action that counts as success for this business
The six checks
Work through them in order. For each one, record pass, fail or not checked, and say how you checked. Never guess a pass. Every tool named here is free.
- The code is on the site. Open the landing page, view its source (right-click, then "View page source") and search for
fbq(,gtag(,googletagmanager.comandGTM-. A tag loaded through Google Tag Manager does not show up in the source asfbq(orgtag(. You will only see theGTM-container. In that case use the browser tools: Meta Pixel Helper (a Chrome extension from Meta) lists every pixel that loads, and Google Tag Assistant (tagassistant.google.com) lists every Google tag. Note each ID you find. Two different IDs of the same kind, or one ID loading twice, is a fail until it is explained. - The success action exists. There is an event or conversion action for the real success moment. A page view alone does not count. In Google Ads, open Goals, then Conversions, then Summary, and list each action with whether it is marked primary. In Meta, open Events Manager and list the events it receives. Name the one that means success.
- It fires once. Walk through the conversion yourself, or ask the person to, with Meta Pixel Helper or Tag Assistant open. In Meta, the Test events tab in Events Manager shows each event as it arrives. One real action must produce one event. Two means double counting, and none means it is broken.
- One primary conversion. The campaign optimises for one action. In the Google conversions summary, count the actions marked primary that the campaign uses. Several primary actions, or a soft one such as a page view, mislead the platform and inflate the count.
- Links are labelled. Ad links carry UTM labels (source, medium, campaign) so analytics can tell ad visitors from everyone else. Use
utm-tracking-generatorif they are missing. For Google Ads, also check that auto-tagging is switched on in the account settings. - The numbers agree. Compare the last 7 to 30 days of conversions in the ad platform with the business's own record (orders, form entries, CRM). A gap of more than about 20% needs an explanation before spend goes up.
If nobody can run a live test, because the owner cannot use the tools or you only have a saved copy of the page, read the code you have. Report what it shows as "seen in the code", and mark the firing checks "not checked". Only a live test shows that an event fires once.
Menus move. If a path here does not match what the person sees, ask what is on their screen.
Common causes when a check fails
- The tag was added in two places, so everything fires twice.
- A site redesign or domain move removed the tag from some pages.
- The thank-you page can be reached without converting, so visits to it are counted as conversions.
- The consent banner blocks the tag for most visitors.
- The conversion counts a button click, not a completed form.
Output
Tracking preflight: [site], [date]
1. Code on site: pass / fail / not checked, with what was found
2. Success action: ...
3. Fires once: ...
4. One primary: ...
5. Links labelled: ...
6. Numbers agree: ...
Safe to spend: yes / no / not yet
Fix first: [the single most important fix, in plain steps]Rules
- Do not change tags, pixels or conversion settings yourself. Give the steps and let the person apply them, or ask for a clear yes for each change.
- Never ask for passwords or tokens.
- If a check cannot be done, say so and mark it "not checked".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

