Voltar pro blog
analytics

How to configure Meta Pixel + Google Analytics 4

LimãoPay has serverside Conversions API ready — no JS in the browser, no ad blockers. 1. Go to Settings → Integrations 2. Meta Pixel: paste Pixel ID + Access To…

Equipe LimãoPayOctober 20, 20182 min read

Quick answer

LimãoPay has server-side Conversions API ready — no JS in the browser, no ad blockers.

  1. Go to Settings → Integrations
  2. Meta Pixel: paste Pixel ID + Access Token (generated in business.facebook.com)
  3. GA4: paste Measurement ID + API Secret (generated in analytics.google.com → Admin → Data Streams → Measurement Protocol)
  4. Save → events fire from the server automatically

Events that fire

EventWhen
PageViewVisitor lands on the page
ViewContentVisitor sees the product
InitiateCheckoutClicks "Buy"
AddPaymentInfoFills payment data
PurchasePayment confirmed

Why server-side is better

  • Not blocked by iOS 14.5+ ATT, Brave, ad blockers
  • More reliable than client-side pixel (up to 30% of conversions vanish in JS pixel)
  • Accurate attribution — Facebook/Google know which ad converted

Where to find your credentials

Meta

  • Pixel ID: business.facebook.com → Events → Settings → Pixel ID
  • Access Token: business.facebook.com → System Users → "Generate Token" with ads_management permission

GA4

  • Measurement ID: analytics.google.com → Admin → Data Streams → your site → starts with G-
  • API Secret: same screen, scroll to "Measurement Protocol API Secrets" → Create

Common errors

  • "Events don't show in Meta" → Wait 5-10min (normal delay). If still nothing, validate the Access Token.
  • "GA4 Auth error" → API Secret is wrong or expired. Regenerate.
  • "Duplicate purchase in funnel" → Seller also configured the old JS pixel. Remove the JS, keep only server-side.

Expected result

Within 24h, you see events arriving in both platforms. You can run campaigns optimized for Purchase directly, no data loss.

Comece a vender hoje

Crie sua página de vendas com IA, configure o pagamento e comece a faturar. Zero pra começar.