PixelBeacon

By Md Shukur Miah

0+ active installationsVersion 1.0.8

Meta Pixel & Conversions API (CAPI) tracking for WooCommerce with deduplication, high Event Match Quality (EMQ), and server-side signals.

Description

PixelBeacon sends WooCommerce events to Meta from both the browser (Meta Pixel) and your server (Conversions API). Each browser and server event pair shares the same event_id, so Meta counts it once while combining both signals. Server-side events still arrive when ad blockers or browser privacy settings block the pixel.

Features

  • Hybrid tracking with deduplication: browser pixel and server CAPI use identical event_id values.
  • WooCommerce events: PageView, ViewContent, AddToCart (standard and AJAX), InitiateCheckout (classic and block checkout) and Purchase.
  • High Event Match Quality: hashed email, phone, name, city, state, postcode and country, plus IP address, user agent, _fbp, _fbc and a persistent external ID.
  • Full catalog data: content IDs, contents, quantities, value, currency, categories, shipping and tax.
  • Purchase attribution is kept for payment gateway webhooks (PayPal, Stripe, bKash, Nagad): the Meta cookies are stored on the order at checkout.
  • Retry queue: failed API calls are retried automatically.
  • Limited Data Use (LDU) option for CCPA compliance.
  • Built-in connection test and event log.

PixelBeacon Pro

PixelBeacon Pro adds TikTok Pixel & Events API tracking, 12 more Meta events (ViewCategory, Search, RemoveFromCart, AddPaymentInfo, AddToWishlist, Lead, Contact, CompleteRegistration, CustomizeProduct and the FirstOrder, ReturningCustomer and VipClient audience triggers), and the option to pause the Purchase event until an order reaches a chosen status.

External services

This plugin connects to Meta (Facebook) services to send conversion events. Nothing is sent until you enter your own Pixel ID (and, for server-side events, your Conversions API access token) in Settings > PixelBeacon.

  • Meta Pixel – the script https://connect.facebook.net/en_US/fbevents.js is loaded on your site’s pages to send browser events (page views, product views, add to cart, checkout and purchases). It receives the visitor’s browser data and hashed customer details when available.
  • Meta Conversions API – the plugin sends the same events from your server to https://graph.facebook.com. Each request contains the event name and time, page URL, order or product data (IDs, quantities, value, currency), the visitor’s IP address and user agent, the _fbp / _fbc cookies, and customer details (email, phone, name, city, state, postcode, country) hashed with SHA-256.

These services are provided by Meta Platforms, Inc.: Terms of Service, Meta Business Tools Terms, Privacy Policy.

The plugin sends no data to the plugin author or any other third party.

Installation

  1. Upload the pixelbeacon folder to /wp-content/plugins/, or install the plugin from the Plugins screen.
  2. Activate the plugin.
  3. Go to Settings > PixelBeacon.
  4. Enter your Meta Pixel ID and Conversions API access token.
  5. Choose the events to track and click Test Facebook Connection.

FAQ

Where do I find my Pixel ID?

Open Meta Events Manager, select your pixel (data source) and copy the numeric Pixel ID.

How do I create a Conversions API access token?

In Meta Events Manager, open your pixel’s Settings, scroll to Conversions API and click “Generate access token”.

Will events be counted twice?

No. Each browser and server event pair uses the same event_id, so Meta deduplicates them.

Does it work with the WooCommerce block checkout?

Yes, both the classic and block checkout are supported.

Screenshots

Changelog

1.0.8

  • Fix: Fatal error on variations that have a brand attribute.
  • Security: The dynamic options endpoint only returns hashed customer data to requests with a valid REST nonce.
  • Improved: Pixel and event scripts are added with wp_add_inline_script() instead of inline script tags.
  • Improved: Admin styles only apply to the plugin settings page; a notice explains when WooCommerce is missing.
  • Improved: Local and private IP addresses are no longer sent to Meta.
  • Removed: Legacy compatibility code.

1.0.7

  • Fix: Unticked events are saved as disabled instead of being re-enabled by defaults.
  • Fix: Session-queued browser events no longer replay on later pages.
  • Fix: Product page ViewContent fires reliably.
  • Fix: The browser Purchase event still fires on the thank you page when a gateway webhook already sent the server event.
  • Security: The public event endpoints only accept browser events; Purchase is server-only.
  • Improved: Server-side API calls run after the page response is sent.
  • Updated: Meta Graph API v24.0.

1.0.6

  • New: Tabbed admin settings.
  • New: Phone number normalisation to E.164 for higher Event Match Quality.
  • New: WooCommerce HPOS compatibility.

1.0.5

  • Renamed plugin to PixelBeacon.
  • Added catalog parameters to all e-commerce events.