How to create and install my Facebook Pixel?

Use the Meta data source intended for this shop. Do not confuse its ID with the business portfolio ID or catalog ID.

Prepare the source in Meta

In Events Manager, select your web data source or create it using the official Meta Pixel setup instructions. Available options depend on your account and permissions. Obtain the Pixel ID associated with the source; the module provides its own integration, so do not also paste a second Pixel code into the theme.

Configure the module

  1. Open Facebook Pixel → Pixel code.
  2. Enter Facebook Pixel ID and enable Activate Pixel? to use tracking.
  3. Enter the Business Manager ID in its separate field if needed; see where to find it.
  4. Save, reload and verify the values. Configure consent before testing the storefront.

Connect tracking to the catalog

In Commerce Manager, select the correct catalog and connect the event source matching the shop's Pixel. The official catalog creation guide allows this connection during creation or later. The content_ids sent must match item IDs in the catalog; see ID construction modes.

Finish with browser tests and reception checks. Having the ID in the module alone does not prove that Meta receives events.

The retained earlier illustrations below show examples and navigation landmarks. Names, dates and layouts may differ in your version; follow the checks described in the text.

Previous illustration: How to create and install my Facebook Pixel?
Previous illustration: How to create and install my Facebook Pixel?
Pixel ID and activation, with a separate Business Manager ID

Other FAQs in this category