Esta página ainda não foi traduzida para o português, por isso aparece em inglês.

Meta Conversions API Request Generator — Server-Side Events

Send conversions to Meta from your server. Choose the event, fill in value and items, and get a ready Conversions API request with SHA-256 hashed customer data, IP, user agent, _fbp/_fbc and an event ID that deduplicates it against the browser pixel.

Atualizado em

Items

Seus dados nunca saem do seu computador. Todo o processamento acontece localmente no navegador.

Como usar: Meta Conversions API Generator

  1. Enter your pixel ID; create an access token in Events Manager → Settings → Conversions API.
  2. Pick the event and parameters, and a test customer email to see the hashing.
  3. Add the test event code to see it in Test events.
  4. Copy the Node.js, curl, PHP or Python request; send the same event ID from the browser pixel.

Why send events from the server?

Browser pixels miss conversions blocked by ad blockers, browsers and lost cookies. The Conversions API sends them from your server, matched by hashed email, phone, IP and the _fbp cookie. Most setups send both and let Meta deduplicate with the shared event_id. Keep the access token server-side only.

Também pesquisado como: meta conversions api, facebook conversions api example, capi request, meta capi node, conversions api curl, facebook server side tracking, graph api events.

Ferramentas que combinam com: Meta Conversions API Generator

  • Ad Pixel Event Code Generator — Pick a platform — Meta Pixel, Meta Conversions API, TikTok Pixel, LinkedIn Insight Tag or Pinterest Tag — choose a standard event like Lead, Purchase or CompletePayment, fill in the value, currency and items, and copy code that fires right away or on a click or form submit.
  • Meta Pixel Event Generator — Build Meta Pixel event code — fbq('track', 'Purchase', …) — for Lead, Purchase, AddToCart, CompleteRegistration and every other standard event, with value, currency and contents, an event ID for deduplication, and an optional click or form-submit trigger.
  • GA4 Measurement Protocol Generator — Send server-side events to Google Analytics 4.
  • cURL to Code — Paste a curl command — from API docs or “Copy as cURL” in your browser’s DevTools — and get ready-to-run code for six languages, with headers, body and authentication carried over.

Perguntas frequentes

How does Meta deduplicate pixel and server events?
By event_name plus event_id (eventID in the pixel). Send the same pair from both within 48 hours and Meta keeps one.
Which API version should I use?
The latest Graph API version listed in Meta’s changelog — older versions stop working about two years after release. Change the version field to match.
What does action_source mean?
Where the conversion happened: website for online orders, physical_store for in-store sales, system_generated for things like renewals.
Posso instalar o Meta Conversions API Generator como um aplicativo da web e usá-lo offline?
Sim. O Meta Conversions API Generator é um aplicativo da web instalável (PWA) — instalado a partir do seu navegador, não baixado de uma loja de aplicativos. Clique em “Instalar aplicativo” na parte superior desta página no Chrome ou no Edge (Windows, macOS, Linux, ChromeOS) ou, no Android, use “Compartilhar” → “Adicionar à tela inicial” no iPhone e no iPad, ou “Arquivo” → “Adicionar ao Dock” no Safari 17+ em um Mac. Em seguida, ela se abre em uma janela própria com seu próprio ícone e, como é executada inteiramente no seu navegador, continua funcionando offline. O Firefox no desktop não permite a instalação de aplicativos da web. Como funciona a instalação.

Ferramentas relacionadas