On this page
What this issue is
The Snapchat Pixel (Snap Pixel) is a small piece of JavaScript from Snapchat. It sends events such as PAGE_VIEW, SIGN_UP and PURCHASE from your site to your Snapchat Ads account. Each pixel has a unique Pixel ID, set in the base code with snaptr('init', 'YOUR_PIXEL_ID').
Why it costs you leads or sales
Snapchat can only optimise for conversions it sees. With no pixel, or the wrong ID, your campaigns report zero conversions from the site. Snapchat's delivery then has little to learn from, and you cannot tell which ads work. Audiences built from site visitors stay empty or are filled with someone else's data. Your ad spend continues, but you are measuring and optimising blind.
- Snap ad clickVisitor lands on your site
- Pixel base codeMissing or wrong Pixel ID
- SIGN_UP / PURCHASE eventNothing to attach it to
- Snapchat optimisationNo conversions reported
A wrong or missing ID breaks the signal before Snapchat receives it.
Example: 40 real sign-ups in a week. Illustrative numbers only.
How to check if your site has it
Find your real Pixel ID
In Snapchat Ads Manager open Events Manager, choose your pixel and copy the Pixel ID shown for it.
Use Snap Pixel Helper
Install the Snap Pixel Helper browser extension, open your site and check that it detects a pixel and that the ID matches the one you copied.
Check the page source
View source or open DevTools, Network tab, and search for
snaptrandtr.snapchat.com. Look at the ID passed toinit.Test several pages
Check the home page, a landing page, the form page and the thank-you page. A pixel on only some templates is a common cause.
Look at Events Manager
After visiting, check that PAGE_VIEW activity appears for the pixel. No activity points to a missing pixel or the wrong ID.
| Symptom | Likely cause |
|---|---|
| Pixel Helper finds nothing | Base code not installed, or blocked by consent |
| Helper shows a different ID | Wrong or old pixel ID |
| Pixel on home page only | Code added to one template, not site-wide |
| Two pixel IDs load | Old and new installs both active |
| Events Manager shows no activity | ID mismatch or code not running |
How to fix it
Install the base code once, site-wide, with the correct ID. Use one method only (a plugin, Google Tag Manager or a hard-coded snippet) so it does not load twice. Steps depend on your platform.
Create the tag
In your container choose Tags, New, then the Snapchat Pixel template from the Community Template Gallery (or a Custom HTML tag with the base code).
Enter the Pixel ID
Paste the ID from Events Manager. Set the trigger to All Pages (or your consent-aware trigger).
Preview and publish
Use Preview mode, confirm the tag fires, then Submit and publish.
Use the Snapchat channel
Install Snapchat's app from the Shopify App Store and connect the right ad account and pixel.
Remove manual copies
Check Online Store, Themes, Edit code (theme.liquid) and Settings, Customer events for old Snap code.
Choose one method
Use a pixel or header-script plugin, or Google Tag Manager. Paste the ID or base code in the plugin's settings.
Clear caches
Purge page cache and any minification cache so the updated code is served.
Add the code site-wide
Open Site settings, Custom code, and paste the base code in Head code. Publish the site.
Add a custom code snippet
Go to Settings, Custom code, add the Snap base code to the Head, apply to All pages, and publish.
Use code injection
Open Settings, Advanced, Code Injection and paste the base code in the Header. Save.
Add the snippet to the head
Put the base code in the shared layout or header so every page gets it once. Replace the placeholder with your Pixel ID.
<script type="text/javascript">
(function(e,t,n){if(e.snaptr)return;var a=e.snaptr=function()
{a.handleRequest?a.handleRequest.apply(a,arguments):a.queue.push(arguments)};
a.queue=[];var s='script';r=t.createElement(s);r.async=!0;
r.src=n;var u=t.getElementsByTagName(s)[0];
u.parentNode.insertBefore(r,u);})(window,document,
'https://sc-static.net/scevent.min.js');
snaptr('init', 'YOUR_PIXEL_ID');
snaptr('track', 'PAGE_VIEW');
</script>Broken
- Pixel Helper shows no pixel or an unknown ID
- Events Manager shows no activity
- Snapchat reports zero site conversions
Fixed
- One pixel with your ID on every page
- PAGE_VIEW appears in Events Manager
- Conversions can be reported and optimised
How to confirm it's fixed
- Snap Pixel Helper detects one pixel on the home, landing and thank-you pages
- The ID matches the one in Events Manager
- The Network tab shows a request to tr.snapchat.com
- PAGE_VIEW activity shows in Events Manager within a short time
- Only one install method remains
- The pixel still loads after you accept cookies, if you use a consent banner
How to prevent it happening again
Pixels break quietly when themes are changed, plugins updated, tag containers republished or sites rebuilt. Keep the Pixel ID in one documented place. Review it after each redesign, migration or tag change, and check Events Manager for a drop in activity. If agencies manage several clients, keep each client's pixel ID in a shared record so IDs do not get mixed up.
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor runs your real journeys on a schedule and checks the tracking hits sent to ad platforms, Snapchat among them. If the Snapchat hit is not sent, or goes out with an unexpected ID, the step fails. The failure is re-checked from a second region, then one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1) and never clicks real ads. The Free plan covers 1 site and 2 journeys with daily checks, no card needed, and paid plans have a 3-day free trial.
Questions people ask
Why is my Snapchat Pixel not firing?
Usually the base code is not on the page, a consent banner blocks it, a cache serves old code, or a tag manager trigger is wrong. Open Snap Pixel Helper on the affected page to see whether any pixel loads, then check the ID and trigger.
How do I find my Snapchat Pixel ID?
In Snapchat Ads Manager open Events Manager and select your pixel. The Pixel ID is shown with it. Copy that value into your install, replacing the placeholder in snaptr('init', ...).
How do I check if the Snapchat Pixel is installed correctly?
Use the Snap Pixel Helper browser extension on your site. It shows whether a pixel was found and which ID it uses. Then confirm that PAGE_VIEW activity appears in Events Manager.
Can I have two Snapchat Pixels on one site?
Technically yes, but only if you mean to. Duplicate installs from a plugin and a tag manager often cause double counting or send data to an old ID. For most sites, keep one pixel and one install method.
Why does Events Manager show no activity even though the pixel is installed?
The ID in the code may not match the pixel you are viewing, the code may load only on some pages, or visitors may be declining cookies so it never runs. Compare the ID in the Network request with Events Manager.
Does a missing Snapchat Pixel affect ad delivery?
Ads can still run, but Snapchat gets no conversion data from your site. That limits optimisation toward sign-ups or purchases and leaves your reporting empty.
How can I be alerted if the Snapchat Pixel breaks?
FunnelGuard runs your journeys on a schedule, checks the tracking hits sent to Snapchat and alerts you if one is missing or has an unexpected ID. You can try it on the Free plan.