server-side-conversion-tracking

server-side-conversion-tracking is a skill for Claude Code from autonnel/autonnel-skills. It costs 102 tokens per session (1,798 once invoked), scanned A, original, Apache-2.0.

Guidance for sending advertising conversion data from a server, rather than relying only on browser tracking pixels. It covers Facebook, TikTok, Google, and Bing, including their server-side event systems.

In plain words
What is it for?
Use it to capture click IDs and campaign tags, carry them through a funnel, attach them to orders, send purchase events, and check differences between store and advertising-platform reports.
Why use it?
Browser tracking can miss purchases because of iOS privacy controls, ad blockers, short-lived cookies, and redirects. Server records provide a second way to report conversions accurately.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the autonnel plugin — 6 skills shipped together

Good fit Use it to capture click IDs and campaign tags, carry them through a funnel, attach them to orders, send purchase events, and check differences between store and advertising-platform reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/autonnel/autonnel-skills/server-side-conversion-tracking
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add autonnel/autonnel-skills --skill server-side-conversion-tracking
Clone the repo
git clone --depth 1 https://github.com/autonnel/autonnel-skills

Made for: Claude Code.

Or install autonnel, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for server-side-conversion-tracking

README.md
[![agentmods](https://agentmods.dev/badge/skills/autonnel/autonnel-skills/server-side-conversion-tracking/github.svg)](https://agentmods.dev/skills/autonnel/autonnel-skills/server-side-conversion-tracking)
Your own site
<a href="https://agentmods.dev/skills/autonnel/autonnel-skills/server-side-conversion-tracking"><img src="https://agentmods.dev/badge/skills/autonnel/autonnel-skills/server-side-conversion-tracking/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for server-side-conversion-tracking

Your own site · 80×15
<a href="https://agentmods.dev/skills/autonnel/autonnel-skills/server-side-conversion-tracking"><img src="https://agentmods.dev/badge/skills/autonnel/autonnel-skills/server-side-conversion-tracking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 6 Aug 2026
  • Snyk fail 6 Aug 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.01798
Opus 5 $0.00051 $0.00899
Sonnet 5 $0.00020 $0.00360
Haiku 4.5 $0.00010 $0.00180

Measured 10d ago against content hash 2b882d2e6ac0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

server-side-conversion-tracking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

server-side-conversion-tracking/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Server-Side Conversion Tracking

Browser pixels lose a large and unpredictable share of conversions to iOS tracking prevention, ad blockers, cookie lifetime limits and cross-domain hops. Server-side reporting fixes the reporting, which is what the ad platform's bidding model learns from. This skill covers the model, the setup order and how to verify it.

When to use

  • Ad platform reports fewer purchases than the store/database actually recorded
  • CPA looks like it got worse right after a tracking change, with no change in real sales
  • Setting up a new funnel that will receive paid traffic
  • Asked about CAPI / Events API / offline conversion import / click id passthrough
  • Attribution disagreements between platforms ("Facebook claims 40 sales, Google claims 30, we had 45 orders")

The model, in the order it must be built

Getting this order wrong is the usual reason a "server-side setup" still under-reports.

1. Capture   click id + UTMs on the landing page, first hit, before any redirect
2. Persist   attach them to the visitor's session, server-side
3. Carry     keep them across every funnel step, including cross-domain hops
4. Attach    write them onto the order record at purchase
5. Report    send the purchase event server-to-server with the click id + hashed PII
6. Dedupe    give the browser event and the server event the same event id
7. Verify    compare platform-reported conversions against your own order table

Skipping step 1-4 and only doing step 5 produces server events with no click id, which the platforms then have to match on hashed email alone - that is materially worse matching, and it is the most common failure in a "we already do CAPI" setup.

Step 1-2: capture and persist

Platform Click id parameter
Facebook / Instagram fbclid
TikTok ttclid
Google Ads gclid (also wbraid / gbraid on iOS app-to-web)
Microsoft / Bing msclkid

Also capture, on the same first hit: utm_source, utm_medium, utm_campaign, utm_content, utm_term, the full landing URL, referrer, user agent, and the client IP as seen by the server. Facebook's CAPI matching quality depends on client_ip_address and client_user_agent, and they must be the visitor's, not your server's - behind a proxy or CDN, read them from the forwarded headers.

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 109 lines · 102 tokens per session scan A 2b882d2e6ac0

Subscribe to this mod's changes

server-side-conversion-tracking is a skill published in the GitHub repository autonnel/autonnel-skills (1 stars, last pushed 21d ago), licensed Apache-2.0. It adds 102 tokens to every session and 1,798 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.