Meta Pixel & SDK
Track conversions and optimize Meta advertising campaigns on your website
Overview
The Meta Pixel & SDK plugin adds Meta (Facebook) tracking to your website. It enables conversion tracking, audience building for ad targeting, and behavioral analytics across Meta platforms. You can configure it with just your App ID for standard tracking, or paste custom pixel and SDK code for advanced setups.
Setup
- Navigate to Settings > Plugins
- Find Meta Pixel & SDK and click to open the settings page
- Click Save and Install
- Enter your Facebook App ID and click Save
At least one of the three fields (App ID, Head Content, or Body Content) must be filled in.
![]()
Configuration
| Field | Description |
|---|---|
| Facebook App ID | Your Meta App ID. To find this, go to developers.facebook.com, select your app, and copy the App ID from the dashboard. |
| Head Content | Custom Meta Pixel code to inject into the <head> section of every page. Use this for the standard pixel base code snippet. |
| Start of Body Content | Custom Meta SDK code to inject at the start of the <body> section. Use this for the Facebook JavaScript SDK initialization. |
For most sites, entering just the Facebook App ID is sufficient. The Head Content and Body Content fields are available for advanced configurations where you need custom pixel events or SDK initialization parameters.