Pixel Caffeine


The easiest, most powerful, 100% free, WordPress Plugin to manage Facebook Pixel and Facebook Product Catalog.

Don’t spend money on “pro” plugins while ours is free. Includes full WooCommerce and Easy Digital Downloads support!

Created by AdEspresso, a certified Facebook Marketing Partner and #1 Facebook Ads Partner, Pixel Caffeine is the highest
quality Facebook Pixel plug-in available on the WordPress market and we’ll keep it constantly up to date with Facebook latest updates.

Watch our video to see the full range of possibilities:

In just a few simple clicks, you can have Facebook pixel live on your website, track conversions and begin creating custom audiences for almost any parameter you want – whether its web pages visited, products & content viewed, or custom & dynamic events.

Unlike all the other professional plugins available, we have no limitations and no hidden costs or fees.

Welcome to a whole new world of custom audiences and product catalog management.


  • Instant Installation – get the Facebook pixel site-wide without typing a line of code – just a simple click.

  • Advanced Custom Audiences – create audiences based on standard/custom events, referring sources (i.e. Twitter, Facebook, Google, etc.), categories/tags of content, specific URL parameters…literally almost anything you’d like!

  • Facebook Dynamic Ads with WooCommerce – automatically track visitors based on what they viewed (product name, product category and product tags) and then dynamically re-target them with advertisements on Facebook or Instagram

  • Product Catalog Management – In one click generate a Product catalog for your store and upload it to Facebook or let Pixel Caffeine constantly sync it with Facebook. Advanced filters let you create your product catalog with exactly the products you want to promote.

Examples of what you can do with Pixel Caffeine:

  • Create “category” audiences for your blog or website and then re-target these visitors with lead generation or direct sale campaigns

  • Create audiences of people that viewed specific products and dynamically target them with specific incentives or coupons for exactly the products they viewed

  • Create audiences of those that submit particular forms, click on certain buttons, or take certain actions while navigating or searching your website.

  • Create product catalog with only products in specific categories with a discounted price and not sold out!



  • General Settings
  • Custom audiences manager
  • Special filter for custom audience
  • Conversions events page
  • Dashboard
  • Product Catalog
  • Product Catalog created


Minimum Requirements

  • PHP version 5.6 or greater
  • MySQL version 5.6 or greater or MariaDB version 10.0 or greater

Automatic installation

  • From your WordPress admin panel, click “Plug-Ins” and then “Add New”
  • In the search box, type “Pixel Caffeine”
  • Select “Pixel Caffeine” and click “Install”!
  • Activate It

Manual installation

  • Download the plugin from this page (it will download as a zip file)
  • Open the WordPress admin panel, go to the “Plugins” and select “Add new”
  • Select “Upload” and then choose the .zip file downloaded from this page
  • Select “Install” after the upload is complete
  • Activate It


Here a brief videotutorial to understand main feature and how their work:



Where do I get my Facebook Pixel ID?

You can get your Facebook Pixel ID from the Pixel page of Facebook Ads Manager. If you don’t have a Pixel, you can create a new one by following these instructions. Remember: there is only ONE Pixel assigned per ad account.

Do I need a new Facebook Pixel?

No, use the pixel from the ad account you want to link to your WordPress website.

I don’t want to login to my Facebook account. Can I put the pixel ID manually without connecting my account?

No problem! You can manually add the Pixel ID in the settings page instead of connecting your Facebook Account. However, without the Facebook connect, you won’t be able to use some of the most advanced features of Pixel Caffeine like our Custom Audience creation.

Are the custom audiences saved also on my Facebook Ad Account?

Yes, everything you create in Pixel Caffeine is immediately synced with Facebook and all the audiences will be immediately available to use in Facebook Ads Manager/Power Editor …or AdEspresso if you’re using it of course 🙂

Is it compatible with WooCommerce?

YES! We fully support WooCommerce. In the settings page just enable the integration and we’ll automatically add all the event tracking! This is also compatible with Dynamic Product Ads and we’ll pass Facebook all the advanced settings like product Id, cost, etc.!

Is it compatible with Easy Digital Downloads

Absolutely YES! The same of above.

Can I import my custom audiences I already have in my Ad account into Pixel Caffeine?

Unfortunately there isn’t any way at the moment to import custom audiences from FB, but it is a feature in our long-term roadmap. With the plugin we want to give extended tools for advanced custom audiences – using WordPress data. This plug-in is NOT a replacement for Business Manager, but it does make it all easier!


26 oktober 2021
Pixel Caffeine is possibly the better Pixel plugin that you should be using right now and here are 5 reasons why. * Easiest Facebook Pixel integration. -- You don't need to be given Business Admin access to set up. As long as you have Developer's access (or Ad Manager Account access), all you need is to push the Facebook Connect button, select the Ad Account, and done. * No need to feel forced to set up Product Catalog and Instagram before the Pixel can be implemented. -- The official plugin is like battling a boss battle that requires you to set up both Product Catalog and Instagram (that's if you can get past the first stage of having the Business Admin to give you the correct access and even get to connect with the Page at all; not all businesses who just got started with Facebook ads know how to give the correct access. Developer access isn't enough). Pixel Caffeine allows you to create the Product Catalog at your own convenience, without the hassle of having everything set up from the get-go. * Conversions API (server to server). -- It's already implemented under General Settings > Server Side Tracking, with a quick link to where you can generate your token to be added for this to work. Also includes event logs (for debugging) and AJAX tracking (for sites with caching enabled). * Custom Audiences and Conversions/Events tracking. -- Maybe you've created a new Product Category, or a new blog post, you can easily create the custom audience or conversions/event tracking in the WordPress dashboard conveniently and without the need to hop over to the Ad Manager to get the job done. * WooCommerce Conversions. -- Under General Settings, toggle on the DPA that you want tracked, and the values will get picked up by Facebook Pixel. Easy. I believe this plugin is being maintained and supported by one developer, which is probably why there's a lot of unresolved topics and also brought up through a few poor ratings. You will still see several active issues in your Facebook Ads Manager (most likely an approximate 10 if you are using WooCommerce) which was also occurring on the official Facebook for WooCommerce plugin too before I switched to Pixel Caffeine. If you are helping friends or mom-and-pop businesses to set-up Facebook Pixel for their brand new WooCommerce stores (which you are also probably the one managing), or looking for the simplest way to have Facebook Pixel implemented on a WooCommerce website, Pixel Caffeine is the plugin that you'll need. Did I mention that Pixel Caffeine is also *ahem* ... FREE? Alright. Let's hope that there's a way to fix those active issues that Facebook keeps on showing in the Pixel diagnostics. 🙂 -- Update: Oct 2021 -- Plugin deprecated. Plugin author's announcement below. https://wordpress.org/support/topic/pixel-caffeine-plug-in-deprecation/
14 april 2021
Buenos días. Les escribo para informarles que tengo problemas con el filtro del stock para crear el catálogo para Facebook, porque Facebook Bussines te retiene los productos agotados y no te permite la publicación en mi tienda de Facebook, viéndome forzado a mandar mis productos agotados a la papelera de reciclaje. Ahora, espero una pronta, eficiente y eficaz solución a este inconveniente con el filtro del stock en el plugin
11 maart 2021
The plugin somehow prevents me from updating any posts on my blog. Since installing it, every time I try to change something in my blog, it will say Updating failed. Only deactivating this plugin would solve the issue. Try reporting this on their WP Support forum but seems like they haven't answered anything on there for months.
25 februari 2021
So with the new update, some error occurred that might break your site. I've reported the error and the plugin support was fast to reply and fixed it.
Lees alle 44 beoordelingen

Bijdragers & ontwikkelaars

“Pixel Caffeine” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


Vertaal “Pixel Caffeine” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.


2.3.3 – 2021-03-18

  • Fix – null in “content_ids” of AddToCart event when some WooCommerce extensions are installed

2.3.2 – 2021-03-16

  • Add – Option to enable server-side tracking through AJAX in order to resolve issues with cache systems (server and/or third-party plugins)
  • Enhancement – Avoid to pass eventID if server-side tracking is disabled
  • Update – Facebook API SDK to v10

2.3.1 – 2021-02-25

  • Enhancement – Scoped third-party vendor dependencies in order to avoid conflicts with other third-party vendor of other installed plugins
  • Fix – Guzzle conflicts with other plugins
  • Fix – Syntax error with PHP <7.4 versions

2.3.0 – 2021-02-18

  • Support – Dropping support to <7.2 PHP versions. It’s now officially supported only 7.2+ PHP version (the plugin will continue to work with lower versions, but it might occur in some issues).
  • Add – Option to log all server side events sent from the server in “Logs” table
  • Fix – PHP Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Promise\Coroutine::of()
  • Fix – tag for pixel init not valid for W3C (thanks @mte90)
  • Fix – Pass only one IP Address if server sends both IPv6 and IPv4 separated by comma
  • Enhancement – Ensure user data parameters are sent only if they are not empty (it should fix facebook warning in some cases)

2.2.0 – 2021-02-09

  • Add – Server Side Tracking: All standard events (and custom events triggered on link visit) are fired also from backend together with browser event, in deduplicated way (so no duplication of events will occur). After upgrade, check on general settings in order to enabled it if you want and define the access token to enable it. After enabling it, keep you eyes on events manager of your facebook ad account in order to check for errors or improvements can be made!
  • Add – ViewCategory event (must be enabled from General Settings)
  • Add – aepc_init_script_tags filter to add custom tags into tags for the Pixel init snippet
  • Enhancement – Add variation ID into product title on product feed
  • Security – Fix Local File Inclusion vulnerability
  • Add – Bulgarian lev currency (thanks @mad-ascent)
  • Fix – Force ID instead of SKU in AddToCart events from product list
  • Fix – Warnings in Secupress
  • Fix – Fix aepc_pixel not defined when a caching performance plugin is enabled
  • Fix – Wrong image link inside product feed when Lazy Loading options is enabled in SG Optimizer
  • Fix – 2FA notice cannot be dismissible outside the Pixel Caffeine settings page
  • Support – Move minor support to WooCommerce 4.0

2.1.4 – 2020-09-29

  • WARNING – By November 2nd, it will be mandatory to enable the Two-Factor Authentication in your Facebook account in order to connect to Facebook APIs. Please, be sure to enable the TFA in your account in order to continue to use the Pixel Caffeine features.
  • Add – Option to adjust the number of the chunk for the background saving (useful when the server can’t complete the feed generation because of lower power)
  • Enhancement – Avoid to trigger undefined variables when the pixel scripts are delayed through the WP Rocket feature for performance
  • Enhancement – Delete all Pixel IDs info after the connection reset
  • Fix – Fatal error on 404 page with the error “Uncaught Error: Call to a member function get() on null” (thanks @bheadrick)
  • Fix – Security fixes
  • Fix – Missing Pixel IDs after selecting an Ad Account inside a Business Account
  • Fix – Fix value parameter in AddToCart event in the latest version of WooCoommerce
  • Fix – Missing parameters into the AddToCart event
  • Fix – Generic carousels stopped to work because of added category meta into the product element of WooCommerce
  • Fix – Fix feed checkout_url parameter for variable products whose point to the cart instead of product page

2.1.3 – 2020-06-04

  • Add – PHP 7.4 support
  • Fix – Fatal error: Replace Monolog library with custom logging because conflicts with other versions used by other plugins that causing website crashing

2.1.2 – 2020-04-15

  • Enhancement – Change additional_image_link format when multiple URLs, from single field and separated by comma, to multiple additional_image_link fields
  • Enhancement – Make ajax AddToCart working in the new WooCommerce blocks
  • Fix – Notice: Undefined index: order-received in ../pixel-caffeine/includes/supports/class-aepc-woocommerce-addon-support.php on line 138
  • Fix – Remove userAgent argument from pixel events, causing business privacy violation and not used anymore
  • Fix – Fatal error when WooCommerce Subscription process the automatic orders
  • Fix – Console error: [Facebook Pixel] – Call to “fbq(‘init’, ‘xxxxxxx’, []);” with parameter “user_data” has an invalid value of “[]”
  • Support – WP Rocket: give ability to host Facebook Pixels locally on your server to help satisfy the PageSpeed recommendation for Leverage browser caching

2.1.1 – 2019-11-18

  • Fix – Fatal error: Uncaught TypeError: Argument 1 passed to AEPC_Woocommerce_Addon_Support::get_product_id() must be an instance of WC_Product
  • Fix – fbq function not found when the option “Do not add the Pixel init snippet” is enabled
  • Fix – Do not include orphan variations into the product feed

2.1.0 – 2019-11-07

  • Add – Option to disable the tracking of the variations. If enabled, when a variation is added to cart and then checkout/purchase, the content_ids will contain the parent ID
  • Add – Option to bypass pixel init, allowing to add pixel snippet from GTM or other source
  • Add – Allow to trigger a custom conversion event by Javascript event
  • Fix – Conflict with CartFlows
  • Fix – “Use SKU” option always checked even if unchecked
  • Fix – Notice: Undefined index: url_condition in …/pixel-caffeine/includes/class-aepc-pixel-scripts.php
  • Fix – Cron jobs initialization causing some errors on “Logs” tab
  • Fix – Description missing on variations when short description is mapped on the description field
  • Fix – Run Purchase event afterwards when PayPal used and not returned back to website after payment
  • Fix – Wrong image link on product catalog when SG Optimizer active

2.0.8 – 2019-05-07

  • Important – FB API Breaking Change It’s mandatory upgrade the plugin in order to have Facebook Pixel selection working correctly in the admin. If you won’t upgrade within this week, the plugin will continue to work, but you won’t be able to change the Pixel ID.
  • Add – Option to enable/disable the Search event
  • Add – Ability in Conversions/Events tab to specify if the trigger URL is contained or must be exact of the page where send the event. RECOMMENDED: take a backup of your current version and check all custom conversions events you have after upgrade and open a new topic if have any issues.
  • Add – New standard events in the custom conversion events created in the admin of the plugin
  • Add – Restored custom audience size
  • Add – Ability to add custom audience filter based on standard events or custom events created in “Conversions/Events” tab
  • Fix – Discordance in the SKU/ID option between pixel and product catalog configurations (for who already have a product catalog create, make sure that “Use SKU” is enabled in the product catalog configuration if you didn’t enabled the setting “Force to use product IDs even if there is a SKU defined” in General Settings)
  • Fix – Use parent product SKU/ID in variable product single pages (it fixes the content_id not found warnings in some cases)
  • Fix – Retrieve the pixels list from the business account as well
  • Fix – AddToWishlist event with YITH Wishlist plugin
  • Fix – Add sale_price for the variable products
  • Fix – Low vulnerabilities with third-party libraries
  • Fix – Dashboard charts of pixel activity
  • Fix – URL matching for the custom conversions events based on link click
  • Fix – Fix SKU in item_group_id when the parent has the SKU (it might cause a “content_id not found” in product catalog when tracking the pixels)
  • Support – Bump minimum PHP version to 5.6 (the plugin still works with minor versions, but it won’t be supported with those)
  • Support – Support WooCommerce up to 3.6.x

2.0.7 – 2018-12-19

  • Support – Tested plugin with new WordPress 5.0 version
  • Support – Fix issues in feed with newest version of WooCommerce
  • Fix – “Products Are Missing From Your Catalogs” error in the DPA pixels for product with variations
  • Fix – Fix “&” error on AddToCart event of product single page
  • Fix – Fix feed URL for custom configurations
  • Fix – Avoid to track multiple Purchase event per each Thank You page visit in WooCommerce and Easy Digital Downloads

2.0.6 – 2018-08-14

  • Fix – Admin modals didn’t open after 2.0.5 upgrade

2.0.5 – 2018-08-02

  • Important – FB API Bracking Change It’s mandatory upgrade the plugin in order to have the custom audience working back again because of a change to the custom audience creation API from Facebook, this version of plugin will fix with the new version of FB API
  • Add – Enable/Disable advanced matching option
  • Fix – Stats chart in dashboard
  • Fix – URL in checkout_url, now to product add to cart URL
  • Fix – Feed URL when automatic upload is enabled
  • Fix – Bad format of price in the pixel when more decimal digits

2.0.4 – 2018-04-12

  • Add – New option to choose a short description as description for the feed item
  • Add – New option to choose if price must be including or excluding tax
  • Fix – Changed deprecated FB API calls about product catalog. It’s mandatory to upgrade Pixel Caffeine before May 8th 2018 in order to have the product catalog functionality working.
  • Fix – Invalid argument supplied for foreach PHP warning
  • Fix – Encoded & detected when a “&” symbol char is present in category or tag
  • Fix – Force to absolute URL the image link in the feed

2.0.3 – 2018-03-19

  • Add – Variation ID in the mandatory field error when the item in error is variation
  • Add – Get variation description from the parent if it is empty
  • Add – Add helpful hook to change allowed standard event parameters
  • Add – Option in Advanced Settings to force to use IDs in content_ids parameters even if a product SKU is defined
  • Fix – Description or title cannot be empty error during feed generation (for who updates please refresh again the feed)
  • Fix – Strip whole SVG tags from content in the product feed
  • Fix – Syntax error in Log classes
  • Fix – Image link broken inside the feed with some external plugins
  • Fix – Error get_plugins does not exist in feed error

2.0.2 – 2018-02-01

  • Add – Useful hooks for the feed items
  • Enhancement – Translate shortcodes in the product descriptions inside the feed
  • Fix – Invalid characters in feed
  • Fix – Strip HTML tags in the product description inside the feed
  • Fix – Woo query in the product feed fetched wrong products
  • Fix – Use short description/excerpt if no product description
  • Fix – Fatal error when only EDD is enabled
  • Fix – Include quantity in value parameter of AddToCart
  • Fix – NaN in value parameter when add to cart from WooCommerce
  • Fix – AddToCart tracking when using [product_page] shortcode
  • Fix – AddToCart tracking when using [add_to_cart] shortcode

2.0.1 – 2018-01-11

  • Compatibility – Tested plugin with new WooCommerce 3.3
  • Add – New log system: new “Logs” tab is added where are tracked all errors appears across the plugin
  • Add – Image size option for the product items of the XML feed
  • Add – Option to enable automatic UTM tags tracking
  • Add – Option to exclude “value” and “currency” parameters from specific events
  • Add – Option to exclude “content_ids”, “content_type” and “content_name” parameters from specific events
  • Add – Option to choose to save the feed file with a background process (for who has thousands of products in own store)
  • Fix – Feed saving process error that causes a “file not existing” error
  • Fix – Hide size value in Custom Audiences because of new Facebook policies based on Advertising Principles.
  • Fix – Fatal error on google categories value gathering
  • Fix – AddToCard not fired when redirect to cart option of Woo is activated
  • Fix – Variation ID passed in content_ids when AddToCart event needs to be fired
  • Fix – Search event not working without an e-commerce plugin activated
  • Fix – Fix “InitiateCheckout” JS error when the “IniziateCheckout” is deactivated
  • Fix – Event value parameter is not valid error from Facebook

2.0.0 – 2017-12-14

  • Add – New Product Catalog feature. You can now create automatically a XML Product Feed from the Pixel Caffeine admin and push it into your Business Manager account!
  • Fix – Pass “value” parameter if price value of product is 0

1.2.3 – 2017-09-04

  • Fix – IMPORTANT: Bug in custom audience creation process into facebook account. It’s necessary delete and create again all custom audiences that contain the filters for Blog > Categories/Tags in order to collect right users and prefill again CAs.
  • Fix – Fatal error in WooCommerce checkout page in some cases
  • Fix – Fatal error in EDD when add to cart from action and not from AJAX
  • Fix – Fatal error in admin when Divi theme is used
  • Fix – Fatal error in admin editor when plugin is enabled and there is EDD activated
  • Add – Some useful hooks in order to change by code something in the events fired
  • Add – Reset FB connection button in advanced settings, useful when the connect is blocked by an error during the connection

1.2.2 – 2017-06-21

  • Support – tested with new 4.8 WordPress version with success
  • Add – Option to disable pixel firing when user is logged in as specific roles
  • Add – Option to disable use product instead of product_group for content_type parameter
  • Enhancement – Enable automatically the main conversions option when one of the ecommerce event option is checked
  • Fix – Facebook Pixel isn’t fired because of a dynamic language in the Facebook scripts
  • Fix – Taxonomy labels in CA filter
  • Fix – Admin style conflicts with other plugins that damage admin style of Pixel Caffeine

1.2.1 – 2017-04-27

  • Fix – Box not aligned in general settings in safari browser
  • Fix – Fatal error when plugin is disabled and woocommerce plugin is active
  • Fix – Permissions error message after plugin activation

1.2.0 – 2017-04-03

  • Feature – Full support to Easy Digital Downloads for the dynamic ads events
  • Feature – Introduced new hook to add dynamic placeholders in the value arguments of custom conversions
  • Tweak – Tested with WooCommerce 3.0.0 RC2, so almost fully compatible with the new version will be released soon
  • Tweak – Track “CompleteRegistration” event when a user is registered from woocommerce page
  • Fix – Track custom conversions events created by admin even if you set a full URL for page_visit and link_click
  • Fix – Shipping cost included in the “value” property of checkout events. Anyway, added also an option to activate it again

1.1.0 – 2017-03-16

  • Feature – Introduced new delay options in general settings and in Conversions/Events tab in order to set a delay for the pixel firing
  • Feature – Introduced condition dropdown for the URL fields of CA creation/edit form
  • Feature – Introduced new advanced settings box in general settings box with delay options and other dev tools
  • Fix – Fatal error ‘DIR/composer/autoload_real.php’
  • Fix – Conversions table layout broken when URL is long in the trigger column
  • Fix – HTML tags shown on CA fields error message
  • Dev – Introduced new debug mode option, to have a dump of pixel fired in the pages before to fire really
  • Dev – Introduced new button to clear the transients used to cache the facebook APi requests, rarely they may cause data not fetched from facebook

1.0.2 – 2017-03-09

  • Fix – Fatal error on AMP pages, using AMP plugin
  • Tweak – Increase limit of objects fetched by facebook API request
  • Tweak – Increase limit for the posts in CA filters

1.0.1 – 2017-02-23

  • Fix – Remove zero cent from the value amount of ecommerce events
  • Fix – change ‘and’ with ‘or’ when you set more values for a filter of CA
  • Fix – JS error on AddPaymentInfo event
  • Fix – Undefined property shown on JS console
  • Fix – Fatal error when facebook connection API error occurred and log them
  • Tweak – Remove manual hash for advanced matching with the pixel

1.0.0 – 2017-02-20

  • First release