pagina-pixel

Install Meta Pixel tracking scripts and conversion events into existing HTML pages.

15|16|Updated May 6, 2026
One-click install
npx skills add https://github.com/ReadyToGo-Education/fluxo_criativo --skill pagina-pixel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pagina-pixel
Source: https://github.com/ReadyToGo-Education/fluxo_criativo/tree/main/.claude/skills/pagina-pixel
Command: npx skills add https://github.com/ReadyToGo-Education/fluxo_criativo --skill pagina-pixel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resolve o problema de medir conversões e desempenho de tráfego adicionando corretamente o Meta Pixel e os eventos certos em páginas HTML prontas, sem regerar a copy.

Core Features & Use Cases

  • Instalação do Meta Pixel em HTML existente: injeta o snippet base com o Pixel ID e evita duplicação ao detectar fbq('init'.
  • Eventos por tipo de página: dispara eventos coerentes com o objetivo (PageView, ViewContent, InitiateCheckout, Lead, Purchase, CompleteRegistration).
  • Backup antes de sobrescrever: cria um arquivo .backup-pixel-{timestamp}.html antes de salvar alterações.
  • Opcional para Conversions API: prepara referência de configuração usando variáveis de ambiente sensíveis no .env sem incluir tokens no conteúdo.

Quick Start

Peça: "Instale o Meta Pixel na última página HTML salva e use os eventos corretos para uma página de vendas, disparando InitiateCheckout no clique do CTA."

Frequently Asked Questions about pagina-pixel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install Meta Pixel on an existing HTML page without regenerating the copy?

To install Meta Pixel on an existing HTML page, the script injects the tracking snippet near the <head> tag and event scripts near </body> without altering your original page copy. It reads the META_PIXEL_ID from your project .env file.

What Facebook events should I fire for a sales page with a CTA button?

For a sales page, appropriate Facebook events include PageView, ViewContent, and InitiateCheckout. The installation fires InitiateCheckout specifically when a user clicks the call-to-action button.

Can I set up Conversions API (CAPI) tokens directly in the HTML content?

You cannot embed Conversions API tokens directly in HTML content. The setup references sensitive CAPI tokens using the META_PIXEL_CAPI_TOKEN environment variable in your .env file to keep them secure.

Does this Meta Pixel installation method prevent duplicate tracking scripts?

Yes, this Meta Pixel installation method prevents duplicate tracking by checking for existing fbq('init' calls before injecting the base snippet, ensuring the script only initializes once per page.

What happens to my original HTML file if the event script injection fails?

If the event script injection fails, your original HTML file remains protected. The system creates a .backup-pixel-{timestamp}.html file before saving any modifications to ensure your work is recoverable.