Skip to main content
If you run ads on Facebook or Instagram, Meta Pixel tells you what people do after they click your ad: which products they look at, what they add to the cart and what they buy. Meta uses this to show your ads to the right people. In this guide, you’ll learn how to connect your Meta Pixel to your store.

What you get

  • Page views across your store, including searches.
  • Shopping events: ViewContent, AddToCart, InitiateCheckout and Purchase, with the order value.
  • Product variant IDs with each event, ready to match a Meta product catalog.
  • Privacy-friendly tracking: visitors in the EEA, the UK and Switzerland, and visitors whose country is unknown, aren’t tracked.
  • No slowdown: Meta’s script loads only after your store’s page has finished loading.

Before you start

You need a Meta Pixel in Meta Events Manager. If you don’t have one, create it there with Connect data → Web.

Connect Meta Pixel

Step 1 — Copy your Pixel ID

  1. Open Meta Events Manager.
  2. Go to Data sources and click your pixel.
  3. Copy the pixel’s ID. It’s the 15 or 16 digit number under the pixel’s name.

Step 2 — Paste it in Commert

  1. In Commert Admin, go to Settings → Integrations.
  2. On Meta Pixel, click Connect. The setup panel opens.
Meta Pixel setup panel
  1. Paste the ID into the Pixel ID field.
  2. Click Connect.
Pixel ID pasted in the setup panel

Step 3 — You’re connected

The panel shows Done with your Pixel ID, and the status changes to Connected. Meta Pixel setup panel showing Done

Check that it works

  1. Open your store in a new browser tab.
  2. In Meta Events Manager, open your pixel and go to Test events.
  3. A PageView event shows up within a couple of minutes.
In your pixel’s Settings in Events Manager, keep Automatic advanced matching off. Your store sends only the events listed above.

View or change the connection

In Settings → Integrations, click Manage on Meta Pixel. The page shows when you connected it and your saved Pixel ID. Meta Pixel integration page
  • To use another pixel, click the ⋯ button at the top right of the first card, click Update credentials, enter the new ID and click Save.
  • To disconnect, click the ⋯ button and click Disconnect. Your store stops sending data within a minute.

Frequently asked questions

No. Meta’s script loads only after your store’s page has finished loading.
PageView, Search, ViewContent, AddToCart, InitiateCheckout and Purchase. Product IDs are your variant IDs, and values are before tax and shipping.
Visitors in the EEA, the UK and Switzerland haven’t agreed to advertising cookies, so the pixel doesn’t track them. Visitors whose country is unknown aren’t tracked either, in case they are in one of these places.
Not yet. Each store connects one pixel.

Next steps