Description
Meta often shows fewer purchases than your WooCommerce store. The Meta Pixel runs in the buyer’s browser, so ad blockers, Safari privacy limits, PayPal redirects and custom thank-you pages can stop the Purchase event from ever being sent.
Unified Tracking Hub Lite sends the Purchase to Meta from your server, using the Meta Conversions API, the moment WooCommerce confirms payment. It doesn’t matter which page the buyer lands on afterwards, or what their browser blocks. The browser Pixel and the server event share the same order-based event ID, so Meta counts the sale once.
What Lite does
- Meta Conversions API: Purchase sent from your server when payment is confirmed (classic and block checkout, any payment gateway that marks orders as paid).
- Meta Pixel: PageView, ViewContent, Search, AddToCart, InitiateCheckout, AddPaymentInfo and Purchase, with product IDs, values and currency.
- Deduplication: browser and server Purchase share one event ID, so purchases are not counted twice.
- Better match quality: hashed email, phone, name and address (SHA-256), plus the fbp/fbc browser IDs, IP address and user agent captured at checkout.
- GA4 ecommerce events from the browser with gtag.js: page_view, view_item, view_item_list, view_cart, add_to_cart, begin_checkout, add_payment_info, search and purchase.
- Consent: optionally wait for consent through the WP Consent API (supported by Complianz, CookieYes, Cookiebot and other consent plugins) or your own code. Buyers who did not consent are not sent from the server.
- Automatic retries: if Meta doesn’t answer (timeout or server error), the purchase is sent again automatically, up to 5 attempts over about 8 hours. Meta deduplicates by event ID, so a retry never counts a sale twice.
- Safe to switch: orders paid before the plugin was installed are never sent, so switching from another tracking plugin doesn’t create duplicates.
- Test mode: send server events to Meta Test Events with your test event code, and a “Send test event” button.
- WooCommerce HPOS and Cart/Checkout blocks compatible. Access tokens are stored on your server only and never printed in the page.
Unified Tracking Hub Pro
Unified Tracking Hub Pro is a separate plugin for stores that need every sale in GA4 too, and proof that it was sent:
- GA4 purchases and refunds from your server (Measurement Protocol), joined to the buyer’s visit.
- A Tracking Hub box and note on every order showing what was sent, with a one-click resend.
- A send log and a live event panel.
- Direct Complianz, CookieYes and Cookiebot support, and Google Consent Mode v2 “advanced” for GA4.
- Cross-domain tracking, product ID as parent ID or SKU, WooCommerce Subscriptions renewals and email support.
Lite is a complete plugin, not a trial. Nothing in it expires or is locked.
Who makes it
Unified Tracking Hub is built and supported by Usman Abbasi (XcoDesigns), a WooCommerce developer who wrote it after seeing the same problem on client stores: Meta showing fewer sales than the store.
External services
This plugin connects to the following third-party services. Nothing is sent until you turn the service on in the plugin settings and enter your own ID or token.
Meta Pixel (browser)
When Meta is enabled with “Browser pixel” on, the Meta Pixel script is loaded from https://connect.facebook.net/en_US/fbevents.js on your shop pages, and shopping events (page views, product views, add to cart, checkout, purchase) are sent from the visitor’s browser to Meta with product IDs, prices and currency. If consent mode is on, this only happens after the visitor gives marketing consent.
Provided by Meta Platforms, Inc.: Terms, Privacy Policy, Meta Business Tools Terms.
Meta Conversions API (server)
When Meta is enabled with “Conversions API” on and an access token is saved, your server sends one Purchase event per paid order to https://graph.facebook.com/{version}/{pixel-id}/events. It contains the order value, currency, product IDs and quantities, the order number, the checkout page address, and customer data hashed with SHA-256 (email, phone, first and last name, city, state, postcode, country, customer ID), plus the buyer’s IP address, browser user agent and the Meta fbp/fbc browser IDs. The “Send test event” button sends one test PageView with your store’s admin email hashed.
Provided by Meta Platforms, Inc.: Terms, Privacy Policy, Meta Business Tools Terms.
Google Analytics 4 (browser)
When GA4 is enabled with a Measurement ID, the gtag.js script is loaded from https://www.googletagmanager.com/gtag/js on your shop pages, and ecommerce events are sent from the visitor’s browser to Google Analytics with product details, prices and currency. If consent mode is on, this only happens after the visitor gives statistics consent.
Provided by Google LLC: Terms of Service, Privacy Policy, Google Analytics Terms.
The plugin itself does not contact any other server. It has no license check, usage tracking or remote updates; updates come from WordPress.org.
Screenshots



Installation
- Install and activate WooCommerce.
- Install Unified Tracking Hub Lite from Plugins › Add New, or upload the zip, and activate it.
- Go to WooCommerce › Tracking Hub. On the General tab, tick Enable Unified Tracking Hub and save.
- On the Meta tab, tick Enable Meta, paste your Pixel (dataset) ID and a Conversions API access token (Events Manager › your dataset › Settings › Conversions API › Generate access token), and save.
- Optional: on the GA4 tab, enable GA4 and paste your Measurement ID.
- If your site uses a cookie banner, set Consent mode to On on the Consent tab.
- To test: in Events Manager › Test events copy the test code, paste it in the Meta tab, turn on Debug mode, click Send test event or place a test order. Turn Debug mode off afterwards.
FAQ
-
Will my purchases be counted twice?
-
No. The browser Pixel Purchase and the server Purchase share the same order-based event ID, so Meta keeps one. Make sure the Meta Pixel isn’t also added by another plugin, your theme or Google Tag Manager. If it is, turn off “Browser pixel” here and keep the Conversions API on.
-
My buyers pay on PayPal and don’t always come back. Does it still work?
-
Yes. The server Purchase is sent when WooCommerce marks the order as paid, not when the thank-you page loads.
-
Which payment gateways work?
-
Any gateway that marks orders as paid in WooCommerce: Stripe, PayPal, WooPayments, Square, Mollie and others. Bank transfer and cash on delivery orders are sent when you set them to Processing.
-
Does it work with the block checkout?
-
Yes. Classic checkout, the Cart and Checkout blocks and HPOS order storage are all supported.
-
That depends on where your customers live. With consent mode off, everything is tracked and you are responsible for your privacy obligations. With it on, Meta waits for marketing consent and GA4 for statistics consent, read through the WP Consent API.
-
I already use Google Tag Manager or another plugin for GA4.
-
Leave GA4 off here and use Lite for Meta only.
-
Is Lite a trial?
-
No. Everything in Lite works forever, with no license and no limits. Pro is a separate plugin with extra features such as server-side GA4 and per-order proof.
-
Where are my access token and settings stored?
-
In your WordPress database only. The token is never printed in your pages, never shown again in the settings, and removed from any log message.
-
How do I upgrade to Pro?
-
Buy Pro at unifiedtrackinghub.com, install and activate it. Pro copies your Lite settings and Lite pauses itself, so you can then delete it.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Unified Tracking Hub Lite – Server-Side Purchase Tracking for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsInterested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.2
- Failed server sends are now retried automatically (up to 5 attempts) when Meta has a temporary error.
- Fewer upgrade hints in the settings.
1.0.1
- Privacy: Meta browser IDs, IP address and user agent are only stored on an order when the visitor gave marketing consent (or consent mode is off).
- Removed unused campaign (UTM) cookies.
- PHP 7.4 compatibility fix.
1.0.0
- First release: Meta Pixel ecommerce events, server-side Meta Conversions API Purchase with deduplication, GA4 browser ecommerce events, consent through the WP Consent API, test mode.