Sorted
Services
Paid mediaMeta, GoogleRetentionKlaviyo, SMSConversionCROScale$1M+ a monthLaunchUnder $100k
PricingWorkFor agenciesStudio
Grade my storeGet your growth planGrowth plan →
Paid mediaMeta, GoogleRetentionKlaviyo, SMSConversionCROScale$1M+ a monthLaunchUnder $100k
Pricing→Work→For agencies→Studio→
Grade my storeBeyond Checkout, every Friday
Book a 20-minute growth call →No long-term contract. 30-day exit.
Blog/Paid media/Meta Pixel Setup for D2C

Meta Pixel Setup for D2C Brands: The Complete 2026 Guide

Your Meta Pixel is the foundation of all Meta ad performance. A poorly configured pixel means wasted ad spend. Here is how to set it up correctly.

Sorted Agency
The Sorted team
Mar 26, 20268 min readUpdated Apr 1, 2026
On this pageMeta Pixel vs Conversions APIShopify Setup: The Correct ProcessStandard Events to Configure
On this page
Meta Pixel vs Conversions APIShopify Setup: The Correct ProcessStandard Events to Configure
Key takeaways
  • The Meta Pixel is a JavaScript snippet that fires in the browser when a customer takes an action on your site.
  • Step 1: in Shopify admin, go to Online Store, Preferences, and find the Facebook Pixel section.
  • All of these fire automatically from Shopify's Facebook and Instagram channel integration.

The Meta Pixel (now called Meta Pixel, still referred to as Facebook Pixel in most documentation) is the tracking foundation for every Meta Ads campaign you will ever run. Without a correctly set up pixel plus Conversions API, your Meta campaigns are optimising with incomplete data, your audiences are smaller than they should be, and your ROAS is lower than it needs to be. Here is the correct setup for Shopify D2C brands.

Meta Pixel vs Conversions API

The Meta Pixel is a JavaScript snippet that fires in the browser when a customer takes an action on your site. It sends event data to Meta client-side. The Conversions API (CAPI) sends the same event data from your server (or Shopify's servers) to Meta directly, bypassing the browser entirely. After iOS 14's App Tracking Transparency, browser-side pixel tracking is blocked for a significant percentage of iOS users who opted out of tracking. CAPI recovers that lost signal.

You need both, running in parallel. The pixel handles browser-side tracking for all users. CAPI handles server-side tracking that works regardless of iOS opt-out status. Meta deduplicates the events so they are not counted twice. Your Event Match Quality (EMQ) score in Meta Events Manager should reach 7.0 or above with both properly configured.

Shopify Setup: The Correct Process

Step 1: in Shopify admin, go to Online Store, Preferences, and find the Facebook Pixel section. This is the old, basic pixel integration. Do not use this alone. Step 2: install the Facebook and Instagram channel app from the Shopify App Store. This app sets up both the Meta Pixel and the Conversions API via Shopify's server-side integration. Step 3: in the Facebook and Instagram channel settings, connect your Meta Business Manager account and select your Meta Pixel. Enable "Share data at maximum" in the data sharing settings. This enables CAPI through Shopify's native integration.

Step 4: verify in Meta Events Manager. Open your Meta Pixel in Business Manager and navigate to Test Events. Complete a test purchase on your Shopify store. Verify that these events fire: PageView, ViewContent (on product pages), AddToCart, InitiateCheckout, and Purchase. Each should show both a browser source and a server source confirmation, indicating both pixel and CAPI are working.

Standard Events to Configure

The events Meta needs for D2C campaign optimisation, in priority order: Purchase (highest priority, must fire on the Shopify order confirmation page with correct revenue value), InitiateCheckout, AddToCart, ViewContent, and PageView. All of these fire automatically from Shopify's Facebook and Instagram channel integration. Verify each is firing correctly in Events Manager before running any campaigns.

ShareXLinkedIn
Sorted Agency
Sorted Agency

60+ US-trained specialists running Klaviyo, Meta and conversion for 100+ D2C brands. Every number here comes from accounts we run.

Get the weekly letter →
Questions, answered

Questions on this,
answered.

Is Meta Pixel still needed after iOS changes?

Yes, but it must be supplemented with Conversions API (CAPI). Pixel alone now captures only 50-60% of conversion events due to Safari ITP and iOS opt-out. Adding CAPI (server-side event sending) raises event match quality to 80-90% for most Shopify stores. Set up both pixel and CAPI, then verify in Events Manager that you are seeing low deduplication rates.

What is the Event Match Quality score and what is good?

Event Match Quality (EMQ) in Meta Events Manager scores how well your pixel events can be matched to Facebook user profiles (0-10). A score of 7+ is good, 8+ is excellent. Improve EMQ by sending hashed email and phone number with all purchase events — the Shopify-Meta integration does this automatically but ensure it is configured in your Pixel settings.

Keep reading

All articles →
Paid mediaCheaper January reachPaid media

Q1 Meta Ads Strategy: Buy Cheaper January Reach and Stop Paying to Reach Holiday Buyers

Paid mediaMeta Advantage+ Shopping CampaignsPaid media

Meta Advantage+ Shopping Campaigns for D2C: The 2026 Guide

Paid mediaMeta Ads Budget ScalingPaid media

Meta Ads Budget Scaling: How to Scale D2C Ad Spend Without Killing ROAS

Beyond Checkout

One email a week. One thing to ship.

What moved revenue across our accounts that week, with the screenshot. Every Friday.

Unsubscribe in one click. See a past issue

Nothing to hand over to start·Read-only access, NDA first·Access gone in 24 hours when you leaveNothing to hand over to startRead-only access, NDA firstAccess gone in 24 hours when you leave

Sorted

We run growth for Shopify brands. Ads, email and SMS, conversion rate. One team, one number.

Services
RetentionPaid mediaConversionScaleLaunchBFCM
Agencies
White-label podsDedicated peopleProjectsPartnersStudio for agencies
Company
WorkPricingSecurityCareersAboutNewsletter
Tools
Store graderRevenue gapROAS calculatorLTV predictorBFCM checklist
Get your growth planGrade my store
Sorted Agency LLC, 131 Continental Dr, Suite 305, Newark, DE 19713. Founded 2017.PrivacyTermsPrivacy choicesRemove my data
↑
$425M Shopify revenue ·$100M+ Klaviyo revenue ·100+ D2C brands ·40M+ BFCM emails ·4.5x blended ROAS ·$30M+ ad spend managed ·$425M Shopify revenue ·$100M+ Klaviyo revenue ·100+ D2C brands ·40M+ BFCM emails ·4.5x blended ROAS ·$30M+ ad spend managed ·
Shopify brands, $100k+/mo
Get your free growth planGet your growth plan →
Not ready? Grade my store, 90 sec