Description
KePixel Server-Side Tracking for WooCommerce connects your WordPress site or WooCommerce store to KePixel, a no-code server-side tracking and Conversion API platform. WooCommerce is optional: without it the plugin tracks leads, forms, contact clicks and page views; with it, ecommerce events are added automatically.
Ad blockers, browser privacy rules and short cookie lifetimes make browser pixels miss a large share of purchases. KePixel sends your store’s events through your own first-party server container, so ad platforms receive more complete, better-matched conversions.
What the plugin does
- Loads your KePixel Google Tag Manager web container (no separate GTM plugin needed), and keeps GTM Preview working across pages.
- Sends standard ecommerce events: page_view, view_item_list, select_item, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase, refund, coupon_applied, checkout_error, payment_failed, login and sign_up.
- Sends lead and contact events: form_submit and generate_lead (Contact Form 7, Elementor Forms, WPForms, Gravity Forms, Fluent Forms, Forminator, HubSpot and generic forms), WhatsApp, phone and email clicks, file downloads, wishlist and promotion events.
- Captures first-touch and last-touch attribution (UTM parameters, gclid, fbclid, ttclid, Snapchat and LinkedIn click ids) for 90 days and shows it on each WooCommerce order.
- Gives every event a unique event_id, so browser and server sends are deduplicated by Meta, TikTok, Snapchat and Google.
- Works with full-page caches (WP Rocket, LiteSpeed Cache, Cloudflare APO, Varnish): per-visit ids are generated in the browser.
From the KePixel dashboard you then route these events to Meta Conversions API, Google Ads, GA4, TikTok Events API, Snapchat Conversions API, LinkedIn and more, with no code.
Requirements
- A KePixel account (kepixel.online).
- WooCommerce 8.0 or newer (installed and active).
External services
This plugin connects to the following services. It only does so after you enter your KePixel connection details and enable it in Settings KePixel Tracking.
Google Tag Manager (Google LLC) — the plugin loads your web container script from www.googletagmanager.com on every front-end page, and an iframe fallback for visitors without JavaScript. Google receives the standard request data (visitor IP address, user agent, page URL). Terms of Service · Privacy Policy
KePixel (Kepixel Solutions, LLC) — your GTM container forwards the store events listed above to your KePixel server-side tagging endpoint (a *.sgtm.kepixel.online address or your own first-party subdomain). Each event contains the event name and id, page URL and referrer, consent state, cart or order items and value, attribution ids and, when available, the customer’s email, phone and name. If you enable the server-side purchase send, the plugin itself also sends the purchase event from your server to that endpoint when an order is paid. KePixel then delivers the events to the ad and analytics platforms you connect in your KePixel dashboard. Terms and Conditions · Privacy Policy
I exclude scripts from JavaScript delay/combine in my cache plugin. What do I exclude?
Exclude googletagmanager.com, data-kpx, KEPIXEL_WC and dataLayer. Before 2.3.3 the plugin’s settings object was called KPX_WC_V2: if you already exclude KPX_WC_V2, also exclude KEPIXEL_WC (keep both while any older copy may still be installed).
Source code
All JavaScript in this plugin (assets/js/tracker.js and the small inline scripts printed by includes/class-kepixel-wc-plugin.php) is hand-written, readable source. There is no build step, bundler or minification: the files you install are the source.
Screenshots

Installation
- Install and activate the plugin from Plugins Add New (search for “KePixel”).
- In your KePixel dashboard, open Sources WordPress and copy your connection details.
- In WordPress, go to Settings KePixel Tracking, paste the Web GTM Container ID, Workspace ID, Client ID, Site ID, Source ID and Runtime Binding ID, tick “Enable KePixel” and save.
- Back in KePixel, the source turns green as soon as the first events arrive.
Already using an older KePixel plugin copy uploaded from the dashboard? Install this one, then deactivate the old copy. Settings are carried over automatically, so nothing has to be re-entered. While both are active this copy pauses itself so events are never sent twice.
FAQ
-
Do I still need a separate Google Tag Manager plugin?
-
No. This plugin loads your KePixel GTM container itself. If another plugin or your theme already loads the same container, remove that one to avoid duplicate events.
-
Which customer data is collected?
-
Only what ad platforms use for matching: email, phone, first and last name (from the checkout form or the logged-in customer), plus attribution ids and the order’s items and value. Passwords, payment card fields, uploaded files and free-text message bodies are never collected. See “External services” below.
-
Does it respect consent?
-
Events go through your Google Tag Manager container, where Google Consent Mode and your consent banner decide which tags may fire. The optional server-side purchase send stays off unless your site reports granted consent through the
kepixel_wordpress_consent_statefilter (return['analytics_storage' => 'granted']only when your consent tool says so). The pre-2.3.3 namekpx_wordpress_consent_statestill works but is deprecated. -
Does it work with page caching?
-
Yes. Events that have no order or business key get a fresh id in the browser on every visit, so a cached page never makes visitors share one event.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“KePixel Server-Side Tracking for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “KePixel Server-Side Tracking for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.3.4
- WooCommerce is now optional. The plugin activates and tracks leads, forms, contact clicks and page views on any WordPress site. WooCommerce ecommerce events (product views, cart, checkout, purchase, refund) are added automatically when WooCommerce is active. Removed the
Requires Plugins: woocommerceheader, which stopped the plugin from activating on lead-generation sites.
2.3.3
- WordPress.org review: the plugin now declares that it requires WooCommerce (Requires Plugins header).
- WordPress.org review: every plugin name now uses the
kepixelprefix instead ofkpx(settings optionkepixel_wc_settings, order and user meta_kepixel_*, settings pagekepixel-wc, consent filterkepixel_wordpress_consent_state, script handlekepixel-wc-tracker, browser objectsKEPIXEL_WC*). Existing settings are copied over automatically on the first load and existing order data is copied in the background, so nothing has to be re-entered and order attribution is kept. The old consent filter name keeps working (deprecated). - assets/js/tracker.js is now formatted as readable multi-line source (no behaviour change).
- Caching plugins: if you exclude
KPX_WC_V2from JavaScript delay/combine (LiteSpeed Cache, WP Rocket, Jetpack Boost), also excludeKEPIXEL_WC.
2.3.2
- One-click connect: the plugin’s settings are now also available through WordPress’s own REST settings route (administrators only), so the KePixel dashboard can fill them in after you approve the connection. Nothing changes for sites that keep entering the values by hand.
2.3.1
- Plugin header: removed the duplicate Plugin URI (wordpress.org requires it to differ from the Author URI). No code change.
2.3.0
- First wordpress.org release.
- All inline scripts are now printed with WordPress’s own wp_print_inline_script_tag(), and inline JSON can no longer be broken by a product or customer name containing “”.
- The GTM loader no longer prints internal HTML comments into the page source.
- Two copies of the plugin can no longer run at the same time: the wordpress.org copy pauses itself (and says so) while an older KePixel copy is active.
- Includes every 2.2.0 fix: checkout email/phone capture for abandoned-cart emails, cash-on-delivery and bank-transfer purchases always tracked, unique event ids per visit with page caching, and GA4 client id capture.