What the Snapchat Conversions API does
Snap's Conversions API (CAPI) accepts conversion events from a server rather than from the Snap Pixel in the browser. Snap uses them for attribution and for optimising campaigns towards purchases, sign-ups and other actions.
Snapchat is a mobile app, and in-app browsers on iPhone inherit Safari's tracking prevention, so the pixel alone tends to undercount. Server events fill that gap.
How it works with Tiide
- Tiide creates a server-side GTM container on its infrastructure, on a subdomain of your website, with the GA4 client configured.
- Tiide routes your GA4 tag through it, so your existing events arrive at the server container.
- Add a Snapchat Conversions API tag to the server container. Community-built Snapchat tags are available in the GTM Community Template Gallery. The tag needs your Snap Pixel ID and a Conversions API token, which an organisation admin creates in Snapchat Business Manager.
What Snap uses to match a conversion
| Parameter | What it is | Hashed? |
|---|---|---|
sc_click_id |
The click ID Snap adds to your landing page URL as ScCid |
No |
sc_cookie1 |
The value of the Snap Pixel's first-party _scid cookie |
No |
em, ph |
Email and phone number | SHA-256 |
fn, ln, ct, st, zp, country |
Name and location details | SHA-256 |
client_ip_address, client_user_agent |
Network and browser details | No |
Before hashing, Snap asks for email addresses to be trimmed and lowercased, and phone numbers as digits including the country code.
Rules worth knowing
Snap's API is strict in a few places that catch people out:
event_timecannot be more than 7 days old. Events queued and sent later are rejected.- Web events need
action_sourceset toWEBand anevent_source_url. - Purchases need a
value. - Event names are uppercase, for example
PURCHASE,ADD_CART,START_CHECKOUT,VIEW_CONTENTandSIGN_UP.
Deduplicating the pixel and the server
Snap matches pixel and server events in two ways:
- By event ID. The pixel's
client_dedup_idmust equal the server'sevent_id, with the same event name, within 48 hours. - By order ID, for purchases. The pixel's
transaction_idmust equal the server'sorder_id, which Snap will match for up to 30 days.
If the pixel sends no client_dedup_id, it generates its own value that a server event can never match, so set it deliberately.
Checking it works
Snap provides a validation endpoint that checks an event without recording it. Use it, or your tag's test mode, before you publish.
Free tool
See how much conversion data your site is losing, in about a minute