Meta pixel for WordPress
About Meta pixel for WordPress
This plugin will install a Meta Pixel for your page so you can capture the actions people take when they interact with your page, such as Lead, ViewContent, AddToCart, InitiateCheckout and Purchase events. It also includes support for the Conversions API.
You’ll be able to see when customers took an action after seeing your ad on Facebook and Instagram, which can help you with retargeting. And when you use the Conversions API alongside the Pixel, it creates a more reliable connection that helps the delivery system decrease your costs. Learn More
The Conversions API is designed to create a direct connection between your marketing data and the Meta systems, which help optimise ad targeting, decrease cost per action and measure results across Meta technologies. Learn More
You can find more information about our Privacy Policy here.
Quick facts
Contributors
How Sourcemap Explorer detects Meta pixel for WordPress
WordPress plugins all load assets from a predictable path: /wp-content/plugins/<slug>/. Sourcemap Explorer enumerates every such URL on the rendered page (script tags and stylesheets) and pulls the version from the ?ver= cache-buster query parameter when WordPress emits one. The slug is then cross-referenced against the wordpress.org plugin directory to attach the human-readable name, author, install count, rating and changelog you see on this page.
- 1
Find /wp-content/plugins/official-facebook-pixel/ in the Network tab
Open DevTools → Network → reload the page. Filter by "JS" or "CSS" and look for asset URLs starting with `/wp-content/plugins/official-facebook-pixel/`. Each match confirms the plugin is loading on the page. Sourcemap Explorer enumerates every plugin path automatically and lists each one in the popup's Stack tab.
- 2
Read the version from the ?ver= query string
WordPress appends the plugin version as a cache-busting query parameter to its asset URLs (`?ver=5.0.1`). Sourcemap Explorer pulls this version directly. The version on this page (5.0.1) is the latest published on wp.org — the version on a real site may lag.
- 3
Cross-reference with wp.org for human-readable metadata
Once the plugin slug is identified, fetch `https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request[slug]=official-facebook-pixel` to read the human-readable name, author, install count, rating and changelog. This page already does that for you.
Installation
To install from your WordPress site
1. Log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
2. In the search field, type ‘Facebook for WordPress’ and click ‘Search Plugins’. Select the plugin authored by ‘Facebook’. You can install it by simply clicking ‘Install Now’.
To download and install plugin from Facebook Events Manager
Facebook Help Page
Configure plugin for first use
After plugin installed:
1. Go to settings page of the plugin.
2. Click Get Started.
3. Complete the Facebook Business Extension flow.
4. Agree to share your access token with your site.
FAQ
You can find more information on the Facebook Pixel.
You can find more information on the Conversions API.
You can refer to this page
If you get stuck, or have any questions, you can ask for help in the Facebook for WordPress plugin forum.
Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the plugin repository.
Changelog
5.0.1 – 2026-04-07
Detected by Sourcemap Explorer
We enumerate every /wp-content/plugins/<slug>/ path on the page, and pull the version from the ?ver= query string when WordPress emits one.