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

Ad Pixel Event Code Generator — Meta, TikTok, LinkedIn and Pinterest

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. Add an event ID to deduplicate browser and server events.

Atualizado em

Items

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

Como usar: Ad Pixel Event Code Generator

  1. Choose the platform: Meta Pixel, Meta Conversions API (server), TikTok, LinkedIn or Pinterest.
  2. Pick a standard event — or a custom one — and fill in value, currency and other parameters; shopping events get an Items list.
  3. Add an event ID if you also send the event from your server, so the platform counts it once.
  4. Choose when it fires — right away, on a click or on a form submit — and copy the code. For the Conversions API, copy the server request and keep the token secret.

Standard events per platform

  • Meta Pixel — fbq('track', 'Lead'), Purchase, AddToCart, CompleteRegistration and the other standard events Meta optimizes ads for, with value, currency, content_ids and contents; anything else is trackCustom. The event ID goes in the fourth argument as eventID.
  • Meta Conversions API — the same event sent from your server to the Graph API, with user_data hashed with SHA-256 (email lowercased, phone digits only), the visitor’s IP, user agent and _fbp/_fbc cookies. The email you type here is hashed in your browser to show the format.
  • TikTok Pixel — ttq.track('CompletePayment'), SubmitForm, AddToCart… with contents, value and currency; the event ID is the third argument.
  • LinkedIn Insight Tag — lintrk('track', { conversion_id }) for a conversion you created in Campaign Manager.
  • Pinterest Tag — pintrk('track', 'checkout'), lead, signup, addtocart… with line_items and event_id in the data.

All of them need the platform’s base code on the page first, and — in the EU and UK — the visitor’s consent; load them through the Cookie Consent Banner Generator. Track the same action in Google Analytics with the GA4 Event Code Generator, or tag every button at once with the Event Tracking Script.

Também pesquisado como: pixel event code generator, meta pixel event code, facebook pixel event generator, meta conversions api example, tiktok pixel event code, linkedin conversion tracking code, pinterest tag event code, fbq track purchase.

Ferramentas que combinam com: Ad Pixel Event Code Generator

  • Consent Mode Checker — Check a site’s cookie consent the way a regulator or an ad platform would.
  • Tracking & Pixel Checker — Enter a URL to find every analytics tag, ad pixel and tag manager on the page — with their IDs, what’s loaded inside Google Tag Manager, the cookie consent tool, and Search Console / Bing verification tags.
  • UTM Builder — Add utm_source, utm_medium, utm_campaign and friends to any link, see which GA4 channel the visit will land in, and tag a whole list of URLs at once.
  • A/B Test Significance Calculator — Did version B really win, or was it luck?

Perguntas frequentes

How do I track a purchase with the Meta Pixel?
Call fbq('track', 'Purchase', { value: 49.99, currency: 'USD' }) on the order confirmation page, after the base code. Choose Purchase here, fill in the value and items, and copy the code.
What is an event ID for?
When the same conversion is sent from the browser pixel and from your server (Conversions API or TikTok Events API), the platform uses a matching event ID to count it once. Use something unique like the order ID.
Do I need to hash emails for the Conversions API?
Yes. Meta requires email, phone and other customer details hashed with SHA-256 after normalizing — lowercase and trimmed for emails, digits with country code for phone numbers.
Where do I find my LinkedIn conversion ID?
In Campaign Manager go to Analyze → Conversion tracking, open the conversion and choose the event-specific JavaScript option; the number in the code is the conversion ID.
Posso instalar o Ad Pixel Event Code Generator como um aplicativo da web e usá-lo offline?
Sim. O Ad Pixel Event Code 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