Meta Pixel Website Integration
Connect eligible website actions to Meta ads measurement and improve the quality of conversion signals used by campaigns.

Where Meta Pixel fits
Connect eligible website actions to Meta ads measurement and improve the quality of conversion signals used by campaigns.
Connect it to your website
Choose a platform-supported partner integration for Shopify when suitable, or manage browser events through the Pixel or GTM on Webflow and custom sites. A backend can send events through Conversions API when the consent and data-handling design allows it.
A practical implementation
For an ecommerce campaign, fire Purchase only on successful orders and pass the allowed value and currency. When the same event travels through both Pixel and Conversions API, use a matching event ID and event name for deduplication.
What to check before launch
Shopify storefront, checkout and confirmation pages can have different event access. Test in Meta Events Manager with a representative purchase. A server-side implementation still requires consent and policy decisions about which data to send.
Define conversion events and a single source of truth
For a B2B site, send Lead after the accepted enquiry rather than on every CTA click. For a store, send Purchase after the successful order and include the permitted value and currency. Prefer supported partner integrations on hosted commerce platforms. Inventory existing pixels, GTM tags and app-managed tracking so the same action is not emitted twice.
Combine Pixel and Conversions API responsibly
When the same eligible event is sent from the browser and server, coordinate the event name and event ID so Meta can deduplicate it. Decide which data the server may send under the site's consent and privacy requirements; server-side delivery is not a way to bypass the visitor's choices. Use Events Manager test events and diagnostics to check the event flow, and reconcile reported conversions against actual orders or CRM leads.
Frequently asked questions
Why do Ads Manager and GA4 disagree?
Their attribution models, consent coverage and reporting windows can differ. Use the underlying orders as the operational count.
Meta Pixel official documentation
What should we test when a consent category changes?
Confirm whether the browser tag and any server-side sender apply the change consistently. Use eligible test events to verify that behavior.
Does Conversions API eliminate the need for consent?
No. Server-side event delivery still needs to respect applicable privacy requirements and the business's approved data-handling policy.