UniPixel: Meta, Pinterest, TikTok, Google & Microsoft Server-Side Tracking for WooCommerce
Send conversion events from your WordPress server to Meta, Pinterest, TikTok, Google, Microsoft and ChatGPT Ads.
Install in
Ad blockers, iOS privacy changes and cookie restrictions mean your browser-based tracking pixel is only reporting a fraction of your actual conversions. Your ads cannot optimise on data they never receive.
UniPixel fixes this by sending conversion events from your WordPress server straight to Meta, Pinterest, TikTok, Google, Microsoft and ChatGPT Ads, alongside the browser pixel, with one shared ID so each event counts once. No external cloud hosting, no GTM server container. Install, paste your credentials, and server-side tracking is live.
What It Does
- Meta Conversion API (CAPI): server-side and client-side event sending with full deduplication.
- Pinterest Conversions API: server-side and client-side tracking with full deduplication.
- TikTok Events API: server-side and client-side tracking with automatic deduplication, and TikTok’s standard Page View from the pixel.
- Google Analytics 4: browser events through Google’s tag and server-side events through the Measurement Protocol.
- Google Ads: link your Google Ads account in Google Setup and choose which key events (a purchase, an enquiry) go to Google Ads as conversions, sent directly from the browser with the order value and number, plus remarketing. Purchases carry hashed customer data for enhanced conversions. Or import key events from Google Analytics instead.
- Microsoft UET & Conversions API: client-side tracking via UET with early support for Microsoft’s Conversions API (CAPI) pilot program. WooCommerce events and custom events supported.
- ChatGPT Ads (OpenAI): measurement pixel and Conversions API with shared event IDs, for the WooCommerce events and your own site events.
- WooCommerce events: ViewContent, AddToCart, InitiateCheckout and Purchase tracked automatically with full product data (names, categories, variants, values).
- Custom events: create your own click, view and interaction events for any WordPress page. Not limited to WooCommerce.
- Automatic deduplication: each event gets a unique ID shared between client and server, so platforms count it once. Google Analytics only merges purchases (by order number), so for its other events UniPixel sends either the browser copy or the server copy, not both.
- Built-in consent management: a consent popup with built-in translations for 18 languages, editable wording per language, 5 layout styles (centred card, top or bottom bar, bottom-left or bottom-right corner), optional non-blocking mode, and a Reject all button toggle. Google’s and Microsoft’s tags get the visitor’s choice too. Or skip the popup entirely and let UniPixel read consent from your existing CMP: supports OneTrust, Cookiebot, Osano, Silktide, Orest Bida, Complianz, CookieYes, Moove GDPR, and CookieAdmin (Softaculous).
- Live event testing: real-time console shows events as they fire, with full payload data.
- Event logging: optional database storage of every event sent, for debugging and audit.
Why Server-Side Tracking Matters
Many visitors run ad blockers, Safari limits the cookies tracking scripts can keep, and iOS asks people whether apps may track them. When your tracking relies only on a browser pixel, these restrictions silently discard your conversion data.
Server-side tracking sends conversion data from your server to the ad platform’s API. A browser ad blocker can’t block a call your server makes, and browser cookie limits don’t apply to it. The result: your ad platforms see more of your real conversions, optimise better, and your ad spend works harder.
Why UniPixel
UniPixel sends API calls directly from your own WordPress server. No GTM server container, no external cloud, no routing your data through third-party services.
- Meta, Pinterest, TikTok, Google, Microsoft and ChatGPT Ads: server-side and client-side tracking for all six platforms (Google Ads conversions are sent from the browser).
- No GTM required: no server container setup, no custom subdomain, no separate hosting.
- No external cloud: your data goes from your server to the ad platform. Nothing in between.
- Works on any WordPress site: WooCommerce stores get automatic ecommerce event tracking. Non-WooCommerce sites use custom events for lead gen, SaaS, content or anything else.
- Guided setup: a setup wizard for each platform. Paste your Pixel ID and access token, and Test Connection tells you whether it works.
Optional Advanced Matching sends hashed user data (email, phone, address) alongside events to help platforms improve Event Match Quality.
Tips
Deduplication
UniPixel automatically prevents duplicate counting when both client-side and server-side events are enabled.
Each event is assigned a unique event_id when triggered. This same ID is sent to both the browser pixel and the server API, allowing platforms to merge identical events.
- Meta (Facebook / Instagram): uses
event_idto match Pixel and Conversion API events so they count once. - Pinterest: uses
event_idto match Tag and Conversions API events for full deduplication. - TikTok: uses shared event IDs across Pixel and Events API for deduplication. TikTok’s Page View comes from the pixel only; TikTok has no server-side page view.
- Google Analytics: uses the visitor’s own
client_idandsession_idso server events land in the same visit, and counts a purchase once by its order number. Its other events are sent once, from the browser or the server (your choice per event). - Google Ads: conversions are sent from the browser with the order number, so a reloaded thank-you page doesn’t count twice.
- Microsoft (Bing / UET): uses
eventIdto match UET tag and Conversions API events for deduplication. - ChatGPT Ads: the pixel’s
event_idmatches the Conversions API event’sid.
No extra setup is required. UniPixel handles ID creation and matching automatically.
Privacy and 3rd Party Services
This plugin sends event data to external services for analytics and advertising purposes. Data is only sent to platforms you have enabled in UniPixel settings.
- Meta (Facebook) Pixel and Conversion API: Sends user event data (e.g., PageView, Purchase) to Meta for tracking and ad optimisation.
- Pinterest Tag and Conversions API: Sends event data to Pinterest for ad tracking and campaign optimisation.
- TikTok Pixel and Events API: Sends event data to TikTok for ad tracking and campaign optimisation.
- Google Analytics and Measurement Protocol: Sends event data to Google Analytics (GA4) through Google’s tag and the Measurement Protocol.
- Google Ads: When you link Google Ads, sends the key events you choose to Google Ads as conversions through Google’s tag, and Google’s tag runs remarketing.
- Microsoft UET and Conversions API: Sends event data to Microsoft for ad tracking and conversion optimisation via Bing Ads.
- ChatGPT Ads (OpenAI) pixel and Conversions API: Sends event data to OpenAI for ad measurement and optimisation in ChatGPT Ads.
Domains
This plugin communicates with the following domains:
– Meta (Facebook):
– https://connect.facebook.net
– https://www.facebook.com
– https://graph.facebook.com
– Google:
– https://www.google-analytics.com
– https://www.googletagmanager.com
– https://www.googleadservices.com, https://googleads.g.doubleclick.net and https://www.google.com (Google Ads, when linked)
– Pinterest:
– https://api.pinterest.com
– https://s.pinimg.com
– https://ct.pinterest.com
– TikTok:
– https://analytics.tiktok.com
– https://business-api.tiktok.com
– Microsoft:
– https://bat.bing.com
– https://capi.uet.microsoft.com
– OpenAI (ChatGPT Ads):
– https://bzrcdn.openai.com
– https://bzr.openai.com
– Buildio:
– https://buildio.dev
Data Sent
Data sent to these domains may include:
– User interactions (e.g., clicks, page views, purchases)
– IP address and user agent (collected by tracking mechanisms)
– Custom event data such as purchase amount, currency, and transaction ID (depending on configuration)
– Diagnostic information may be sent to Buildio to assist with plugin performance and bug fixes, including site URL, IP address and basic interactions. No sensitive information or keys are sent.
Privacy and Terms
For more details on privacy policies and terms of use, please visit the following links:
- Meta (Facebook) Privacy Policy
- Meta (Facebook) Terms of Service
- Google Privacy Policy
- Google Terms of Service
- Pinterest Privacy Policy
- Pinterest Terms of Service
- TikTok Privacy Policy
- TikTok Terms of Service
- Microsoft Privacy Statement
- Microsoft Advertising Agreement
- OpenAI Privacy Policy
- OpenAI Terms of Use
- UniPixel Privacy Policy
License
This plugin is licensed under the GPLv2 or later.
Written by Joobi from the project's own listing. See the source page
2.7.1
- Fix: An add to cart is now sent once to each platform. With some themes it was sent again on the pages that followed.
2.7.0
- New: ChatGPT Ads (OpenAI) as a sixth platform: browser pixel and Conversions API, WooCommerce and site events, consent built in.
- New: Google Ads conversions sent directly. In Google Setup, choose how Google Ads gets your sales and enquiries, and send them straight from your site with their value and order number. Remarketing included.
- New: Google gets your customers’ details, hashed, on purchases for enhanced conversions when Advanced Matching is on.
- New: Advanced Matching explained platform by platform, with the step each ad account needs.
- New: The Event Manager lists every site event, with the platforms it goes to.
- Change: Google Tag Manager mode is no longer offered for new setups. Sites using it keep working, and Google Setup now shows them that support will end in a future update, and how to move.
- Change: Requires WordPress 6.2 or newer (UniPixel already relied on it; the readme said 5.0).
- Fix: Phone numbers get the right country code before matching.
- Fix: Microsoft and TikTok get email and phone in the format each one matches on.
- Fix: Pinterest site events with capital letters no longer count twice.
- Fix: Microsoft page views are counted once.
- Fix: Meta purchases include the order ID and item count.
- Fix: UniPixel’s Google events go only to its own Google tag.
- Fix: A repeat order of the same items in one visit now sends its checkout event.
- Fix: Stored Event Logs show the right time on every server.
- Fix: With UniPixel’s consent banner, Google now gets the visitor’s choice (Consent Mode): no ad cookies or remarketing until they accept.
- Fix: Stored Event Logs show events blocked by consent as “Blocked by consent”.
- Fix: With CookieAdmin (Softaculous), the visitor’s choice now reaches UniPixel’s browser events, so they go after the visitor accepts.
- Fix: With another plugin’s consent banner, the page right after the visitor accepts or declines now follows their choice (it used the one before).
- Fix: OneTrust and Orest Bida’s Cookie Consent choices are read correctly on the server and in the browser.
- Fix: Site events on a click or a shown element now also work for elements added after the page loads, such as a form’s thank-you message or a popup.
- Fix: Osano and Silktide consent choices are now read (UniPixel never could before).
- Fix: Cookiebot and Moove (GDPR Cookie Compliance) choices are now read, so events go after the visitor accepts (with “Honour User Consent Settings” on, they were never sent).
- Fix: TikTok now gets its standard Page View (it was arriving as a custom event).
- Fix: Product views are no longer counted for robots that pose as browsers: the server copy is sent once the page runs in a real browser, with the same ID as the browser copy.
- Improvement: A warning when you save a site event that can’t fire.
- Improvement: Clearer setup status on the home page and setup pages.
2.6.15
- Fix: Meta and TikTok product views on variable products now match your product catalog.
- Fix: A site event with an invalid element no longer stops your other site events from working.
- Fix: Meta “Test Connection” no longer reports a working access token as invalid, and shows Meta’s reason when a test fails.
- Improvement: Better visitor matching for TikTok server-side events.
- Improvement: Google server-side events now pass on the visitor’s ad consent choice.
- Improvement: Adding a pixel ID on a setup page now switches tracking on for that platform.
2.6.14
- Improvement: Google server-side tracking now works for visitors whose browsers block Google’s tag.
- Improvement: Google server-side events now include visitor location and device details.
- Improvement: More accurate visitor matching on sites behind Cloudflare or other CDNs.
- Improvement: Google page views now default to browser-only tracking, avoiding double counting.
- Fix: Google “Test Connection” events now appear in GA4 DebugView, with clearer instructions.
- Improvement: Admin UI improvements, including a show/hide button for API keys and refreshed branding.
2.6.13
- Fix: Reliability improvements to WooCommerce purchase tracking, including order confirmation pages.
- Fix: Improved event matching for Pinterest and Google Analytics.
- Fix: Consent handling for OneTrust users, and checkout tracking for Microsoft Advertising.
- Stability improvements. Now requires PHP 8.0 or newer.
2.6.12
- General platform improvements and security updates.
2.6.11
- Fix: Remove jQuery dependency, fixes some events not firing if jQuery not available.
- Fix: Improvements to connection testing function (UX).
2.6.10
- New: Delete all stored event logs from General Settings, to empty the log if it has grown large.
2.6.9
- New: Guided setup wizards for every platform (Meta, Google, TikTok, Pinterest, Microsoft), each with a “Test Connection” button that checks your credentials and tells you in plain English whether you are connected.
- Improvement: Setup pages now separate client-side and server-side tracking into clear sections. Client-side gets you tracking with just a Pixel ID; server-side is presented as the recommended next step rather than a requirement.
- Fix: Improved performance on sites where the Stored Event Logs had grown very large.
- Fix: Resolved an “Ajax request failed” error that could appear when saving platform settings on hosting that displays PHP warnings.
- Fix: Saving a platform’s setup page no longer switches off that platform’s server-side PageView setting.
2.6.7
- Renamed “Custom events” to “Site events” across the admin for clearer wording.
- Added help icons in the Event Manager.
- Fixed – issue with plugin debugging settings causing WordPress error in some scenarios.
2.6.6
- New: Centralised Event Manager. New admin page where you can set up a custom event across every platform in one go. Pick a conversion type (Lead, Newsletter Signup, Contact, Registration, Search or your own) and UniPixel fills in each platform’s standard event name automatically.
- New: URL-based trigger for custom events. Fire when a visitor lands on a specific page (great for thank-you pages, lead pages, post-checkout pages). Pick a page from your site, match a wildcard pattern like /thank-you*, or fire on every page.
- New: Standard event name picker. When adding custom events you now choose from each platform’s standard event list (Lead, Contact, Subscribe and the rest) instead of typing them by hand. Custom names are still supported.
- Improvement: Fire-once-per-session guard on URL events stops conversion events double-counting if the visitor reloads the page.
- Improvement: Google client/server mutual exclusion rule enforced inline in the Event Manager (Google permits one or the other for non-Purchase events).
- Improvement: Disabled-platform hint with quick links so you can enable a platform straight from the Event Manager.
- Improvement: Home dashboard reorganised. New full-width Event Manager card. Pinterest moved to the right with its brand pink.
2.6.5
- New: Optional “Reject all” button — give visitors a one-click way to decline tracking.
- New: Popup layout options — choose centred card, full-width top or bottom bar, or a small corner card to fit your site.
- New: Optional non-blocking mode — let visitors keep browsing while the popup stays visible (tracking still pauses until they choose).
- New: Now compatible with CookieAdmin (Softaculous) consent banner — UniPixel reads its choices automatically.
- Improvement: Popup is mobile-friendly — buttons stack cleanly on phones and corner layouts.
- Fix: Popup animation no longer drifts horizontally when it appears.
2.6.4
- New: Multi-language consent popup — built-in translations for 18 languages (Spanish, French, German, Italian, Portuguese, Dutch, Polish, Japanese, Chinese, Korean, Turkish, Arabic, Russian, Swedish, Czech and more), matched to each visitor’s language automatically.
- New: Editable popup text — change any wording in any language from the admin to match your brand or jurisdiction.
- New: Popup language control — auto-detect the visitor’s language or force a specific one.
2.6.3
- Fix: Improved compatibility with WordPress themes and configurations. Event tracking now works reliably across all WordPress sites.
2.6.1
- Fix: Resolved a compatibility issue that could prevent activation on some hosting environments.
2.6.0
- New: Microsoft WooCommerce events — Purchase, AddToCart, Checkout and ViewContent now tracked automatically for Microsoft Advertising, with support for Microsoft’s new Conversions API (CAPI) pilot program.
- New: Microsoft admin experience — updated events page with one-click recommended settings.
- Improvement: AddToCart tracking now works across more WordPress and WooCommerce configurations, delivering more accurate conversion data to all five platforms.
- Improvement: Checkout events now register unique purchase intent more accurately, improving conversion reporting for ad platform optimisation.
2.5.4
- Fix: Resolved an issue affecting WooCommerce event tracking introduced in 2.5.3. All events now fire correctly.
2.5.3
- New: Advanced Matching — automatically sends hashed user data (email, phone, name, address) with events to Meta, TikTok and Pinterest. Improves Event Match Quality scores for better attribution. Enable via General Settings.
- Improvement: Event matching and data quality improvements across all platforms.
2.5.2
- New: Pinterest Conversions API — full server-side and client-side tracking with deduplication. WooCommerce events (Purchase, AddToCart, InitiateCheckout, ViewContent), PageView, and custom events all supported.
2.5.1
- New: Server-side tracking is now optional per platform — start with client-side only and enable server-side when ready.
- Improvement: Access tokens no longer required during initial setup. Add them later to activate server-side tracking.
2.5.0
- New: Consent support added for Complianz, CookieYes, and Moove GDPR — nine consent managers now supported in total.
- Improvement: Simplified consent settings — choose between UniPixel’s built-in banner or your existing consent manager. UniPixel detects and respects choices automatically.
- Help and documentation improvements.
2.4.0
- Improvement: Richer product data — variant, category and item-level values now sent across all WooCommerce events for better reporting in Meta, TikTok and Google.
- Improvement: Better cookie handling for fbclid and gclid click attribution.
- Fix: TikTok deduplication — conversions are no longer double-counted.
- Fix: AddToCart now reports the correct item value and correctly identifies variable products (sizes, colours, etc.).
2.3.2
- Improvement: Dashboard updates, all three platforms now shown on the home page.
- Improvement: Consent popup width adjustment and copy refinement.
2.3.1
- Bug fix: important code update to fix a function that created an error
2.3.0
- New: TikTok now added! Track events both client-side and server-side to TikTok’s Event API.
2.2.0
- New: Comes with Consent Management Banner now built in to UniPixel. Easy configuration and one-click compliance for your site along with the benefits of server-side events.
2.1.4
- Minor updates and fixes:
- Improved Orest Bida cookie consent detection and handling (2.1.1 – 2.1.3)
- Small database schema update and upgrade fix (2.1.4)
2.1.0
- New: Control over both client-side setting and server-side setting for all of your events, including PageView, WooCommerce events and your own custom events.
- New: Easy to apply “Use Recommended Settings” button, to make setup much easier.
- New: Better settings for Google events, clearer separation of Client-side and Server-side choices
- New: Testing Console that supports seeing your events fire in real time to support better debugging and setup.
- New: Better options and control over storing/logging of all the vents that are fired, with more information too.
- New: Google PageView events now supports client-side and new server-side sending options.
Follow this listing's changes (Atom feed)