Setting up the Snapchat Pixel on Shopify is straightforward if you use the official Snapchat Shopify app, but many stores have done a partial installation that misses the most important event: the PURCHASE event on the checkout thank you page.
This guide walks through the complete Snapchat Pixel setup on Shopify, from installation to verification, including the step most often skipped.
Before You Start: What You Need
- A Snapchat Business account (business.snapchat.com)
- A Snapchat Ads account
- Your Snap Pixel ID (from Events Manager in Ads Manager)
- Shopify admin access
Method 1: Snapchat Shopify App (Recommended)
The official Snapchat Ads app is the recommended installation method. It handles the pixel base code, standard events, and the Conversions API connection for checkout tracking in one setup.
Install the app
In your Shopify admin, go to the App Store and search for Snap Pixel & Ads or “Snapchat Ads.” Install the official Snapchat app. During setup, authenticate with your Snapchat Ads account.
Select your pixel
Choose the pixel you want to use (or create a new one). The app will install the base pixel code across your storefront and configure standard events automatically.
Enable the Conversions API
In the Snapchat app settings within Shopify, enable the Conversions API toggle. This connects the purchase event tracking through Shopify’s Customer Events system, which is the only way to reliably track purchases on the Shopify thank you page since the checkout extensibility update.
After enabling, go to Shopify Admin → Settings → Customer Events. You should see the Snapchat pixel listed as an active Customer Events pixel. If it is not there, the Conversions API is not set up.
Method 2: Manual Installation via Google Tag Manager
If you manage tracking through GTM:
Base code tag
Create a Custom HTML tag in GTM with the Snap Pixel base code. Trigger: All Pages. The base code initialises the snap object but does not send any events by itself.
VIEW_CONTENT tag
Create a Custom HTML tag that fires snaptr('track', 'VIEW_CONTENT', { price: [price], currency: [currency], item_ids: [product_id] }). Trigger: Product pages (URL contains /products/).
ADD_CART tag
Fire on the add_to_cart dataLayer event. Pull product price and ID from the dataLayer.
PURCHASE tag
This is the critical one. Fire on the Shopify purchase dataLayer event (which fires on the thank you page). Include transaction_id, value, currency, and the items array. Add a deduplication_id using the order ID to prevent double-counting if you also have the app-based CAPI running.
Step 3: Verify Events Are Firing
After installation, complete these checks:
Check Snapchat Events Manager
In Snapchat Ads Manager, go to Events Manager → select your pixel → Test Events. Enter your store URL and navigate through to a purchase. Events Manager will show you in real time which events are being received.
Verify purchase event
Complete a test purchase. Check Events Manager within 10 minutes. The PURCHASE event should appear with:
- Source: Pixel (browser) and/or API (server)
- Transaction value: matching your test order total
- Currency: correct 3-letter code
Common Snapchat Pixel Issues on Shopify
PURCHASE event not appearing after checkout
The most common problem. The base pixel fires on storefront pages but not on the thank you page because the app did not set up the Customer Events connection. Fix: go to the Snapchat app in Shopify, ensure the Conversions API toggle is on, and check Shopify Settings → Customer Events to confirm the pixel is listed.
Events firing on every page but PURCHASE has no value
The purchase event is firing but the value parameter is missing or zero. In the Snapchat app, check that the revenue tracking option is enabled and that it is pulling the correct value (order subtotal, not zero).
Duplicate PURCHASE events in Events Manager
You have both the browser pixel and the CAPI sending purchase events but deduplication is not working. Ensure both methods are sending the same transaction_id (Shopify order number) as the deduplication_id.
Snap Pixel for Dynamic Ads
If you want to run Snapchat Dynamic Product Ads (showing specific products users viewed or added to cart), you also need to set up a Snapchat Product Catalog. Your product catalog must be uploaded to Snapchat Ads Manager, and the product_id values in your VIEW_CONTENT and ADD_CART events must match the product IDs in your catalog.
Get Your Snapchat Pixel Verified
Snapchat tracking is often installed but not verified, leaving stores running campaigns based on severely underreported conversion data. A quick audit will tell you whether your PURCHASE events are actually reaching Snapchat with the correct parameters.