Snapchat Conversions API, without running a server

Snapchat ad clicks happen on phones, often inside the in-app browser, which is where the Snap Pixel is most likely to lose events. The Snapchat Conversions API sends them from a server instead, and Tiide hosts that server for you.

From US$24 per site / month · Live in minutes · Cancel anytime

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

  1. Tiide creates a server-side GTM container on its infrastructure, on a subdomain of your website, with the GA4 client configured.
  2. Tiide routes your GA4 tag through it, so your existing events arrive at the server container.
  3. 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_time cannot be more than 7 days old. Events queued and sent later are rejected.
  • Web events need action_source set to WEB and an event_source_url.
  • Purchases need a value.
  • Event names are uppercase, for example PURCHASE, ADD_CART, START_CHECKOUT, VIEW_CONTENT and SIGN_UP.

Deduplicating the pixel and the server

Snap matches pixel and server events in two ways:

  • By event ID. The pixel's client_dedup_id must equal the server's event_id, with the same event name, within 48 hours.
  • By order ID, for purchases. The pixel's transaction_id must equal the server's order_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

Questions

Yes. Community-built Snapchat Conversions API tags are available in the Google Tag Manager Community Template Gallery and work in a server container fed by the GA4 client.

ScCid is the click ID Snapchat appends to your landing page URL when someone taps an ad. Sent with a server event as sc_click_id, it lets Snap attribute the conversion to that click. It is not hashed.

Common causes are an event_time more than 7 days old, a missing action_source or event_source_url on web events, and purchase events without a value. Snap's validation endpoint will tell you which.

Yes. Run both and give each event a shared ID, set as client_dedup_id on the pixel and event_id on the server, so Snap can remove the duplicates.

More integrations

GA4

GA4 server-side tracking without running a server. Tiide creates the server-side GTM container, configures the GA4 client and routes your GA4 tag through it.

Google Ads

Run Google Ads conversion tracking and enhanced conversions from a server-side GTM container on your own domain, hosted and maintained by Tiide.

Pinterest Conversions API

Send Pinterest conversions server-side with the Pinterest API for Conversions, from a server-side GTM container Tiide hosts on your own domain.

Reddit Conversions API

Send Reddit Ads conversions from a server with the Reddit Conversions API, using a server-side GTM container that Tiide hosts on your own domain.

Shopify

How to send Shopify conversions server-side: what Shopify's built-in Meta CAPI covers, and when a server-side GTM container for every ad platform is worth it.

TikTok Events API

Send TikTok conversions from a server with the TikTok Events API. Tiide hosts the server-side GTM container on your domain, so there is nothing to build.

All integrations

See the conversions you have been missing

Hosted server-side Google Tag Manager on your own subdomain. Per-site pricing, 1M events included, cancel anytime.