Copydesk

Conversion Tracking skill for Claude

Sets up conversion tracking or finds why conversions are missing or counted twice

A 4-minute lesson on conversion tracking, updated on

SKILL.md
223 lines, 76 files in the folder
Works in
claude.ai, Claude Code

These 7 slides give the short version of the lesson

Watch it work

This is one real run on a sample job, replayed as it happened

Read the run as text

Google Ads says we got 41 conversions last week but our CRM only got 13 web leads from Google. Conversions jumped mid-November and leads didn't change. Exports attached. Find out why

  • google-ads-conversion-actions.csv4 rows
  • google-ads-conversions-by-day.csv56 rows
  • crm-web-leads.csv25 rows
  • gtm-container-export.json6 rows
ClaudeConversion Tracking skill
Reading 4 conversion actions, 56 daily rows, 25 CRM leads and 6 GTM tags to find why conversions are counted too often
Primary conversions, Nov 16 to 22
ActionCountsRecordedWhat it is
Website form submitEvery1913 leads + 6 extra clicks
GA4 generate_lead (import)One14Same form leads again
Calls from adsOne8Real calls
Conversions column-4121 real leads
Weekly conversions against CRM form leads
  • Nov 9 to 15, Conversions31GA4 import live from Nov 12
  • Nov 9 to 15, CRM leads12
  • Nov 16 to 22, Conversions41
  • Nov 16 to 22, CRM leads13
Audit checks2 passed1 needs a look3 failed
  • failed: Website tag and GA4 import both Primary for the same form lead
  • failed: Form tag fires when the submit button is clicked rather than when the form is sent
  • failed: Lead action counts Every instead of One
  • passed: Phone number clicks kept Secondary, out of bidding
  • passed: No paused tags, blocking triggers or test values
  • needs a look: Click ID chain and auto-tagging not checked

Google Ads shows $70.00 per conversion on $2,870 spend. The real cost per lead is $136.67 (13 form leads + 8 calls). Maximize conversions has been bidding on the doubled number since Nov 12.

Building the import file for Tag Manager with 3 tags and 1 trigger

A proposed fix that changes nothing yet

  • Set GA4 generate_lead (import) to Secondary
  • Set Website form submit to count One
  • Import the WPForms file with Merge so the tag fires when WPForms confirms a sent form, then pause the old click tag
  • Test in GTM Preview: one event per real submission, none on a failed one

A worked example

Why a plumber's 41 conversions are 21 leads

The request

Google Ads says we got 41 conversions last week but our CRM only got 13 web leads from Google. Conversions jumped mid-November and leads didn't change. Exports attached. Find out why

  • google-ads-conversion-actions.csv4 rows
  • google-ads-conversions-by-day.csv56 rows
  • crm-web-leads.csv25 rows
  • gtm-container-export.json6 rows

Primary conversions, Nov 16 to 22

ActionCountsRecordedWhat it is
Website form submitEvery1913 leads + 6 extra clicks
GA4 generate_lead (import)One14Same form leads again
Calls from adsOne8Real calls
Conversions column-4121 real leads

Sections of the full answer

  1. The tracking audit
  2. Why 41 conversions are really 21
  3. Verdict rules applied first
  4. Findings, biggest impact first
  5. What is working
  6. What I could not check
  7. Expected losses even after fixes
  8. The import file
  9. Recommended next steps

What came back

A proposed fix that changes nothing yet

  • Set GA4 generate_lead (import) to Secondary
  • Set Website form submit to count One
  • Import the WPForms file with Merge so the tag fires when WPForms confirms a sent form, then pause the old click tag
  • Test in GTM Preview: one event per real submission, none on a failed one

How it works

How it spots your tracking tools

The skill ships paste-in success detectors for 22 lead-gen tools, including WPForms, Gravity Forms, HubSpot forms, Calendly, Typeform and Webflow forms. Four universal patterns cover phone number clicks, file downloads, thank-you page arrivals and generic AJAX forms. A script merges a detector and a send recipe for GA4, Google Ads, Meta, LinkedIn, Microsoft or TikTok with your IDs into one file you import into GTM with Merge.

How sure each finding is

Every finding carries its source. Observed means Claude saw it in fetched HTML, a published container, a network request or a platform screen; reported means you said it; inferred means Claude reasoned to it. Audit checks resolve to pass, fail, unknown or not applicable, and an unknown lowers evidence coverage without counting against the account's health.

When numbers do not match

A 10 to 30% gap between GA4 and Google Ads is treated as normal, because they count, attribute and date conversions differently. Claude investigates a gap above roughly 40%, a direction flip, a sudden change or a platform at zero. It ignores the last three days, since conversions can lag by up to 72 hours, and lines up action, date basis, time zone, window and campaign scope before comparing.

Tracking in the browser or on the server

Browser tags are free but typically miss 10 to 30% of conversions to ad blockers, Safari cookie limits and cross-device journeys. The free fix comes first: Enhanced Conversions, Meta advanced matching and TikTok identify. Claude checks for a native integration such as Shopify's Google and Meta channels before comparing server-side options, and does not count visitors who declined consent as a recoverable loss.

Recent platform changes it knows about

For tracking that just stopped, Claude checks a calendar of known changes before a deep dive. Shopify removed Additional Scripts from the Thank you and Order status pages for remaining stores on 26 August 2026. WooCommerce's Blocks checkout does not fire the classic hooks many tracking plugins rely on.

Rules it follows

Each rule comes from the skill's own instructions, with the reason behind it

  1. 1

    Fire on confirmed success and never on attempt

    A submit-button click counts failed validations and bots, so the platform bids on leads that never happened

  2. 2

    A tag firing is not a conversion arriving

    Preview mode proves the tag ran, but only the ad platform proves the conversion arrived

  3. 3

    A symptom is a request for a diagnosis rather than a mandate to change anything

    It is your site and ad account, so Claude names the change and asks even when the fix is small

  4. 4

    "I could not find the cause" is a valid finding, and inventing one is not

    You would act on an invented cause while the real fault stays in place

  5. 5

    Absence of a browser tag is not absence of tracking

    Server-side sends, CAPI, native integrations and offline imports leave nothing in the page source

What you give it and what you get

You give it

  • Your site URL and the form, booking or store tool that records the conversion
  • Where conversions should land: GA4, Google Ads, Meta, LinkedIn or TikTok
  • GTM container ID and ad account IDs
  • For an audit, the symptom and when it started
  • Screenshots or exports of conversion actions and daily counts

You get back

  • A GTM import file with the detector, trigger, Conversion Linker and conversion tag wired together
  • An audit report with each check marked pass, fail, unknown or not applicable
  • A named test to confirm a conversion reached Meta or Google Ads
  • Browser and server-side options compared on cost and effort
  • A hand-over note with the IDs used and a five-minute re-check

Tasks it fits

  • Google Ads shows spend and clicks but zero conversions
  • Conversions doubled after a second pixel or a GA4 import went live
  • You are about to launch ads and need lead or purchase tracking first

Prompts to start with

Google Ads reported 40 conversions last week but only 12 leads reached our CRM. Find out why

Set up Meta and Google Ads conversion tracking for our Calendly bookings. We use GTM, container GTM-XXXX

Should we move to server-side tracking? We spend about $8k a month on Meta and Google, mostly on B2B buyers

Adding it to Claude

Open the zip and read every file before you add it

claude.ai

Download conversion-tracking.zip, upload it as it is under Settings, Capabilities, Skills and then ask for the job in a new chat

Claude Code

unzip conversion-tracking.zip -d ~/.claude/skills/

Or move the conversion-tracking folder from the zip into .claude/skills/ inside one project

Anthropic's help pages Use skills in Claude and Skills in Claude Code explain the steps in more detail

conversion-tracking.zip244 KB76 files listed below
  • conversion-tracking/
  • CHANGES.md3 KB
  • SKILL.md36 KB
  • assets/
  • gtm-recipes/
  • README.md6 KB
  • detect/
  • detect-acuity-scheduling.json7 KB
  • detect-cal-com.json9 KB
  • detect-calendly.json8 KB
  • detect-contact-form-7.json6 KB
  • detect-divi-forms.json5 KB
  • detect-elementor-forms.json4 KB
  • detect-file-download.json5 KB
Show the other 71 files and folders
  • detect-fluent-forms.json7 KB
  • detect-formidable-forms.json11 KB
  • detect-forminator.json5 KB
  • detect-framer-forms.json6 KB
  • detect-generic-ajax-form.json8 KB
  • detect-gravity-forms.json15 KB
  • detect-hubspot-forms.json9 KB
  • detect-jotform.json4 KB
  • detect-ninja-forms.json8 KB
  • detect-phone-click.json5 KB
  • detect-squarespace-forms.json19 KB
  • detect-tally.json10 KB
  • detect-thank-you-page.json6 KB
  • detect-typeform.json8 KB
  • detect-webflow-forms.json6 KB
  • detect-wix-forms.json10 KB
  • detect-wix-scheduling.json5 KB
  • detect-wpforms.json11 KB
  • detect-ws-form.json5 KB
  • event-map.json3 KB
  • send/
  • ga4.json2 KB
  • google-ads.json3 KB
  • linkedin.json4 KB
  • meta.json4 KB
  • microsoft.json4 KB
  • tiktok.json4 KB
  • snippets/
  • README.md17 KB
  • acuity-scheduling-field.html1 KB
  • acuity-scheduling.js3 KB
  • cal-com.js6 KB
  • calendly.js5 KB
  • contact-form-7.js4 KB
  • divi-forms.js3 KB
  • elementor-forms.js2 KB
  • file-download.js3 KB
  • fluent-forms.js4 KB
  • formidable-forms.js8 KB
  • forminator.js3 KB
  • framer-forms.js4 KB
  • generic-ajax-form.js6 KB
  • gravity-forms.js13 KB
  • hubspot-forms.js7 KB
  • jotform.js1 KB
  • ninja-forms.js6 KB
  • phone-click.js3 KB
  • squarespace-forms.js15 KB
  • tally.js7 KB
  • thank-you-page.js4 KB
  • typeform.js5 KB
  • webflow-forms.js3 KB
  • wix-forms.js7 KB
  • wix-scheduling.js3 KB
  • wpforms.js9 KB
  • ws-form.js2 KB
  • evals/
  • evals.json21 KB
  • references/
  • audit-playbook.md13 KB
  • browser-side.md22 KB
  • conversion-moments.md31 KB
  • discrepancies.md13 KB
  • ecommerce-platforms.md10 KB
  • google-ads.md30 KB
  • meta.md18 KB
  • other-platforms.md20 KB
  • server-side.md30 KB
  • scripts/
  • build_recipe.py11 KB
  • check_recipes.py3 KB

Questions

Does it change my ad account or publish my GTM container?

No, it reports the cause and the exact change it would make and waits for your yes

Why do GA4 and Google Ads show different conversion numbers?

A gap of 10 to 30% between GA4 and Google Ads is normal, and the skill digs in when it passes about 40%