Skip to content

Integrations

Meta Pixel (Facebook) integration

Setup time (hours)
2
Pricing
Free (customer pays in ad budget)

In depth

Meta Pixel (also known as the Facebook Pixel) — JavaScript snippet added to a website to optimise Facebook/Instagram ad campaigns. It tracks user actions (page view, add to cart, purchase, lead) and feeds them back to Meta's ads platform — then the ad bidding ML optimises against real business outcomes (purchases) rather than clicks alone.

Functional pillars: (1) Conversion Tracking — auto-detect standard events (PageView, ViewContent, AddToCart, InitiateCheckout, Purchase, Lead, CompleteRegistration); custom events via separate JavaScript calls; (2) Custom Audiences — "users who viewed product X but didn't buy in 7 days" → retargeting ad; (3) Lookalike Audiences — Meta's ML finds users similar to your converters; (4) Dynamic Ads — automatic product carousels for e-commerce sites; (5) Aggregated Event Measurement (AEM) — iOS 14+ post-ATT framework, 8 prioritised events/domain.

iOS 14+ + ATT (App Tracking Transparency) impact: from April 2021 Apple required an app tracking permission prompt — 70%+ users opt out. Meta ad attribution accuracy dropped by 30-40%. Mitigation: (1) Conversions API (CAPI) — server-side event sending, not blocked by browser ITP/iOS; (2) Aggregated Event Measurement (AEM) — pixel works but only 8 events/domain are prioritised; (3) First-party data combining (email, phone hash). Craftwebstudio's 2026 recommendation — Pixel + CAPI dual setup recovers 60-80% of iOS attribution.

GDPR + ePrivacy compliance: EU users require cookie consent before the Pixel can fire. Implementation: Cookiebot, OneTrust or Cookie Consent Solution + Pixel code loaded after consent. Google Consent Mode v2 + Meta Consent Mode together — for proper compliance. For Georgian businesses (no GDPR jurisdiction) — a soft consent banner is sufficient. Pixel itself is free — you pay only via ad budget.

Why choose this

  • Mandatory for Facebook/Instagram ad campaigns
  • Custom + Lookalike Audiences for scaling
  • Dynamic Ads — automatic product carousel for e-commerce
  • Combine Pixel + CAPI to recover iOS attribution
  • Free (you only pay in ad budget)

Use cases

  • Facebook/Instagram ad campaigns
  • Custom audiences retargeting
  • Lookalike audiences

Setup steps

  1. 1Set up Meta Business Manager + ad account
  2. 2Create the Pixel in Events Manager
  3. 3Embed the Pixel base code in <head> (or via GTM)
  4. 4Configure triggers for standard events (Purchase, Lead)
  5. 5Set up Conversions API (CAPI) server-side for iOS attribution

Frequently asked questions

What is the difference between Meta Pixel and CAPI?

Pixel is client-side (browser); CAPI is server-side. iOS 14+/Safari ITP blocks Pixel, but CAPI keeps working. Best practice — use both together for dual tracking.

How many events does Meta Pixel have?

17 standard events (PageView, ViewContent, AddToCart, Purchase, Lead, etc.) + unlimited custom events. On iOS 14+: 8 prioritised events per domain (AEM).

If I'm under GDPR, can I still use the Pixel?

Yes, but explicit user consent is required (cookie banner). The Pixel code must load only after consent. See Cookiebot or OneTrust integration patterns.

More integrations

Related services

Ready for a free consultation?

Get in touch — we reply within 24 hours with a scoped project estimate.

Now PlayingCraftwebstudio Mix