Snapchat Pixel¶
What It Does¶
Track how people interact with your store after seeing your Snapchat ads. The Snapchat Pixel helps you measure ad performance, build audiences for retargeting, and let Snapchat optimize who sees your campaigns.
When to Use It¶
Enable this plugin if you:
- Run Snapchat ads
- Want to track conversions coming from Snapchat campaigns
- Need to build custom audiences for retargeting
- Want Snapchat to optimize delivery toward people likely to buy
- Need to measure return on ad spend (ROAS)
How It Works¶
You paste the pixel code Snapchat gives you, and the store adds it to every storefront page. From then on Snapchat receives the visits and can match them to the people who saw your ads.
Setup Instructions¶
Step 1: Get Your Pixel Code¶
- Go to Snapchat Ads Manager
- Sign in to your Snapchat for Business account
- Open Events Manager
- Select your pixel (or create a new one)
- Choose Set Up Pixel > Install Pixel Code Manually
- Copy the entire code snippet (from
<script>to</script>)
The code looks like this:
<!-- Snapchat Pixel Code -->
<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>
<!-- End Snapchat Pixel Code -->
Step 2: Enable the Plugin¶
- In your store admin, go to System Settings > Plugins
- Find the Snapchat Pixel card
- Click Configure
- Enable the plugin using the toggle switch
- Paste your complete pixel code in the Snapchat Pixel Script field
- Click Save
Configuration Fields¶
Enabled¶
Type: Toggle Description: Turn the plugin on or off
Snapchat Pixel Script¶
Type: Text Area
Required: Yes
Description: The complete Snapchat Pixel code from Snapchat Ads Manager, including the <script> tags
What to paste: Copy everything from <script> to </script> from the Ads Manager
Verification¶
After enabling the plugin:
- Install the Snap Pixel Helper Chrome extension
- Visit your store website
- Click the extension icon - it should show your pixel is active
- Go to Snapchat Ads Manager > Events Manager
- You should see your page views appearing there
What Gets Tracked¶
The code you paste from Snapchat tracks page views on every storefront page. That alone is enough for retargeting audiences and for measuring traffic from your ads.
Richer events such as add-to-cart or purchase are not automatic: set them up in Snapchat Events Manager, which can define events from your live store without changing any code.