Read first
What do the pixel and the Conversions API actually do?
You launch your first ad, and Meta's dashboard shows twenty clicks and no purchases, though your store shows three orders. The ad is not necessarily failing. Meta may simply not know about the orders.
The pixel runs in the buyer's browser. When someone opens a product page, adds to cart or pays, it sends that event to Meta. This lets Meta find more people like your buyers, and lets you count results. But browsers, ad blockers and phone privacy settings can stop it from sending.
The Conversions API (often called CAPI) sends the same events from your store's server to Meta, not from the browser. It is not a replacement for the pixel. Meta's own guidance is to use both, so that when one misses an event the other can supply it, and to give each event the same ID so Meta counts it once.
How do I set it up on Shopify?
- Create your assets in Meta Business Suite: a business portfolio, an ad account and a pixel (called a dataset in newer screens). Use your own email as the admin and add a second admin you trust.
- Install the official Facebook and Instagram channel app from the Shopify app store and connect your business portfolio, pixel and Instagram account.
- Choose the highest data-sharing option the app offers. It is usually called maximum, and it sends events through the pixel and through CAPI. Lower settings send less.
- Verify your domain in Meta's Brand Safety or domain settings. Domain verification lets you control which events count.
- Check the events. At the least you want PageView, ViewContent, AddToCart, InitiateCheckout and Purchase.
- Place a test order and check it in Meta's Events Manager test events screen. You should see each event once, with a source tag that shows browser and server.
Shopify's own settings change from time to time, so follow the on-screen steps rather than a screenshot from an old blog. If you use WooCommerce, the official Meta plugin for WooCommerce does the same job. A custom store needs a developer to send server events with a shared event ID.
How do I check that it is working?
| Check | What good looks like | What to do if not |
|---|---|---|
| Events Manager shows Purchase from both browser and server | One purchase per order, tagged with both sources and merged | If you see doubles, the event ID is missing or mismatched. Fix deduplication before spending. |
| Event match quality | A decent score on Purchase. Higher is better because Meta can link the event to a person | Send more customer details with consent: email, phone, name, city. A checkout asking for a phone number helps. |
| Purchase count against your store | Meta shows a similar number to your store, allowing for the attribution window | A large gap needs the checks on Meta against Shopify numbers. |
| Purchase value | Matches the order total including or excluding GST consistently | Pick one and keep it, or your ROAS will mislead you. |
| Page speed | Store still loads quickly after install | Remove duplicate pixel scripts and unused apps. |
Do not run ads for the first time until you have seen a real test purchase arrive once, with the right value.
What are the privacy and consent points?
Sending customer email or phone to Meta for matching counts as processing personal data. India's Digital Personal Data Protection Act 2023 and its rules govern personal data, and the date they apply to a small brand depends on the rules in force, so ask a lawyer or CA if you are unsure. At minimum, state in your privacy policy that you use ad tools, collect only what you need and give buyers a way to ask you to delete their data.
Do not send data about sensitive health conditions in event names or product titles. If your category is health or personal care, keep the event data to what the ad tool needs.
What usually goes wrong?
- Installing the pixel code by hand and also through an app, so every event fires twice.
- Skipping domain verification, then finding some events are limited.
- Using a COD order as a purchase and not telling Meta later that it failed. The platform keeps optimising for orders that never arrive.
- Setting the pixel up on the day you launch the ad, with no test purchase.
- Giving agency staff your personal admin login instead of adding them as a partner, then losing control of the account.
Good tracking will not make a weak offer work, but a missing pixel will make a good one look bad. Once it is running, set your limits as in the ad stop-loss rule and keep a backup, as in backup ad accounts.
Questions people ask
Do I need the Conversions API if I have the pixel?
Meta recommends using both. The pixel can be blocked by browsers or privacy settings, and the server connection fills some of the gap. Most store apps set up both together.
Does it cost anything to set up?
The Meta channel app on Shopify and the official WooCommerce plugin are free to install at the time of writing. A developer for a custom store costs extra; check current offers.
Will CAPI fix my ROAS?
It will usually give Meta more of your real orders, but it does not remove all differences between Meta's numbers and your store's. See the next page for why they differ.
Customers and marketing · D2C brand
More on customers and marketing for a d2c brand
32 pages on this. You are on number 16.
- Do influencers work for a small D2C brand, and what do they charge?
- How do I get repeat customers for my D2C brand without more discounts?
- How do I set up the Meta pixel and Conversions API for my D2C store?
- How much does a D2C store cost to set up and run in India?
- Is a founder story or a founder's face worth it for a D2C brand?
- What does rebranding a D2C brand involve and cost in India?
- How do I get my D2C brand's first Google, Amazon and website reviews?
- How do I shoot product photos for my D2C brand on a small budget?
Reading about it is one thing; doing it in your d2c brand is another. If you'd like a hand bringing in customers, tell us where you are and a person will reply, free.
Get help with this ↓What now?
Where are you?
One tap, and we point you to the right next step.