Skip to content
Brand Captain

How to set up the Meta pixel and Conversions API on Shopify

Install Shopify's Facebook and Instagram sales channel, connect your Meta pixel, and set data sharing to Enhanced or Maximum: both send events through the Conversions API alongside the pixel.

Updated October 26, 2026 5 min read 15 sources

A store owner in a small stockroom placing a test order on a laptop with a phone in her hand, shipping boxes on shelves behind her
  • Set it up in Shopify under Sales channels, Facebook and Instagram, Settings, Data sharing settings.
  • Pick Maximum (our recommendation) or Enhanced: both add the Conversions API. Standard is the browser pixel only.
  • Aim for Conversions API events at 75% or more of pixel events, per Meta.
  • Meta merges a pixel and a server event that share a name and event ID within 48 hours.

How do you set up the Meta pixel and Conversions API on Shopify?

Add the Facebook and Instagram by Meta sales channel, connect your Meta business assets, then turn on customer data sharing at the Enhanced or Maximum level. That one setting is what switches on the Conversions API for your store, and no developer is needed.

Shopify's setup page calls Facebook and Instagram by Meta a sales channel, so after you install it you find it under Sales channels in your admin, not under Settings and Apps. Shopify says the channel is free on all Shopify plans, subject to store eligibility.

  1. 1

    Open the Shopify App Store

    From your Shopify admin, go to Settings, then Sales channels, and click Shopify App Store.

  2. 2

    Add the Facebook channel

    Search for Facebook, click Add channel, then click Start set up on the first feature you want.

  3. 3

    Connect your Facebook account

    Click Connect account and sign in with a Facebook account that has full control of the business portfolio and the Facebook Page for the store.

  4. 4

    Connect your Meta assets

    Connect the Meta assets the feature asks for (Shopify notes some features also need an ad account), accept the terms and click Finish setup.

  5. 5

    Turn on data sharing

    Go to Sales channels, Facebook and Instagram, Settings, then Data sharing settings. Turn on customer data sharing and choose a level.

  6. 6

    Connect the pixel

    Connect a Meta pixel there if the channel has not already connected one.

Which data sharing level should you choose: Standard, Enhanced or Maximum?

Our recommendation is Maximum. Shopify's data sharing page says Enhanced and Maximum both use the Conversions API with the pixel, and Maximum is also kept up to date with Facebook's latest advertising technology.

We would not run Standard on a store that runs ads. It relies on the browser pixel alone, and Shopify notes that browser ad blockers can stop the pixel from sending data. On Enhanced and Maximum, the Purchase event goes from Shopify's servers to Meta's servers, so an ad blocker in the shopper's browser cannot stop it.

Standard

Browser pixel only

  • Meta pixel in the browser only
  • A browser ad blocker can stop the pixel
  • Shares browsing behavior only

Enhanced

Pixel plus Conversions API

  • Meta pixel plus the Conversions API
  • The server to server Purchase event is not stopped by an ad blocker
  • Shares name, location, email address and phone number for matching
Our pick

Maximum

Our recommendation

  • Meta pixel plus the Conversions API
  • Kept up to date with Facebook's latest advertising technology
  • The server to server Purchase event is not stopped by an ad blocker
  • Shares name, location, email address and phone number for matching

Which events does the Shopify integration send to Meta?

The channel sends seven standard events with no extra setup, in the order a shopper triggers them. Shopify lists them on its data sharing page.

  1. 1

    PageView

    Fires when someone loads a page.

  2. 2

    ViewContent

    Fires when someone views a product page.

  3. 3

    Search

    Fires when someone searches the store.

  4. 4

    AddToCart

    Fires when a product goes in the cart.

  5. 5

    InitiateCheckout

    Fires when checkout starts.

  6. 6

    AddPaymentInfo

    Fires when payment details are entered.

  7. 7

    Purchase

    Fires when the visitor completes a purchase and sees the thank you page in checkout.

How do you check that the pixel and Conversions API are working?

Run a test order on the store with the Shopify Pixel Helper open, then look at the Purchase event's details in Meta Events Manager. The first test shows the browser events fire, and the second shows Meta received the server copy and matched the two.

Shopify's app pixels page gives the path for the first check: Settings, Customer events, click the menu next to the Facebook and Instagram pixel, then Test. If the helper says the pixel is awaiting consent, accept tracking on your own cookie banner or click Give consent to continue test. To test the thank you page, place a test order.

For the second check, Meta's page on server event details says to open Events Manager, select your dataset, find the Purchase event and click View details. Each tab answers one question.

Event overview

Pixel and Conversions API counts side by side. Meta says server events should match or exceed pixel events.

Event coverage

Conversions API events as a share of unique pixel events. Meta's target is 75%.

Event matching

How many server events carry customer details, and the match quality score.

Event deduplication

What share of events from each source carried a deduplication key, and how much they overlap.

Data freshness

Whether events reach Meta in real time.

Developers sending their own server events can use the Test Events tool in Events Manager with a test_event_code. Meta's developer docs warn those test events are not dropped: they still count toward targeting and measurement.

How does Meta deduplicate pixel and Conversions API events?

Meta counts a browser event and a server event as one when they share the same event name and the same event ID. Meta's deduplication docs say the pair must arrive within 48 hours of the first event with that ID.

There is a fallback: Meta can also match on event name plus external ID or the fbp browser cookie. The developer docs say this fallback generally works only when the browser event arrives first, and it does not remove duplicates that come from a single source. Two browser Purchase events for one order both stay.

When you compare numbers, know where Meta deduplicates. Per Meta's event counts page, Ads Manager deduplicates, while the Total events count on the Events Manager data sources page does not. Meta's server event details page adds that Events received is the sum of pixel and server events, so with both sources working, the Purchase count there runs close to double your orders.

A store owner taping a shipping box shut at a packing bench while holding a printed order slip

What is event match quality and how do you raise it?

Event match quality is Meta's 0 to 10 score for how well the customer details on your server events match events to Meta accounts. Meta's help page says the score uses the last 48 hours of data, so it moves when your traffic or checkout changes.

Meta ranks the customer information parameters by how much each one helps matching. On Enhanced and Maximum, Shopify shares the customer's name, location, email address and phone number for matching. Email is one of the two parameters Meta ranks high, and Events Manager lists recommended fixes for each event.

0 to 10Event match quality scale
48 hoursData behind the scoreSo it moves when your traffic or checkout changes
2Parameters Meta ranks highEmail and click ID
Customer information parameters and the priority Meta gives each (Meta Business Help Center, checked October 2026)
ParameterMeta priority
EmailHigh
Click IDHigh
Facebook Login IDMedium
BirthdateMedium
CountryMedium
Phone numberMedium
External ID (your own customer ID)Medium
Browser IDMedium
First name, last name, city, zip or postal codeLow

Meta notes that sending a parameter does not guarantee a match: one parameter alone may not be enough, and some shoppers have no Meta account. A store can send email on every event and still score low.

Why run the Conversions API alongside the pixel at all?

Because the pixel misses events the server catches. Meta's Conversions API page says running both creates a more reliable connection that helps lower cost per result, because server data is less affected than the pixel by three things.

Meta calls sending the same events through both a redundant setup and recommends it on its best practices page. To see what the server side adds, Events Manager and Ads Manager show an additional conversions reported metric, which counts the conversions from the last 7 days that were reported because the Conversions API ran alongside the pixel.

Browser loading errors

When the page fails to load properly in the shopper's browser, the pixel can miss the event.

Connectivity problems

Meta lists connectivity problems as the second thing that affects the pixel more than server data.

Ad blockers

On Enhanced and Maximum, the Purchase event goes from Shopify's servers to Meta's servers, so an ad blocker in the browser cannot stop it.

Do you still need to verify your domain and rank 8 events?

No, not for web conversion campaigns. Meta's Aggregated Event Measurement page says you no longer prioritize 8 conversion events per domain, the Aggregated Event Measurement tab in Events Manager is gone, and you do not need to verify your domain for event configuration.

Domain verification can still matter for other reasons, which Meta lists on its domain verification page, and if your Meta tracking has bigger problems, the Meta ads attribution guide covers why Meta and Shopify report different sales.

Brand Captain runs Meta ads for Shopify brands, and the first 30 days of every engagement are an audit and build. If you want a second set of eyes on your pixel, Conversions API and ad account, start with the free growth assessment.

Work with Brand Captain

Want Brand Captain to run this for you?

One team in Utah runs your Meta, Google and TikTok ads, makes the creative, and builds the landing pages and emails behind them. Sized for brands doing $10k or more a month. 90-day minimum, then month to month.

Questions

Does the Shopify Facebook and Instagram app include the Conversions API?

Yes. Shopify's help center says the Enhanced and Maximum data sharing levels both use Facebook's Conversions API along with the Meta pixel. The Standard level uses the browser pixel only.

Should I choose Enhanced or Maximum data sharing on Shopify?

We recommend Maximum. Both send events through the Conversions API and share the same customer details, and Shopify says Maximum is also updated with Facebook's latest advertising technology.

Why is Meta showing two purchases for one Shopify order?

Check for a second copy of the Meta pixel, from old theme code or another app. Meta only deduplicates a pixel event and a server event that share the same event name and event ID within 48 hours, and it keeps duplicates that come from the same source.

What is a good event match quality score?

Higher is better on Meta's 0 to 10 scale, and Meta says better match quality can raise the additional conversions reported. Events Manager lists recommended actions to improve matching for each event.

Do I need to verify my domain for the Meta pixel on Shopify?

Not for event setup. Meta's Aggregated Event Measurement page says domain verification is no longer required for event configuration and you no longer rank 8 events per domain, though you may still verify a domain for other reasons.

How do I test the Meta pixel on Shopify?

In your Shopify admin go to Settings, Customer events, open the menu on the Facebook and Instagram pixel and click Test to launch the Shopify Pixel Helper, then place a test order to check the thank you page. Confirm the server copy in Meta Events Manager under the Purchase event's details.

What event coverage should the Conversions API have?

Meta recommends a 75% event coverage ratio of Conversions API events to Meta pixel events. It also says server events should match or exceed pixel events in the Event overview tab.

Keep reading

Browse all 59 guides, or every guide, calculator and data page in the Brand Captain resource library.