Esta página aún no está traducida al español, así que la mostramos en 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.

Actualizado el

Items

Tus datos nunca salen de tu ordenador. Todo se procesa localmente en tu navegador.

Cómo 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.

También se busca 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.

Herramientas que combinan con: Ad Pixel Event Code Generator

  • Consent Mode Checker — Check a site’s cookie consent the way a regulator or an ad platform would.
  • Verificador de seguimiento y píxeles — Introduce una URL para encontrar todas las etiquetas de análisis, píxeles publicitarios y gestores de etiquetas de la página, junto con sus ID, lo que se ha cargado en Google Tag Manager, la herramienta de consentimiento de cookies y las etiquetas de verificación de Search Console y Bing.
  • 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?

Preguntas frecuentes

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.
¿Puedo instalar Ad Pixel Event Code Generator como aplicación web y utilizarla sin conexión?
Sí. Ad Pixel Event Code Generator es una aplicación web instalable (PWA): se instala desde el navegador, no se descarga desde una tienda de aplicaciones. Haz clic en «Instalar aplicación» en la parte superior de esta página en Chrome o Edge (Windows, macOS, Linux, ChromeOS) o, en Android, utiliza «Compartir» → «Añadir a la pantalla de inicio» en iPhone y iPad, o «Archivo» → «Añadir al Dock» en Safari 17+ en un Mac. A continuación, se abrirá en su propia ventana con su propio icono y, como se ejecuta íntegramente en tu navegador, seguirá funcionando sin conexión. Firefox en el ordenador de sobremesa no permite instalar aplicaciones web. Cómo funciona la instalación.

Herramientas relacionadas