reddit-ads
Installation
SKILL.md
reddit-ads
Reddit Ads conversion tracking has two halves — a client-side pixel (fires on page load and on-click) and a server-side Conversions API call (fires from your backend after the conversion actually happens, e.g. a Stripe webhook). Ship both together with a shared dedup key, or purchases get double-counted.
Setup, in order
- Reddit Ads Manager → Events Manager → create a pixel. The pixel ID looks like
a2_xxxxxxxxxxxx. This is safe to expose client-side (treat it like any other analytics ID, not a secret). - Get a Conversions API token — use the Conversion Access Token, not an OAuth Developer Portal token. Reddit has two distinct token mechanisms and it's easy to grab the wrong one:
- OAuth Developer Portal app token — requires registering an app at the Reddit Developer Portal (which asks for a redirect URI even for a non-interactive server-to-server use case — any placeholder HTTPS URL works, e.g. your own domain, since you'll never complete an OAuth redirect flow with it). This token type expires and needs a refresh flow.
- Conversion Access Token — generated directly in Events Manager, scoped to one pixel, does not expire, and needs zero OAuth flow. This is the one you want for a server-side CAPI integration. Events Manager → your pixel → generate access token.
- If Ads Manager shows a "Base pixel configuration error" or a "Prepare for deduplication" prompt after creating the pixel, that's normal at this stage — it clears once the client-side base pixel actually fires on a real page load (step below) and Reddit sees a live event.
Client-side base pixel
Standard Reddit pixel snippet, fires PageVisit on load: