Last updated • 23 November 2026

How to Set Up the Meta Conversions API & Pixel on WordPress

How to Set Up the Meta Conversions API & Pixel on WordPress

Send every conversion on your WordPress site to Meta through both the browser Pixel and the server-side Conversions API. One plugin, no code and no tag manager.

WordPress
+
Meta
WordPress
+
Meta
WordPress
+
Meta

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.

  1. Install the plugin: In WordPress, install and activate the PixelFlow plugin, then open Settings > PixelFlow Settings


  2. Log in: Click Log In or Start Free Trial to create your PixelFlow account (7 day free trial)


  3. Finish the setup in PixelFlow: Choose your currency and connect Meta with one click through Facebook, or enter your Pixel ID and access token


  4. Activate PixelFlow: Back in WordPress, turn on Activate PixelFlow and click Save Changes & Insert Script


  5. 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:

  1. Click Track More events

  1. Choose the event name Meta should get, like Lead, Contact or Schedule

  1. 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.

  1. If you used a header and footer plugin such as WPCode, delete the Meta Pixel code from its Header box and save.


  2. In Appearance > Editor, check your header and footer template parts and delete any Custom HTML block that holds the pixel code.


  3. Disable or uninstall the Meta for WordPress plugin (formerly Facebook for WordPress) if you used it.


  4. In Meta Events Manager, open your Pixel’s Settings and switch off tracking events automatically without code.


  5. Clear your cache so the old pixel stops loading on your live site.

One setup, every ad platform

The script you just installed also works for TikTok, ChatGPT Ads, Snapchat, Pinterest and Reddit. Connect each platform in a few clicks.

FAQ

Questions about Meta CAPI on WordPress

Questions about Meta CAPI on WordPress

Can't find what you need? Reach out and we'll walk you through it.

No, PixelFlow already includes the Meta Pixel alongside the Conversions API. Keeping your old Pixel means each event gets counted twice.

Yes. Turn on Track form submissions in Settings > PixelFlow Settings > Form Settings to track Contact Form 7, Elementor Pro, Fluent Forms, Gravity Forms, Ninja Forms and WPForms. Contact details are hashed and message text is never sent.

Clear any WordPress, hosting or CDN cache, then visit your live site in an incognito window. Admin previews and logged-in sessions can hide the script.

PixelFlow's event log shows events within a few minutes. Meta Events Manager can take up to 40 minutes, or use Test Events to see them within seconds.

Yes. Once PixelFlow is installed, you can also send events to TikTok, Snapchat, Pinterest, Reddit and ChatGPT Ads by connecting them in the dashboard.

Smarter, server-side tracking

Start sending accurate conversions today - no tag manager, no code, no developer required.

Compatible with

  • GoHighLevel logo
  • Kajabi logo
  • Stripe logo