Home › Integrations › Meta Conversions API

Meta Conversions API for Shopify.

To set up Meta Conversions API on Shopify, install the Tagbreeze tag, then connect Meta: 3 steps, a few minutes, two snippets to paste.

01

Set it up

  1. Add your store in Tagbreeze and paste the theme line given by the Install screen in your theme.
  2. In Shopify, open Settings, Customer events, and add the custom pixel given by the Install screen.
  3. Open Destinations, sign in with Facebook and pick the dataset (the pixel). No access token to copy.

Check it works. Press "Send a test" and watch the event arrive in Meta Events Manager.

02

What reaches Meta

Each purchase and lead reaches Meta twice, from the browser pixel and from the Conversions API, with the same event ID, and Meta counts it once. E-mail and phone are hashed on the visitor’s device before they are sent.

The custom pixel is what captures checkout and purchase, because a theme cannot run code on Shopify’s checkout.

03

Event by event

On Shopify, Tagbreeze reads 7 moments of a visit. All of them reach Meta, under the names it expects.

On your siteRead byIn Meta
A product page is openedThe theme line, on the product pageViewContent
A product is added to the cartThe theme line, on the add-to-cart formAddToCart
Checkout startsThe custom pixel, on Shopify’s checkoutInitiateCheckout
Payment details are enteredThe custom pixel, on Shopify’s checkoutAddPaymentInfo
An order is placedThe custom pixel, when checkout completesPurchase
A form is sentThe theme line, when the form is sentLead
A phone, e-mail or WhatsApp link is clickedThe theme line, on the clickContact

04

What to know

Server delivery follows consent exactly like the browser: when a visitor refuses, nothing is sent by either road.

More: Meta Conversions API · Shopify · Server-side tracking · Pricing

Questions

Before you ask.

Why two pieces on Shopify?

A theme cannot run code on Shopify’s checkout. The theme line covers the storefront; the custom pixel, added under Settings, Customer events, covers checkout, payment and the order.

Do I need Shopify Plus?

No. Custom pixels under Customer events are available on every Shopify plan.

Do I need a developer?

No. Each step is done from an admin screen, without code.

Will Meta count the sale twice?

No. The browser event and the server event carry the same event ID, which Meta uses to keep one copy.

I already have Meta on the site. Will it clash?

When the same Meta ID is already on the page, Tagbreeze leaves the browser side to it, so nothing is counted twice.

Know what your ads really bring in.

It takes a few minutes. Nothing is changed on your site until you install the tag.

Add your site
Hands on a laptop beside parcels ready to ship