Skip to content

DevActif/devactif-facebook-pixel

Repository files navigation

DevActif Facebook Pixel

A 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

  1. Upload the devactif-facebook-pixel folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Settings > Facebook Pixel to configure your Facebook Pixel ID

How to Find Your Facebook Pixel ID

  1. Log in to your Facebook Business Manager account
  2. Navigate to Events Manager
  3. Select your pixel from the list
  4. Your Pixel ID will be displayed in the Pixel Setup tab
  5. It's a string of numbers like "123456789012345"

Usage

  1. After installation and activation, go to Settings > Facebook Pixel
  2. Enter your Facebook Pixel ID in the field provided
  3. Save changes
  4. 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.

About

A simple WordPress plugin to easily add Facebook Pixel to your WordPress site.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published