Snap Pixel
14 min
snap pixel is snapchat's conversion tracking pixel for measuring ad performance and building retargeting audiences this destination loads the snapchat pixel javascript sdk in the browser and forwards ecommerce and engagement events to snapchat ads there is no server side component getting started this is a device mode destination the snapchat pixel sdk is loaded automatically — no manual script installation is required you will need pixel id — your snapchat pixel id, found in your snapchat ads manager under assets > pixels optionally product content id field — which product field to use as the content id sku , product id , or variant id defaults to sku if the configured field is absent on a product, it falls back through sku → variant id → product id → id if you are also using the snapchat conversions api destination, this must be set to the same value in both destinations so that item ids match between client side and server side events connecting to the snap pixel cdp destination warning before connecting destinations in the chord cdp, please verify with all destination owners that all non chord cdp configured destinations are disabled running external destinations alongside configured chord cdp destinations can result in duplicate events downstream log into the chord data platform navigate to the cdp click the "add" button next to destinations select snap pixel from the destination catalog enter the destination name and your pixel id optionally configure the product content id field click "create" to connect events all snap pixel events include a client dedup id parameter set to the chord messageid for deduplication event mapping chord event snap event page page view order completed purchase product added add cart product viewed view content checkout started start checkout subscription created subscribe products searched search payment info entered add billing product added to wishlist add to wishlist signed up sign up page events snap sdk call snaptr("track", "page view", { client dedup id }) no additional attributes are sent with page events identify events re initializes the snap pixel with user data for enhanced matching the event is skipped if neither email nor phone is available snap sdk call snaptr("init", pixelid, userdata) snap attribute chord source (priority order) notes user email context traits email omitted if not present user phone number context traits phone omitted if not present order completed fires a purchase conversion event with order and product data snap sdk call snaptr("track", "purchase", orderdata) snap attribute chord source (priority order) notes item ids each product's configured field → sku → variant id → product id → id array of products with a resolvable id; omitted if empty item category properties products\[0] category first product's category currency properties currency defaults to "usd" price properties value total value after quantity ( price × qty ); formatted to 2 decimal places transaction id properties order id used by snapchat to deduplicate against capi purchase events number items count of products with a resolvable id product added fires an add to cart event using the first product from properties products\[] snap sdk call snaptr("track", "add cart", productdata) snap attribute chord source (priority order) notes item ids first product's configured field → sku → variant id → product id → id single element array; event skipped if no id resolves item category properties products\[0] category currency properties currency defaults to "usd" price properties value total value after quantity; formatted to 2 decimal places product viewed same attributes as product added above snap sdk call snaptr("track", "view content", productdata) checkout started same attributes as order completed above snap sdk call snaptr("track", "start checkout", orderdata) subscription created same attributes as order completed above snap sdk call snaptr("track", "subscribe", orderdata) products searched snap sdk call snaptr("track", "search", searchdata) snap attribute chord source (priority order) notes search string properties query > properties search string payment info entered no additional attributes beyond the dedup id snap sdk call snaptr("track", "add billing", { client dedup id }) product added to wishlist same attributes as product added above snap sdk call snaptr("track", "add to wishlist", productdata) signed up no additional attributes beyond the dedup id snap sdk call snaptr("track", "sign up", { client dedup id }) initialization the plugin loads https //sc static net/scevent min js and calls snaptr("init", pixelid) , optionally with user email and user phone number if available on the triggering event before the script loads, a queue buffers any calls to snaptr the plugin manages sdk loading state ( fresh → loading → loaded / failed ) to prevent duplicate script loads if the script fails to load, subsequent events are silently dropped csp requirements if your site uses a content security policy, allow the following domains directive domain script src https //sc static net connect src https //sc static net updated 23 apr 2026