Cómo crear y configurar el píxel de Facebook

El píxel de Facebook es una herramienta web que te permite rastrear el comportamiento de los usuarios en tu sitio web, analizar sus acciones específicas y crear audiencias que se ajusten al máximo a tu campaña publicitaria.
Añadir un ID de píxel en la configuración del sitio o en el código HTML de FB Pixel
Seguir leyendo
Envío de eventos web desde el servidor Tilda tras el envío de un formulario o carrito
Seguir leyendo
1
Ve a Administrador de anuncios de Facebook → Menú → Medir e informar → Píxeles.
In Facebook Ads Manager menu: "Pixels" under the "Measure & Report" section.
2
In Facebook Events Manager: the "Create a Pixel" button at the bottom of the page.
Haga clic en Crear un píxel.
3
Elija un nombre y haga clic en Crear.
In Facebook Events Manager: the "Create" button in the bottom right corner of the "Create a Facebook Pixel" pop-up window.
4
Seleccione "Instalar manualmente el código usted mismo".
In the Facebook Events Manager modal "Install Your Pixel Code": the "Manually Install the Code Yourself" option.
5
Copie el código del segundo elemento de la lista.
In Facebook Events Manager, the "Install Pixel Code" window with the pixel code block to copy and the "Continue" button at the bottom.
En Tilda, vaya a Ajustes del sitio → Más → Código HTML para la sección del encabezado → Editar código.
In Site Settings > "Insert code": the "Edit code" button under "HTML CODE FOR THE HEAD SECTION".
Pega el código que has copiado antes, haz clic en Guardar y vuelve a publicar todas las páginas.
Edit code inside HEAD tag screen: the code editor field with tracking code and the "Save" button in the upper-right corner.
¡Ya está!
Uso de las conversiones de la API de Facebook
La API de conversiones es un método del lado del servidor para enviar eventos al píxel de Facebook. El píxel recibe datos sobre envíos desde formularios (evento Lead) y pagos desde el carrito de la compra (evento Purchase).

Para empezar, ve a la herramienta Administrador de eventos en el menú de la derecha de Facebook Business Suite.
In Facebook Business Suite: "Events Manager" in the "More Tools" menu on the left.
Pulse el botón "Conectar fuente de datos" y seleccione la categoría "Web".
In Facebook Events Manager: the "Connect a New Data Source" pop-up window with the selected "Web" option and the "Connect" button.
Seleccione el método de conexión "Conversiones API".
In Facebook Events Manager: the "Set up Web Events" window with the "Conversions API" option selected, and the "Connect" button in the bottom right corner.
Añade un nombre de píxel y haz clic en el botón "Continuar".
In Facebook Events Manager, the "Set up Web Events With the Conversions API" window with the "Name Your Pixel" field and the "Continue" button.
Vaya a Configuración de píxeles. Aquí se indicará el ID de píxel: lo necesitarás para la integración.
In Facebook Events Manager: the "Settings" tab of a pixel, showing the "Conversions API" section with options to set up manually or through a partner.
Desplácese hacia abajo por la configuración de píxeles y llegue a la sección Conversiones de API. Haz clic en el enlace "Generar token de acceso" y cópialo en el documento o nota.
In Facebook Events Manager: the "Settings" tab in the pixel settings under "Data Sources".
In Meta Events Manager, the "Copy Code to Clipboard" option on the generated access token field under the "Conversions API" section in the "Settings" tab.
Ve a Configuración del sitio → Formularios → API de conversión de Facebook.
The "Facebook" option under "OTHER" in the form services list.
Introduzca el ID del píxel y el token de acceso en los campos correspondientes y guarde los cambios. Una vez conectado, se enviará al píxel un evento de prueba Lead del dominio tilda.cc.
Data collection setup: Facebook Conversion page with filled "PIXEL ID" and "ACCESS TOKEN FOR API CONVERSION" fields and the "Add" button below.
Ve al Contenido del formulario cuyos datos quieres enviar y marca la casilla Receptor de datos de la API de conversión de Facebook.
Block Content panel: the "FBCONVERSION: FB PIXEL" checkbox under "CONNECTED SERVICES:" in the "FORM DATA RECEIVER" section.
Después de enviar los datos de un formulario, el evento aparecerá en la página Resumen de píxeles. Los eventos enviados a través de la API de conversiones se marcarán como enviados a través del método de conexión al servidor.
In Meta Events Manager: the "Overview" tab for the selected pixel in "Data Sources", showing event activity and connection status.
Hecho en
Tilda