Option 1: Setup with your AI Agent using PixelFlow MCP
Connect Claude, ChatGPT or Cursor to PixelFlow over MCP and ask it to set up the Meta Pixel and Conversions API on your WordPress site. It walks you through each step in the chat.
Option 2: Set up manually using PixelFlow
Step 1: Install the PixelFlow plugin
Do these in order. Once they're done, you won't need to repeat them.
Install the plugin: In WordPress, install and activate the PixelFlow plugin, then open Settings > PixelFlow Settings
Log in: Click Log In or Start Free Trial to create your PixelFlow account (7 day free trial)
Finish the setup in PixelFlow: Choose your currency and connect Meta with one click through Facebook, or enter your Pixel ID and access token
Activate PixelFlow: Back in WordPress, turn on Activate PixelFlow and click Save Changes & Insert Script
Clear your cache: Clear any WordPress, hosting or CDN cache, then open your live site (not an admin preview) so PixelFlow can confirm the install.
Clear your cache after changes. Caching plugins, hosts and CDNs can keep serving old pages, so clear them whenever you change PixelFlow settings.
Step 2: Track forms, buttons, page loads and 3rd party tools
The PixelFlow plugin automatically tracks PageViews, and can track form submissions from Contact Form 7, Elementor Pro, Fluent Forms, Gravity Forms, Ninja Forms and WPForms (turn on Track form submissions under Settings > PixelFlow Settings > Form Settings). To track more events from button clicks, pageloads or 3rd party platforms like Stripe or Calendly use any of these options:
Click Track More events
Choose the event name Meta should get, like Lead, Contact or Schedule
Choose how to trigger it - form, button, page or 3rd party - and follow the steps
PixelFlow can fire Meta events in three ways:
Visual Tagger: click the buttons, links and forms on your WordPress site that should send an event.
URL triggers: fire an event whenever someone loads a specific page, such as an order confirmation.
3rd party integrations: connect apps such as Stripe and Calendly in PixelFlow to pass purchases and bookings on to Meta and your other ad platforms.
Set up with AI: describe the events you want to your AI agent and it sets the triggers up through PixelFlow MCP.
Step 3: Delete your previous Meta Pixel code
To stop duplicate events, remove any Meta Pixel you previously added to WordPress.
If you used a header and footer plugin such as WPCode, delete the Meta Pixel code from its Header box and save.
In Appearance > Editor, check your header and footer template parts and delete any Custom HTML block that holds the pixel code.
Disable or uninstall the Meta for WordPress plugin (formerly Facebook for WordPress) if you used it.
In Meta Events Manager, open your Pixel’s Settings and switch off tracking events automatically without code.
Clear your cache so the old pixel stops loading on your live site.
The script you just installed also works for TikTok, ChatGPT Ads, Snapchat, Pinterest and Reddit. Connect each platform in a few clicks.

Smarter, server-side tracking
Start sending accurate conversions today - no tag manager, no code, no developer required.
Compatible with


