Why the pixel matters
Meta Ads optimisation relies on conversion data. Without a properly configured pixel, Meta does not know which clicks became leads or sales, so it cannot find more people like your converters. Running conversion campaigns without a pixel is like driving with your eyes closed.
Installation methods
- Manual code: Paste the base pixel code in the <head> of every page. Best for custom-coded websites.
- Google Tag Manager: Add the pixel as a custom HTML tag. Easier to manage events without editing code.
- Platform integration: Shopify, WordPress (via PixelYourSite), Wix and most Indian platforms have one-click pixel integration.
Essential events to track
- PageView: Fires on every page load (automatic with base pixel).
- Lead: Fires when someone submits a contact or enquiry form.
- Purchase: Fires on the thank-you page after payment, with value and currency parameters.
- AddToCart: For e-commerce — fires when a product is added to cart.
- ViewContent: Fires on product or service pages.
Conversions API (CAPI)
Browser-side pixel tracking is increasingly blocked by ad blockers and iOS privacy changes. The Conversions API sends event data directly from your server to Meta, bypassing browser restrictions. Set up both pixel and CAPI for the most accurate tracking — this is called redundant setup, and Meta deduplicates automatically.
Testing your setup
Use the Meta Events Manager Test Events tool. Browse your website and check that events fire correctly with the right parameters. Common issues: events not firing on thank-you pages, purchase events missing the value parameter, or duplicate events inflating conversion counts.