Skip to content
Sign in
AxiTrace for WooCommerce icon

AxiTrace for WooCommerce

Server-side conversion tracking for WooCommerce - Facebook CAPI, TikTok Events API, Google Ads, and GA4 from one plugin.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

AxiTrace for WooCommerce connects your store to the AxiTrace server-side tracking platform at axitrace.com. Every purchase, add-to-cart, begin-checkout, and add-payment-info event is captured and forwarded to your ad platforms – reaching customers that browser-based pixels miss entirely.

Why server-side tracking?

Browser pixels can be blocked by ad blockers, restricted by iOS Intelligent Tracking Prevention, and refused via cookie consent banners. Server-side events travel directly from your WooCommerce server to Facebook CAPI, TikTok Events API, Google Ads, and Google Analytics 4, so conversions are still recorded when the browser pixel cannot fire.

Deduplication so you never double-count

AxiTrace generates a deterministic UUID v5 event ID for every WooCommerce order. The same event ID is attached to both the browser-side purchase pixel fire and the server-side purchase event. Facebook CAPI, TikTok Events API, and Google Ads use that shared event ID to deduplicate automatically – each conversion is counted exactly once, regardless of how many times the confirmation page loads or how many pixels fire.

Server-side AddToCart events

AxiTrace sends AddToCart events server-side, triggered by the WooCommerce woocommerce_add_to_cart hook. This records add-to-cart activity from the server, so the event is captured even when the browser-side pixel is blocked or restricted.

Full checkout funnel

InitiateCheckout carries your real cart total and currency (not a placeholder zero), and AddPaymentInfo fires the moment a shopper selects a payment method – giving Facebook, TikTok, and Google Ads the mid-funnel signal they need to optimize toward checkout completion, not just clicks.

Asynchronous by design – checkout never blocks

All server-side event transmissions are dispatched via WooCommerce Action Scheduler. The HTTP request to AxiTrace’s ingestion API happens in a background job, decoupled from the order placement flow. Checkout latency is unaffected even if the AxiTrace API is momentarily slow or unavailable.

Platform coverage

One plugin. One workspace key. AxiTrace routes your events to whichever ad platforms you connect in your dashboard:

  • Facebook / Meta – Conversions API (CAPI)
  • TikTok – Events API (server-side)
  • Google Ads – Offline Conversion Upload (GCLID-based attribution)
  • Google Analytics 4 – Measurement Protocol

HPOS and Cart/Checkout Blocks compatible

AxiTrace for WooCommerce declares compatibility with WooCommerce High-Performance Order Storage (HPOS) and the modern Cart/Checkout Blocks, so it works correctly on stores that have migrated away from legacy shortcode-based checkout.

WP Consent API support

Consent is governed by your AxiTrace workspace settings, so you flip one switch in AxiTrace and every storefront page follows it – no code, no per-plugin configuration. With that switch on, the SDK writes no cookie, no storage entry and sends no request until the visitor agrees to marketing.

On top of that, the plugin detects the WP Consent API (implemented by Complianz, CookieYes and other consent managers). When one is present, the plugin gates tracking on the marketing category as well: the SDK script loads but stays inert until the visitor allows that category, and a withdrawal made later stops it and deletes the identifiers it wrote. The decision is read in the visitor’s own browser, so full-page caches cannot leak one visitor’s choice to the next, and a later grant starts tracking without a reload. The decision recorded at checkout travels with the purchase, so your AxiTrace workspace can also decide server-side whether a purchase may be forwarded to the ad platforms. This gives your store a ready compliance path without requiring you to build custom integration.

GDPR personal-data tools built in

AxiTrace registers a WordPress personal-data exporter and eraser (wp_privacy_personal_data_exporters / wp_privacy_personal_data_erasers), enabling your store to fulfill GDPR deletion requests directly from the WordPress Tools > Erase Personal Data screen.

Privacy first

Customer email addresses and phone numbers are transmitted in plain text to AxiTrace’s ingestion API at stat.axitrace.com and are SHA-256 hashed inside AxiTrace before being forwarded to any ad platform. No raw PII leaves the AxiTrace platform. See our Privacy Policy at axitrace.com/privacy/ and the == External Services == section below for the complete disclosure.

Free plugin. Paid plans for volume.

The plugin itself is free and open source (GPL v2 or later). An AxiTrace account at axitrace.com is required. Free workspaces are available. Paid plans unlock higher event volumes, longer data retention, and priority support – see axitrace.com for current pricing.

Requires an AxiTrace account at https://axitrace.com/.

External Services

This plugin connects to stat.axitrace.com – the AxiTrace event-ingestion API.

  • Service: AxiTrace conversion tracking SaaS.
  • Endpoint: https://stat.axitrace.com/woocommerce/pixel (POST).
  • When data is sent: on page views (cart, product, checkout, thank-you), add-to-cart events, begin-checkout events, payment-method selection at checkout, and order placement / payment completion.
  • Data transmitted: order ID, plain-text billing email (hashed downstream by AxiTrace), billing phone, billing city/country/zip, order total + currency, line items (SKU, name, quantity, price), user agent, IP address, AxiTrace session/user identifiers, ad click ids from the page URL or the first-party cookies the AxiTrace tracking script stores them in (gclid, gbraid, wbraid, ttclid, rdt_cid, oppref, msclkid, twclid, epik, li_fat_id, sccid; only the bare id is sent, and a stored id older than its click window – 90 days for Google, TikTok, Microsoft and X, 60 for Pinterest, 30 for LinkedIn, 28 for Reddit, OpenAI Ads and Snapchat – is not sent), or, for Microsoft, X, Pinterest and LinkedIn, from the cookie the platform’s own tag sets (_uetmsclkid, _twclid, _epik, li_fat_id; read only, never changed), ad-platform browser cookies (fbc, fbp, ttp, rdt_uuid, obref, Google Analytics client and session), UTM parameters, page URL/referrer/title.
  • Why: to forward the conversion to Facebook CAPI, TikTok Events API, Google Ads, GA4, and other ad platforms configured in your AxiTrace workspace.
  • Terms of Service: https://axitrace.com/terms/
  • Privacy Policy: https://axitrace.com/privacy/

Optional profit tracking (secret key)

Only when you enter an AxiTrace secret key in the settings (in AxiTrace under Settings, in the Container Information card, as Secret Key):

  • Server-side purchases to /woocommerce/pixel additionally carry each line item’s unit cost from the WooCommerce Cost of Goods Sold field, and the request is authenticated with the secret key (HTTP Basic). The cost is never sent from the shopper’s browser.
  • Refunds and cancellations of paid orders are sent to https://stat.axitrace.com/v1/refund (POST): order ID, refund ID and date, refunded amount and currency, and the refunded line items (SKU, catalog ID, quantity, amount). No customer personal data is included.

Optional first-party tracking domain

You may optionally configure a custom first-party subdomain under WooCommerce Settings Integrations AxiTrace “First-party tracking domain”. When set to e.g. metrics.your-store.com (which you set up in your AxiTrace workspace and verify via CNAME to stat.axitrace.com), the SDK and ingestion endpoint load from your own domain instead of stat.axitrace.com. The data transmitted, the endpoint path (/woocommerce/pixel), and the recipient (AxiTrace) remain identical – only the hostname changes. This is purely a delivery optimization that helps bypass client-side blocking; no third-party service is added.

When this field is empty, the plugin uses the default stat.axitrace.com endpoint described above.

Auto-detect lookup endpoint

When the merchant clicks the “Detect from AxiTrace” button on the settings page, the plugin makes a single server-to-server GET request to https://axitrace.com/api/public/workspace/tracking-domain?key={public_key} (AxiTrace admin host – separate from the ingestion host stat.axitrace.com) to look up the default verified domain registered for that workspace. The request contains only the merchant’s own workspace public key (already exposed in every browser event); no customer or visitor data is sent.

Written by Joobi from the project's own listing. See the source page

conversion trackingFacebook Pixelgoogle analyticsServer Side Trackingwoocommerce
23 Nov 2026
Version 1.6.1 released. Not scanned yet.

1.6.1

  • Fix: on stores running Facebook for WooCommerce 3.7 or newer, orders reached Meta without the visitor’s Meta browser id (_fbp) and click id (_fbc). That plugin adds a short extra part to both cookies, which this plugin did not accept. Both are now sent to Meta unchanged, so Meta matches more of your orders to your ads.
  • Fix: search engines and site scanners that open “add to cart” links were counted as shoppers adding to cart. Crawlers are now skipped; real shoppers and every order are still recorded.
  • Fix: in a store without SKUs, AxiTrace’s product report could not connect a product view, its add to cart and its purchase. The plugin now sends the same product id with all three, and a variation is reported with its parent product.

1.6.0

  • New: your store domain is verified with AxiTrace automatically. Before, AxiTrace refused the page views, add-to-carts and checkouts sent from the store’s pages until you added and verified the store domain in AxiTrace by hand; only the purchases sent from the server arrived. The plugin now asks AxiTrace to verify the domain when you save the settings, when it is activated and once a day, and answers AxiTrace’s check on your home page (/?axitrace_domain_proof=). No DNS change is needed.
  • New: the settings page shows whether the store domain is verified, and every wp-admin page shows a notice while AxiTrace refuses the store’s browser events, with the reason in plain words and a “Verify store domain” button.

1.5.4

  • Fix (critical): with the classic (shortcode) checkout, placing an order ended in a fatal error. The order was created but stayed “Pending payment”, the customer saw an error instead of the thank-you page and WooCommerce cancelled the order later. This affected every payment method, cash on delivery included, from 1.0.2 to 1.5.3. Stores on the Checkout block were not affected. Update right away if your store uses the classic checkout.
  • Fix: on PHP 8.1 the checkout page sent begin_checkout (InitiateCheckout) with value 0 and no currency. The cart value and currency are sent again. PHP 8.2 and newer were not affected.
  • Fix: every hook the plugin listens to now accepts whatever WooCommerce, or another plugin firing the same hook, passes. A value of an unexpected type is ignored instead of stopping the page.
  • Change: a failure inside the plugin is now written to WooCommerce > Status > Logs (source “axitrace”) on every store. Before, it was only written to debug.log when WP_DEBUG was on.
  • Tested with WordPress 7.1.5, WooCommerce 11.3.0 and PHP 8.4.

1.5.3

  • Fix: a secret key AxiTrace does not recognise is now reported: a critical log entry, a note on the order and a warning on the settings page. Before, every order quietly lost its product costs.
  • Fix: refunds name the workspace they belong to, so a secret key copied from another workspace can no longer record them there.
  • Change: with a secret key (profit tracking) and server-side events on, the purchase is sent only by the server, which carries the product costs. AxiTrace keeps the first purchase it receives for an order, and the copy sent from the confirmation page, which never carries costs, would otherwise always arrive first.
  • Fix: the purchase sent from the order confirmation page was rejected by AxiTrace (HTTP 400) because the buyer’s email was handed to the tracking script in the wrong shape. Only the background server-side purchase reached AxiTrace; now both do, and whichever arrives first is kept.
  • Fix: shoppers who had completed a purchase with an earlier version carried a broken user id ([object Object]) in the vt_uid cookie and were all reported as the same person. The broken value is removed on their next page view.

1.5.2

  • Add: server-side purchases and add-to-cart events now carry the Microsoft Advertising (msclkid), X (twclid), Pinterest (epik), LinkedIn (li_fat_id) and Snapchat (sccid) click ids. The AxiTrace tracking script 0.24.0 stores them on the landing page like the Google and TikTok ones, in the cookies _axi_msclkid, _axi_twclid, _axi_epik, _axi_li_fat_id and _axi_sccid.
  • Each one is read from the page URL first (Snapchat’s own ScCid parameter as well as sccid), then from the AxiTrace cookie while it is inside the platform’s longest click window (90 days for Microsoft and X, 60 for Pinterest, 30 for LinkedIn, 28 for Snapchat), and finally from the cookie the platform’s own tag sets (_uetmsclkid, _twclid, _epik, li_fat_id). Those platform cookies are only read, never changed. An old click replayed from a bookmarked link is not sent.
  • The ids are stored on the order at checkout like the other click ids, so the purchase sent later in the background still carries them. Uninstall removes the new order meta keys.

1.5.1

  • Fix: server-side purchases and add-to-cart events now carry the Google Ads click ids (gclid, gbraid, wbraid) and the TikTok click id (ttclid). They were never read, so a purchase made after a Google or TikTok ad click reached AxiTrace without the click, and Google Ads and TikTok could not attribute it to the ad.
  • Fix: the Reddit click id is now sent as the bare id. Earlier versions sent the whole stored cookie value (v2|<time>|<id>), which Reddit cannot match to a click. Orders placed before the update are sent with the bare id as well.
  • Add: the OpenAI Ads click id (oppref) and browser reference (__obref cookie) are captured and forwarded.
  • Each click id is read from the page URL first (a fresh ad click) and otherwise from the cookie the AxiTrace tracking script stored it in on the landing page, with the same limits the script applies: a click older than 90 days (28 days for Reddit and OpenAI Ads) is not sent, and neither is an old click replayed from a bookmarked link.
  • The ids are stored on the order at checkout, so the purchase sent later in the background, after a payment gateway callback, still carries them.
  • Fix: an order marked as paid by a store manager in wp-admin (for example a bank transfer) no longer picks up the manager’s own browser cookies and ad clicks.
  • Uninstall now also removes the new order meta keys.

1.5.0

  • Add: profit tracking support. A new optional “AxiTrace secret key” setting. With it, server-side purchases carry each product’s cost from the WooCommerce Cost of Goods Sold field (WooCommerce 9.5 or later, when the feature is on), so AxiTrace can report profit and POAS next to revenue and ROAS. Without the key no cost data and no refunds are sent; purchases only gain the tax flag and line identity described below.
  • Add: with the secret key, refunds (partial and full) and cancellations of paid orders are reported to AxiTrace so profit and POAS account for them. Revenue, ROAS and the ad platforms are not affected.
  • Add: purchases carry whether your catalog prices include tax and a catalog identity per line item (woocommerce:<product or variation id>), used to match products to the costs in your AxiTrace workspace.
  • Add: if AxiTrace rejects the secret key, purchases are still delivered (without costs) and the rejection is logged critical in WooCommerce > Status > Logs and noted on the order.
  • Fix: refunds and cancellations are matched to their purchase by the order number, so stores with an order-numbering plugin are covered.
  • Product costs are never added to a storefront page or to the browser-side purchase; they travel only in the server-side request authenticated with the secret key.

1.4.0

  • Change: consent is now governed by your AxiTrace workspace settings. The tracking SDK is loaded on every page and asks AxiTrace whether it may run, so turning “Respect cookie consent” on in your workspace gates every storefront page – including stores with no consent plugin at all – without touching any code.
  • Change: with the WP Consent API present the SDK is still gated on the marketing category, but it is now the SDK itself that stays inert (no cookie, no storage, no request) instead of the script not being loaded. The site gate and the workspace policy apply together, so a page can only tighten the workspace setting, never loosen it.
  • Add: a consent withdrawal reported by wp_listen_for_consent_change now stops tracking immediately and deletes the identifiers AxiTrace wrote, instead of taking effect only on the next page view.

1.3.0

  • Fix: the browser-side purchase on the thank-you page never fired on stores with pretty permalinks (the default), so the Meta Pixel bridge never engaged for purchases. It now reads the order from the order-received query var.
  • Fix: the browser-side purchase now carries the full order (line items, phone, name, billing address, order number, tax, shipping). AxiTrace keeps whichever of the two purchase events arrives first; a thin browser event would have left the ad platforms without buyer data.
  • Fix: the browser-side purchase fires only for orders WooCommerce considers paid. On-hold bank transfers and pending gateway returns are reported by the server-side event once the payment lands.
  • Fix: server-side AddToCart now carries the shopper’s AxiTrace visitor and session ids, real IP and User-Agent, ad-platform cookies, value and line item instead of the shop server’s identity.
  • Fix: the SDK now loads on every storefront page. Homepage, landing pages and blog posts were skipped, so ad clicks landing there were never attributed.
  • Fix: WP Consent API support actually works now, is cache-safe (the decision is made in the browser), gates on the marketing category, and a later grant boots the SDK without a reload.
  • Fix: transient delivery failures (AxiTrace unreachable, timeout, 5xx) are retried with backoff for up to 24 hours instead of being lost after the first attempt.
  • Add: purchases carry the human-readable order number (GA4 transaction_id), gross tax, shipping and discount amounts, a catalog id per line item, and the shopper’s consent decision.

1.2.1

  • Fix: the links in this listing and on the settings screen pointed at pages that do not exist. “Visit plugin site” led to axitrace.com/woocommerce and the install instructions sent you to axitrace.com/admin; both answered with an error page. They now point at the WooCommerce integration page and the sign-in page. No tracking behaviour changes – upgrading is optional.

1.2.0

  • Add: purchase events now include the shopper’s first name, last name and state/province from the billing address. Facebook Conversions API and TikTok Events API hash and match on these, so including them measurably improves event match quality.
  • Add: the TikTok browser ID (_ttp) and Reddit browser and click IDs (_rdt_uuid, _rdt_cid) are captured at checkout and forwarded, so TikTok and Reddit receive an identifier of their own instead of matching on e-mail alone.
  • Add: the Google Analytics client and session cookies are captured at checkout, so the server-side purchase reaches GA4 as the shopper’s own session instead of an unattributed new user.
  • Add: the AxiTrace visitor and session IDs are captured and sent as the external ID, stitching the server-side purchase to the shopper’s browsing profile. The WooCommerce customer ID could not serve this purpose: it is a WordPress user ID and is empty for guest checkouts.

1.1.0

  • Fix: InitiateCheckout (begin_checkout) now reports the real cart total and currency instead of value=0. Also deduplicated to fire once per checkout session instead of on every reload.
  • Add: AddPaymentInfo now fires when a shopper selects a payment method on the checkout page (classic/shortcode checkout), giving ad platforms a mid-funnel signal between InitiateCheckout and Purchase.
  • Fix: AddToCart no longer double-fires. It was previously tracked independently from both the server and the browser with no shared ID, recording every add-to-cart twice. The server-side hook (which covers every add-to-cart path, including ad-blocked and JS-disabled browsers) is now the sole source; the redundant browser-side listener was removed.

1.0.2

  • Improvement: purchase events now include the customer’s own Meta browser pixel cookies (_fbp/_fbc) when present, captured at checkout time and forwarded to Facebook Conversions API for better browser/server event matching. No change for stores without their own Meta Pixel.

1.0.1

  • Fix: settings saved through WooCommerce > Settings > Integrations > AxiTrace are now read correctly at runtime. The public key, server-side events toggle, and tracking domain entered in the form are picked up immediately. Previously these values were not detected, so no events were sent. Re-saving the settings is not required after upgrading.

1.0.0

  • Initial release.
  • Server-side purchase event via Action Scheduler.
  • Deterministic UUID v5 dedup for Facebook CAPI, TikTok, Google Ads, GA4.
  • Server-side AddToCart event for ad-blocked customers.
  • HPOS and Cart/Checkout Blocks compatibility.
  • WP Consent API detect-and-check support.
  • GDPR personal-data exporter and eraser hooks.
20 May 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)