Skip to content

Meta ads for Shopify: connect your store, track sales properly and launch a first campaign that pays

Meta ads for Shopify step by step: connect the Facebook & Instagram app, pick the right data-sharing level, sync your catalog and launch a first campaign.

Meta Ads Copilot Max team9 min read
A person packing an order into a cardboard box on a table in a bright studio

Photo: Bench Accounting benchaccounting · CC0, via Wikimedia Commons

Shopify makes it easy to sell online, and Meta makes it easy to spend money on ads. Connecting the two properly is where many store owners lose time and money: purchases that don't show up in Ads Manager, a catalog that won't sync, or a campaign that "gets sales" according to Meta while Shopify shows something very different. This guide to Meta ads for Shopify walks you through the connection, the tracking settings that matter, the first campaigns worth running, and the math that tells you whether they pay. It's written for small stores, not media buyers.

In short: Install the Facebook & Instagram app from the Shopify App Store, connect your own business portfolio, Page, ad account, pixel and catalog, and set customer data sharing to Enhanced or Maximum so the Conversions API sends purchases server to server. Remove any old pixel code from your theme so purchases aren't counted twice. Then start with one sales campaign for your best product, judge it by cost per sale against your margin, and add retargeting once you have traffic.

A smiling shop owner leaning on the counter of a colorful toy and gift shop
A small catalog and a clear margin are all you need to start.Photo: Remy Baudouin philmouss · CC0, via Wikimedia Commons

What you need before you start

Get these in place first. It saves a lot of back and forth later.

  • A Shopify store on a paid plan with real product pages: clear photos, price, shipping info and a working checkout.
  • A Facebook Page and Instagram account for the business.
  • A Meta business portfolio (what used to be called Business Manager) that you own, with an ad account and a payment method.
  • Your numbers. Price, product cost, shipping, payment fees and the profit you keep per sale. You'll need them to judge every campaign.
  • Two-factor authentication turned on for your Facebook account. Meta requires it for many business tasks, and it protects your ad account.

If someone else (a freelancer, an agency, a nephew) set up your business portfolio in their name years ago, fix ownership now. It's much harder to sort out after the account has spend history.

Step 1: Connect Shopify to Meta with the Facebook & Instagram app

The official way to connect is Meta's app in the Shopify App Store, called Facebook & Instagram (Shopify's help center calls it Facebook and Instagram by Meta). It's free and adds Meta as a sales channel in your Shopify admin.

  1. In Shopify admin, open the App Store and install Facebook & Instagram.
  2. Log in with the Facebook account that has full control of your business portfolio.
  3. Connect, in order: the business portfolio, your Facebook Page, your Instagram account, your ad account, the pixel (Meta now often calls it a dataset), and a catalog. You can create new ones or pick existing ones.
  4. Accept Meta's terms and finish setup.

What if the setup asks to create a new business portfolio when you already have one? Stop and check which Facebook account you're logged into. This usually means you're logged in with a personal account that isn't an admin of your real portfolio. Creating a second portfolio splits your assets and causes headaches later.

Step 2: Choose the right customer data-sharing level

This is the setting that most affects whether Meta sees your sales. In the app's settings, Shopify offers three levels, explained in Shopify's article on Facebook data sharing:

LevelWhat it usesWhat it means for you
StandardMeta pixel in the browser onlyAd blockers and browser privacy settings can stop events from reaching Meta
EnhancedPixel plus the Conversions APIPurchases are also sent server to server, plus customer details for matching
MaximumSame as Enhanced, plus Meta's newest ad technologyThe most complete option Shopify offers

For most stores running sales campaigns, Enhanced or Maximum is the sensible choice, because the Conversions API sends purchase events from Shopify's servers rather than relying only on the shopper's browser. Make sure your privacy policy and cookie banner reflect what you share. Our Meta Pixel and Conversions API guide explains how the two work together.

Remove old pixel code

Many older Shopify stores have a pixel pasted into the theme, added through another app, or both. If the app and an old snippet are both active, Meta can count each purchase twice and your cost per sale will look better than it really is.

How to check:

  1. In Shopify admin, go to Settings → Customer events and see which pixels are connected.
  2. Look in your theme code (or ask whoever edited it) for old Meta pixel snippets.
  3. Check your apps list for other tracking or "pixel" apps.
  4. Keep one connection, normally the Facebook & Instagram app, and remove the rest.

After that, place a test order and check Meta's Events Manager to see that one purchase arrives, not two. If purchases never show up at all, follow our guide on a Meta Pixel that isn't tracking sales.

A clothing boutique with jackets on hanging rails and pendant lamps
Every product with a good photo can become a catalog ad.Photo: Clark Street Mercantile mercantile · CC0, via Wikimedia Commons

Step 3: Sync your catalog

The app syncs your Shopify products to a Meta catalog. That catalog powers shops on Facebook and Instagram and, more importantly for ads, catalog ads that show people the exact products they viewed.

Things that commonly go wrong:

  • Products missing from the catalog. Usually missing images, missing prices, products not available on the Facebook & Instagram sales channel, or items Meta flags under its commerce policies.
  • Variants showing oddly. Make sure each variant has a clear option name (Size, Color) and its own image where it matters.
  • Out-of-stock items still advertised. Keep inventory tracking on in Shopify so the catalog knows what's available.

Check the catalog in Commerce Manager once a week for the first month. Fix issues at the source in Shopify, not in the catalog.

Step 4: Launch your first Meta campaign for Shopify

Don't start with ten products and five audiences. Start small and clear.

  1. Pick one product that already sells without ads, has good photos and a decent margin.
  2. Work out your break-even cost per sale: the most one sale can cost in ads before you lose money. See break-even cost per sale.
  3. Create a sales campaign with the purchase event as the goal. Advantage+ sales campaigns are a reasonable default for stores with tracking in place; our Advantage+ sales campaigns guide explains when they fit.
  4. Write two or three ads with different angles: a benefit, a use case, an objection answered. Our guide to turning a product page into a Meta ad shows how.
  5. Send traffic to the product page, not the homepage.
  6. Set a budget you can hold for at least a week without touching it, even if the first days look weak.

Worked example (made-up numbers)

Say you sell a linen apron for $38.

ItemAmount
Price$38.00
Product cost$11.00
Packaging and shipping you pay$7.50
Payment fees (about 3% + $0.30)$1.44
Kept per sale before ads$18.06

Your break-even cost per sale is about $18. After 10 days at $20 a day you've spent $200:

  • 12 sales = $16.67 per sale. Profitable, but thin. Keep it running and try new ads.
  • 18 sales = $11.11 per sale. Healthy. Consider raising the budget slowly.
  • 6 sales = $33.33 per sale. Losing money. Check tracking, then the offer and the product page, before spending more.

Step 5: Add retargeting once you have traffic

When your store gets a steady flow of visitors, add a second campaign for people who viewed products or added to cart but didn't buy. With the catalog synced, Meta can show them the exact items they looked at. Keep retargeting budgets small compared with your main campaign, since the audience is small. Our Meta retargeting guide for online stores covers the setup.

A chalkboard sign reading fresh cut flowers above tulips in a flower shop
A clear, simple message works in a shop window and in a feed.Photo: Ksenia Makagonova dearseymour · CC0, via Wikimedia Commons

Why Shopify and Meta numbers don't match

You will see different numbers in Shopify and in Ads Manager. That's normal, and knowing why stops you from making bad decisions.

  • Different attribution. Meta counts a purchase if someone bought within its attribution window after clicking or viewing an ad. Shopify reports usually credit the last source the customer came from.
  • Views count in Meta. Someone who saw your ad, didn't click, and bought later through Google may count as a Meta conversion.
  • Timing. Meta reports the purchase on the day of the ad interaction; Shopify on the day of the order.
  • Tracking gaps. Ad blockers, private browsing and consent choices hide some events.

A practical habit: compare Meta's reported purchases with Shopify's total orders over the same weeks. If Meta suddenly claims far more purchases than you received in total, look for duplicate tracking. If ads run and total orders don't move at all, be skeptical of what Meta reports.

Common "what if" situations

What if the app says your domain isn't verified? Verify your store's domain in your business portfolio's settings, in the Domains section. It's needed for some event settings and protects your link previews.

What if Meta rejects products from the catalog? Read the reason in Commerce Manager. Frequent causes are restricted categories, health claims in descriptions and missing information. Fix the product in Shopify and let it sync again.

What if purchases appear in Events Manager but not in Ads Manager? Check that your campaign optimizes for the right pixel/dataset and event, and that the attribution setting matches what you expect.

What if you sell on Shopify and also have a WooCommerce store? Use separate pixels/datasets per store if they're separate businesses, or at least separate catalogs. Our guide on Meta ads for WooCommerce covers the WordPress side.

How Meta Ads Copilot Max helps Shopify stores

Meta Ads Copilot Max is a Chrome tool (a Tampermonkey script plus a web app at adscopilotmax.com) built for exactly this workflow:

  • It detects products on Shopify pages. Open any product page in your store and a small bar appears: Product detected. Copilot reads the name, price, photos and description.
  • It writes the ad and does the math. Three versions of the ad, a suggested audience and budget, and the most a sale can cost based on your price and margin.
  • Claude builds it, paused. With the required Claude in Chrome extension, Claude clicks through Ads Manager in your browser and leaves the campaign paused until you approve. Nothing is published or spends money without your OK.
  • It watches the results. Copilot scores your campaigns from 0 to 100 and warns you about spend with no results or a cost per sale above your margin, including when purchases aren't being tracked.

You can try Copilot free for 7 days. Start your free 7-day trial to try it with your Shopify store.

Frequently asked questions

Is the Facebook & Instagram app for Shopify free?

Yes, the app itself is free to install on Shopify plans, subject to store eligibility. You pay Meta only for the ads you run. If you sell directly on Facebook or Instagram, check the current selling fees and tax rules in Shopify's help center.

Do I still need to paste the Meta pixel code into my Shopify theme?

No. The Facebook & Instagram app sets up the pixel and, at the Enhanced or Maximum data-sharing level, the Conversions API. Having both the app and old theme code can count purchases twice, so remove the old code.

Which data-sharing level should I choose on Shopify?

For stores running sales campaigns, Enhanced or Maximum, because they add the Conversions API so purchases are sent server to server and aren't lost to ad blockers. Make sure your privacy policy covers the customer data you share.

How much should a Shopify store spend on Meta ads to start?

Enough to get a meaningful number of sales in a week or two, and no more than you can afford to lose while you learn. Start from your break-even cost per sale: if one sale can cost up to $18, a budget of $15 to $25 a day gives you a readable result in about 10 days.

Why does Meta report more sales than Shopify?

Meta counts purchases within its attribution window, including some people who only viewed an ad, and reports them on the day of the ad interaction. Shopify credits orders differently. Big gaps usually mean duplicate tracking or very loose attribution, so compare totals over several weeks.

  • meta ads for shopify
  • shopify facebook ads
  • shopify meta pixel
  • conversions api shopify
  • shopify catalog

Try Meta Ads Copilot Max free for 7 days

Every feature, on your own store. Enter your email and we send you the key and the download link. Requires the Claude in Chrome extension.

We email you a 7-day trial key. No credit card, nothing to cancel.

Keep reading

All articles