DevActif Facebook Pixel
A simple WordPress plugin to easily add Facebook Pixel to your WordPress site.
by DevActif · github.com/devactif/devactif-facebook-pixel · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/devactif/devactif-facebook-pixel/archive/refs/heads/master.zipA simple WordPress plugin to easily add Facebook Pixel to your WordPress site.
Description
DevActif Facebook Pixel allows you to add your Facebook Pixel tracking code to your WordPress website without editing any theme files. Simply install the plugin, enter your Facebook Pixel ID in the settings, and the plugin will automatically add the necessary tracking code to your site.
The plugin also includes enhanced e-commerce tracking for WooCommerce, automatically tracking:
- Product views
- Checkout initiation
Installation
- Upload the
devactif-facebook-pixelfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to Settings > Facebook Pixel to configure your Facebook Pixel ID
How to Find Your Facebook Pixel ID
- Log in to your Facebook Business Manager account
- Navigate to Events Manager
- Select your pixel from the list
- Your Pixel ID will be displayed in the Pixel Setup tab
- It's a string of numbers like "123456789012345"
Usage
- After installation and activation, go to Settings > Facebook Pixel
- Enter your Facebook Pixel ID in the field provided
- Save changes
- The Facebook Pixel code will now be added to your website
Features
- Easy setup - no coding required
- Adds standard Facebook Pixel base code to track page views
- WooCommerce integration for e-commerce tracking
- Lightweight with minimal impact on site performance
- Follows Facebook's recommended implementation practices
Frequently Asked Questions
Do I need to modify my theme files?
No, the plugin automatically adds the Facebook Pixel code to your site without requiring any theme modifications.
Will this work with WooCommerce?
Yes, the plugin includes special integration with WooCommerce to track product views and checkout events.
Is this compatible with caching plugins?
Yes, the plugin works with popular caching plugins as it adds the code directly to the page output.
License
This plugin is licensed under the GPL v2 or later.