Connect your Snapchat Pixel to OnlyFans API Smart Links
Send every OnlyFans subscription, purchase, and message event straight to your Snapchat Pixel with server-side postbacks. No JavaScript, nothing to install on OnlyFans.
What is a Snapchat Pixel?
A Snapchat Pixel is Snapchat's conversion tracking tool. It tells Snapchat's ad platform when someone takes a valuable action, like subscribing or making a purchase, after seeing or swiping up on your Snap ad. This data is what Snapchat's algorithm uses to find more users who are likely to convert, which lowers your cost per subscriber over time.
Why connect it to Smart Links? OnlyFans doesn't support Snapchat's pixel natively, and there's no way to install tracking code on OnlyFans pages. Smart Links bridge the gap by tracking everything server-side: every click, subscription, tip, and purchase is sent back to your Snapchat Pixel automatically. No JavaScript, nothing to install on OnlyFans.
What you'll need
- An active OnlyFans API account with Smart Links enabled
- A Snapchat Ads account with Business Manager access (you must be an Organization Admin to generate the API token)
- Your Snap Pixel ID and a Conversions API token (we'll get both below)
Why this matters for Snapchat
Snapchat is a strong traffic source for OnlyFans media buyers, especially for younger demographics and creative formats like Stories ads and AR Lenses. But like every platform, Snapchat's algorithm only optimizes well when it has conversion data.
- Without conversion data, Snapchat optimizes for swipe-ups (clicks), not subscribers. You pay for traffic that doesn't convert.
- With Smart Links + your Snapchat Pixel, every subscription and transaction is sent to Snapchat via server-side postbacks. Snapchat learns which swipe-ups become paying fans and finds more of them.
Snapchat's native pixel is browser-based JavaScript, which makes it vulnerable to ad blockers, cross-device loss, and redirect drop-off. Smart Links postbacks bypass all of that: our servers talk directly to Snapchat's Conversions API, so events can't be blocked or dropped.
This guide is the Snapchat-specific setup. For how Smart Links work under the hood, including attribution rules, the conversion window, lifetime revenue attribution, and postback variables, see the Smart Links guide.
Step-by-step setup
Find your Snap Pixel ID
In Snapchat Ads Manager, open the top menu and go to Assets → Pixels (Snapchat also lists pixel activity under Events Manager).
![]()
On the Pixels page, open your pixel, or click Create Pixel, name it, and open it.
![]()
Your Pixel ID is shown right below the pixel's name. Copy it.
![]()
Generate a Conversions API token
Snapchat's server-side Conversions API needs an access token in addition to the Pixel ID. This is how Smart Links authenticate when sending events to Snapchat.
In the sidebar, open Business Details, scroll to Conversions API Tokens, and click Generate Token (or copy an existing one).

You must be an Organization Admin to generate this token. Copy it somewhere safe and treat it like a password. Store it on a secure backend, and never share it client-side.
Create or open a Smart Link
Log into your OnlyFans API Dashboard and open Smart Links in the left sidebar. Click Create Smart Link (or open an existing one) and fill in:
- Account: the OnlyFans account you're running ads for
- Smart Link Name: something descriptive, e.g. your Snapchat campaign name
- Offer Type: Free Trial or Tracking Link

Add your Snapchat pixel
On the Smart Link, open the Connect your ad platforms panel and click Add Tracking Pixel (you can also manage pixels from Smart Links → Manage Ad Platforms). Then:
- Set Platform to Snapchat Ads
- Paste your Pixel ID from Step 1
- Paste your Conversions API token into the Access Token field (from Step 2)
- Review the Event Configuration. The defaults are sensible (see Events sent to Snapchat below)
- Click Save
![]()
Attach the pixel to your Smart Link
If you created the pixel from the Ad Platforms page rather than inline, attach it to the Smart Link using the Ad Platforms selector on the Smart Link. You can connect more than one pixel to a single link.
![]()
Send a test event
Open the Send Test Event dialog on your pixel, pick an Event, and send it. Snapchat doesn't use a test event code. The event goes to Snapchat's validation endpoint and appears in Snapchat Events Manager under your pixel's Test Events tab within a few minutes.

Use the Smart Link in your Snapchat ad
In Snapchat Ads Manager, set your ad's Website URL / Attachment URL to your Smart Link:
https://trk.of-traffic.com/go/YOUR_SMART_LINK_IDReplace YOUR_SMART_LINK_ID with the ID from your Smart Links dashboard. When a Snapchatter swipes up, Snapchat automatically appends its click ID (ScCid) to the URL, and Smart Links captures it for attribution. There's no macro to add.
Verify conversions are flowing
Once your ads are live:
- Smart Links dashboard: you should see clicks, subscribers, and revenue
- Snapchat Events Manager: conversion events appearing on your pixel
- Snapchat Ads Manager: your campaign's results filling in with tracked conversions
Events sent to Snapchat
Smart Links can send the following events to your Snapchat Pixel. Each one maps to a Snapchat event in the Event Configuration section when you add the pixel. These are the defaults, and every event is configurable (map it to any Snapchat standard event, a custom event, or turn it off).
| Smart Link event | When it fires | Snapchat event (default) |
|---|---|---|
| Click | Fan clicks the Smart Link and is redirected to OnlyFans | VIEW_CONTENT |
| New Subscriber | Fan subscribes through the Smart Link | SIGN_UP |
| First Purchase | Fan's first non-subscription transaction (tip, PPV, etc.) | PURCHASE |
| Repeat Purchase | Any transaction after the first | PURCHASE |
| Message Received from Fan | Fan sends a message after converting | Not sent by default |
| Fan Sent 3+ Messages | Fan reaches their 3rd inbound message | LEVEL_COMPLETE |
For subscriber and purchase events, Smart Links also sends the conversion value and currency when available, so Snapchat can optimize toward your highest-value fans, not just any conversion.
Troubleshooting
| Problem | Fix |
|---|---|
| No events showing in Snapchat | Double-check you pasted both the Pixel ID and the Conversions API token, and that the token was generated by an Organization Admin. |
| Pixel shows invalid right after creating your business account | Snapchat can take up to a day to activate a brand-new pixel, so wait and try again. |
| Test event never appears | Snapchat doesn't use a test event code. Just send the test event and check your pixel's Test Events tab in Events Manager. Allow a few minutes. |
| Events arrive but the campaign isn't optimizing | Set your campaign's optimization goal to the matching conversion event (e.g. PURCHASE or SIGN_UP). |