Built for Shopify & WooCommerce · Tracking checked every 30 minutes.

Meta Conversions API setup for Shopify with KiteTrack, step by step

Abir Molla
Abir MollaNov 25, 2026 · 7 min read
Meta Conversions API setup for Shopify with KiteTrack, step by stepVideo · 8:45 · plays from YouTube

If Meta shows fewer sales than your Shopify admin, the Meta Conversions API is the fix: it sends each purchase to Meta from a server, not only from the shopper's browser. This guide is the Meta Conversions API setup for Shopify with KiteTrack, in the same order as the video above: connect Google Tag Manager, add a tracking subdomain, install the Shopify app, add your Pixel ID and token, import two ready-made files, and make a test purchase.

The whole setup takes about 9 minutes in the video. You don't write any code. For the full Shopify setup with Google Ads and GA4 too, see our KiteTrack setup guide for Shopify.

Not sure how many sales your store is losing today? Run the free Tracking Check first. It takes about two minutes.

Why Meta misses Shopify sales

The Meta Pixel runs in the shopper's browser. Ad blockers, privacy settings and pages that close too fast can stop it before the purchase reaches Meta. When that happens, Meta never hears about the sale, so your ads look worse than they are and Meta's bidding learns from fewer buyers.

The Conversions API adds a second path. Your own tracking server sends the same purchase to Meta directly. Meta recommends running both together, the Pixel and the Conversions API, and calls this a "redundant setup" (Meta for Developers, handling duplicate Pixel and Conversions API events).

If you want to compare Meta with your real orders before you start, our post on checking 10 Shopify orders against Meta and Google Ads shows how.

What you need before you start

  • A KiteTrack account and access to your Shopify admin.
  • A Google Tag Manager web container and server container. The video assumes both exist.
  • Access to the DNS settings where you bought your domain.
  • Meta Events Manager access with developer rights. Meta says the "Generate access token" link is only shown to users with developer privileges for the business (Meta for Developers, get started with the Conversions API).

Meta Conversions API setup in KiteTrack: the 8 steps

Step 1: connect Google Tag Manager (0:00)

On the KiteTrack dashboard, click Continue setup, choose E-commerce, then Shopify.

KiteTrack asks for two things from Tag Manager:

  • The container config from your server container. Open the server container and copy it from there.
  • Your web container ID. It looks like GTM-ABC1234.

Then pick a server location close to where most of your customers are, and click Connect. Creating the tracking server takes a moment.

Step 2: add your tracking subdomain (1:10)

This is the address your tracking server runs on. Use a short prefix on your own domain, such as sst.yourstore.com. Running it on your own domain is what makes it first-party for the browser.

Step 3: add two CNAME records (1:32)

KiteTrack shows two CNAME records. Add both in the DNS settings where you bought your domain, then click Check now. Verification can take a little while. When it passes, you'll see "subdomain verified".

Step 4: install the Shopify app (2:02)

Go to Install on your site. KiteTrack links you to the Stape Conversion Tracking app in the Shopify App Store. Install it and open it.

In the app:

  1. Paste your web container ID into the GTM Container ID field.
  2. Select Inject Web GTM.
  3. For Custom Domain, copy the loading path from KiteTrack and paste it.
  4. For Custom Loader, copy the container identifier from KiteTrack and paste it.
  5. Turn on Cookie Keeper and click Save.

Cookie Keeper helps keep your store's tracking cookies alive longer, so a returning buyer can still be matched to the ad they clicked.

The Inject GTM settings in the Shopify app: web container ID, custom domain, custom loader and Cookie Keeper ticked
The three values come from KiteTrack's Install on your site step.

Step 5: add the data layer and custom pixel (2:54)

Shopify's checkout and thank-you pages don't run your theme code. The purchase has to come from a custom pixel under Settings → Customer events.

  1. In the app's Data Layer tab, tick Add e-commerce Data Layer events, Add suffix to event names and Track checkout events.
  2. Copy the script it gives you.
  3. In Shopify, click Add custom pixel, give it a name and click Add pixel.
  4. Delete the default code and paste the script.
  5. Set the customer privacy options, click Save, then Connect.

In the video, Permission is set to Not required and Data sale to Does not qualify. Shopify describes "Not required" as the choice when you don't want the pixel to wait for customer permission (Shopify Help Center, managing custom pixels). If you sell in places where you need consent first, such as the EU or UK, check this setting against your privacy policy, and choose the consent option in Step 6.

Step 6: add your Meta Pixel ID and Conversions API token (3:49)

In KiteTrack, go to Tracking files, choose Meta and click Continue.

  • Pixel ID: open Meta Events Manager, go to Settings, and copy the dataset ID.
  • Conversions API token: in the same Settings tab, find the Conversions API section and click Generate access token. Meta lists these exact steps on its own page (Meta for Developers, get started with the Conversions API).
Meta Events Manager Settings tab with the dataset ID under Details
The dataset ID (your Pixel ID) is under Details in the Settings tab.
Meta dialog to select datasets, with the Generate access token button
Meta asks which datasets the token is for, then generates it. Copy it straight into KiteTrack.

Paste both and click Next. Treat the token like a password: don't share it in chat or email.

KiteTrack then asks about consent. The video picks No. If your store shows a cookie banner, pick Yes. Then click Generate my files and Download ZIP.

Can't find the ID or the token? Our guide on finding your Meta Pixel ID and Conversions API token has the screens.

Step 7: import both files into Tag Manager (4:44)

The ZIP has two files, one for each container.

Web container: open Admin → Import container, choose the web file, select the Default Workspace, choose Merge, and click Add to workspace.

Server container: do the same with the server file.

Google explains the difference: Overwrite removes your existing tags, triggers and variables, while Merge keeps them and lets you choose to overwrite or rename the ones that clash (Tag Manager Help, container export and import). Merge is the safe choice if your containers already have tags.

Then click Submit and Publish in the server container, and again in the web container (5:54).

The web file includes the Meta Pixel and the server file sends the same events through the Conversions API, each pair with the same event ID. That's how Meta knows it's one purchase, not two. Our Meta deduplication guide explains it.

Step 8: make a test purchase (6:15)

Back in KiteTrack, Connected accounts is optional. Adding your Meta Business ID there gives your dashboard more detailed data, and the steps are shown on screen.

For the Test purchase:

  1. In the server container, open Admin → Container settings, paste your tracking server URL from KiteTrack's Tracking domain page into Add server URL, and save.
  2. Click Preview in the server container. Preview in the web container is optional.
  3. Buy a product on your store and finish the checkout.

In the video, KiteTrack's Test purchase step showed the setup as complete as soon as the order went through, and tracking turned active in the overview (7:30).

KiteTrack overview saying Setup complete and Meta is healthy, with the tracking server connected to Meta
After the test order: setup complete, and Meta is healthy.

What you'll see in the KiteTrack dashboard

After the test purchase, the dashboard shows (7:48):

  • Event Match Quality, Meta's score for how well your events can be matched to Meta accounts. Our Event Match Quality guide explains what moves it.
  • The purchase and its value.
  • Each event and its delivery to Meta: page views, view item, begin checkout, add payment info and purchase.
KiteTrack purchase funnel and live events, each event marked Delivered to Meta
Live events, each with its delivery status to Meta.

KiteTrack keeps checking every 30 minutes. If purchases stop reaching Meta, you get an alert, instead of finding out from a bad week of ads.

Common mistakes

  • Two Meta setups at once. If Shopify's own Facebook & Instagram app also sends purchases, Meta can get the same sale from two places. Our full Shopify Conversion API guide covers which one to keep.
  • Choosing Overwrite in the import. It removes your existing tags. Choose Merge.
  • Forgetting to publish. Imported files do nothing until you click Submit and Publish in both containers.
  • Stopping before the test purchase. A real order is the only proof the whole path works.

FAQ

How long does the Meta Conversions API setup take?

About 9 minutes in the video. DNS verification can take longer, depending on your domain provider.

Do I still need the Meta Pixel?

Yes. Meta recommends running the Pixel and the Conversions API together, with deduplication so each sale counts once.

Where do I find the Conversions API access token?

In Meta Events Manager, choose your pixel, open Settings, find the Conversions API section and click Generate access token. You need developer rights to see the link.

Will this make Meta match my Shopify orders exactly?

No. Meta and Shopify count sales differently, so some gap is normal. Our post on why Meta purchases don't match Shopify explains which gap is normal.

Do I need to know Google Tag Manager?

Only enough to import two files and click Publish. KiteTrack generates the tags.

Where KiteTrack fits

KiteTrack sets up the Meta Conversions API for your store from a tracking server on your own subdomain, then checks every 30 minutes that purchases still reach Meta. See Meta Conversions API for Shopify or start with the free Tracking Check. If you get stuck at any step, email support@kitetrack.io and we'll help you finish.

Sources

Get tracking tips by email

Short, practical fixes for Meta, Google Ads and GA4, from Abir.

You’re in. First tip lands soon.

Abir Molla
Written by Abir Molla

Tracking specialist. He builds and runs KiteTrack, and explains tracking on YouTube.

Keep reading

Let your ads see every sale.

30-day money-back guarantee · free migration · cancel any time