meta-ads

Installation
SKILL.md

meta-ads

Meta conversion tracking has two halves — a client-side Pixel (fires in the browser on page load and on purchase) and a server-side Conversions API (CAPI) call (fires from your backend after the charge actually happens, e.g. a payment webhook). Ship both together with a shared dedup key, or purchases get double-counted.

Setup, in order

  1. Meta Events Manager → create a dataset / pixel. The pixel id is a numeric string, safe to expose client-side (it's not a secret).
  2. Generate a CAPI access token — Events Manager → your dataset → Settings → Conversions API → Generate access token. This is a secret; server-side only.
  3. Attach a promotable Facebook Page to the ad account (needed later for creating ads).

Client-side Pixel

Standard fbq base + a Purchase event on the confirmation page:

Installs
2
GitHub Stars
1
First Seen
Jul 29, 2026