Magento 2 Google Tag ManagerMagento 2 Google Tag Manager
Live Demo
Buy Now
Support
Live Demo
Buy Now
Support
  • Getting Started

    • Introduction
    • Requirements
    • Installation
    • Activate & Connect
  • Configuration

    • Overview
    • General Settings
    • Shopper Actions to Track
    • Tracking Data Tuning
    • Consent & PII (GDPR / CCPA)
    • Developer
  • Destinations & Export

    • Overview (Guided Setup)
    • Google Analytics 4
    • Google Ads
    • Meta Pixel
    • Container Export
  • Events & dataLayer

    • Overview
    • Category & Search
    • Product
    • Cart & Checkout
  • Server-Side Tagging (sGTM)

    • Overview
  • How-To (find your IDs)

    • GTM Container ID
    • GTM Account ID
    • GA4 Measurement ID
    • Google Ads Conversion ID & Label
    • Meta Pixel ID
    • Validate the Installation
    • Verify Events (GTM Debug)
  • Help

    • Troubleshooting
    • FAQ

How to create a Meta Pixel & find your Pixel ID

Your Meta Pixel ID (also called a Dataset ID) is a numeric value entered in the Meta Pixel destination. If you have not created a pixel / dataset yet, follow the walkthrough below.

Create a Meta Pixel (dataset) in Events Manager

  1. Sign in to your Meta Business account and open Events Manager.

Meta Events Manager home

  1. Click Connect Data and choose Web as the data source.

Connect a Web data source

  1. Click Create new dataset and give it a name.

Create a new dataset

  1. On the Recommended setup window, choose Set up manually and click Next.

Recommended setup — set up manually

  1. Choose Meta Pixel only as the connection method and click Next.

Choose Meta Pixel only

  1. Review the Automatic Advanced Matching settings (optional) and click Done.

Automatic Advanced Matching

  1. Open the Settings tab of the created dataset. The Dataset ID (Pixel ID) — a numeric value — is shown under Details.

Find the Meta Pixel / Dataset ID

Find the Pixel ID again later

  1. Go to business.facebook.com/events_manager and open Events Manager.
  2. In Data Sources, select your pixel.
  3. Open Settings — the Pixel ID (a numeric value) is shown near the top.

Where it goes

Paste it into Destinations → Meta Pixel → Meta Pixel ID, then save. On container export, it is wired into the Meta Pixel base and event tags.

Verify it is firing

  • Install the Meta Pixel Helper Chrome extension and browse your storefront — it lists the events firing and the Pixel ID they report to.
  • Or use Events Manager → your pixel → Test Events and perform actions on the store.

See Verify events for the full check.

Prev
Google Ads Conversion ID & Label
Next
Validate the Installation