Guide / Step 9 of 11 · 5 min

Connect Meta Pixel

If you advertise on Facebook or Instagram, Meta Pixel measures who visits your shop, what they view and what they buy, and shows your ad results. No code: you copy one ID from Meta and paste it in.

Enter your Pixel ID

  1. Sign in to business.facebook.com/events_manager with your Meta Business account.
  2. Choose Data sources, Connect data, Web and create a new Dataset (Pixel).
  3. Copy the 15 to 16-digit Dataset ID that appears.
  4. In the console, open Settings, Marketing, Meta Pixel / Conversions API, paste it into the Pixel ID field and save.

From then on page views, product views, searches, add-to-cart, checkout starts and purchases are sent to Meta automatically.

Conversions API (optional)

  1. In Events Manager, open that Dataset, Settings, Conversions API and click Generate access token.
  2. Enter the token in the CAPI Access Token field, turn on Enable CAPI and save.

Purchases are then also sent from the server, so less is lost to ad blockers and iOS restrictions. The token is never shown on screen again; to change it, enter a new one.

Checking it works

  1. Copy your Test Event Code from the Test events tab in Events Manager and enter it temporarily in the console's Test Event Code field.
  2. Open your shop and view a product, and the events appear in Test events right away.
  3. When you are done, clear the Test Event Code and save.