How to Set Up the Meta Pixel and Track Conversions

Install the Meta Pixel correctly and track the events that actually improve Facebook and Instagram ad performance.

Leo Daniel RajaIntermediate8 min readPublished 2026 Jul 12

Getting Meta Pixel setup right matters because Meta's ad algorithm needs accurate signal to find people likely to convert. A missing or misconfigured pixel is one of the most common reasons Facebook/Instagram campaigns underperform relative to spend.

Step 1: Create the Pixel in Events Manager

In Meta Events Manager, create a new Pixel, name it clearly (one pixel per business, not per campaign), and grab the Pixel ID.

Step 2: Install via Google Tag Manager

As with most tracking pixels, install through GTM rather than pasting the base code directly into your site. It's easier to manage and audit later. Add the Meta Pixel base code as a Custom HTML tag, firing on all pages.

Step 3: Set Up Standard Events, Not Just Base Tracking

This step is where most incomplete Meta Pixel setup work stops short, base tracking alone misses the events that actually matter.

The base pixel only tracks page views. Add Meta's standard events for the actions that matter:

  • ViewContent, product/service page views
  • AddToCart, for e-commerce
  • InitiateCheckout
  • Purchase, with value and currency parameters, always
  • Lead, for form submissions on service businesses

Step 4: Add the Conversions API, Not Just the Browser Pixel

Browser-based tracking alone increasingly misses events due to ad blockers, iOS privacy restrictions, and cookie consent choices. Meta's Conversions API sends the same events server-side, which recovers a meaningful share of lost data. Most e-commerce platforms (Shopify, WooCommerce) have a built-in or plugin-based CAPI integration, use it rather than skipping this step.

Step 5: Verify Every Event Before Trusting It

Verification is the step that separates a working Meta Pixel setup from one that only looks correct.

Use the Meta Pixel Helper browser extension and the Test Events tab in Events Manager to fire each event manually and confirm the correct parameters (especially value and currency on Purchase) are being sent.

Step 6: Build Custom Conversions or Use Standard Events

Once verified, select the correct event as your campaign's optimization goal, usually Purchase or Lead for bottom-funnel campaigns, ViewContent only for early-stage retargeting audience building.

Getting Meta Pixel Setup Right, End to End

Correct Meta Pixel setup means the base pixel, standard events, and Conversions API are all firing and verified, not just one of the three.

Frequently Asked Questions

The most common causes are: the event fires before the page fully loads, ad blockers preventing the browser pixel from firing, or the event isn't set up server-side via Conversions API to catch what the browser pixel misses.

L

Leo Daniel Raja

Writes about SEO, paid media and growth strategy, from real e-commerce growth experience.

Founder · LinkedInView profile