Log in
Log in
ANAPixelsAttributionAnalyticsAds
Z1
AI Storefront Builder
All products
WorkServicesPricingAbout
Get in Touch

Pixels

/

3 min read

Set Up Meta (Facebook) Pixel & Conversions API (CAPI)

Install and configure the Meta Pixel and Conversions API (CAPI) on your Shopify store using Zalify for accurate conversion tracking.

Why Use Meta Pixel?

The Meta Pixel tracks visitor actions on your store and sends that data to Meta (Facebook & Instagram) for:

  • Conversion tracking — See which ads drive sales
  • Audience building — Create retargeting and lookalike audiences
  • Ad optimization — Let Meta's algorithm find your best customers

Prerequisites

Before setting up the Meta Pixel with Zalify, make sure you have:

  • A Meta Business Manager account
  • A Meta Pixel ID (found in Events Manager)
  • Zalify installed on your Shopify store

Setup Steps

1

Find your Meta Pixel ID

  1. Go to Meta Events Manager
  2. In the left sidebar, open Overview, then find your Pixel or dataset in the Datasets table
  3. Under the dataset name, copy the value labeled ID — that is your Pixel ID (usually 15–16 digits)

Pixel or dataset ID shown under the name in the Datasets list on Events Manager Overview

2

Add the Pixel in Zalify

  1. Open your Zalify Dashboard
  2. Navigate to Pixels → Meta Pixel
  3. Click Add Pixel
  4. Paste your Pixel ID into the Meta Pixel ID field
  5. Turn on the Enabled toggle
  6. Click Save
3

Configure events

Zalify automatically tracks the following standard events:

EventWhen it fires
PageViewEvery page load
ViewContentProduct page viewed
AddToCartItem added to cart
InitiateCheckoutCheckout started
PurchaseOrder completed

No additional configuration is needed for standard events.

4

Verify the pixel

Use the Meta Pixel Helper Chrome extension to verify events are firing correctly on your store.

Advanced: Conversions API

For improved tracking accuracy (especially with iOS 14+ privacy changes), Zalify supports the Meta Conversions API (CAPI) alongside the browser pixel.

Recommended

Enabling both browser Pixel and Conversions API gives you the most accurate conversion data. Zalify handles deduplication automatically.

Generate an access token in Meta:

  1. In Events Manager, open the dataset for your Pixel
  2. Open the Settings tab and find the Conversions API section
  3. Under Set up direct integration, keep the recommended option selected, then click Generate access token and copy the token

Conversions API on the Settings tab in Events Manager — use Generate access token to get your Access Token

Enable CAPI in Zalify:

  1. Go to Zalify Dashboard → Pixels → Meta Pixel
  2. Click Add Pixel (or edit your existing Meta pixel)
  3. Paste the token from the step above into the Meta Conversion API: Access Token field
  4. Click Save

Paid plan required

Server-side tracking through the Conversions API requires a paid Zalify plan.

Troubleshooting

  • Pixel not firing? Check the troubleshooting guide
  • Duplicate events? Make sure you don't have another app or theme code also firing Meta Pixel events
  • Low match quality? Enable Conversions API for server-side event matching

Previous

How to cleanly remove legacy third-party Pixels code

Next

Set Up Google Ads Conversion Tracking & Enhanced Conversions