This is an info Alert.
xpay
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Datalayer Tracking via DATA Reshape for WooCommerce

Datalayer Tracking via DATA Reshape for WooCommerce

Official WooCommerce integration for DATA Reshape: first-party ecommerce event tracking, delivered from your own subdomain.

30+ active installsFree on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Datalayer Tracking via DATA Reshape for WooCommerce running.

WordPress compatibility
Tested to 7.1.4
Tested against the WordPress branch in use today.
Last updated
7 days ago
At least 34.2 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
6.0
Requires other plugins
woocommerce
These must be installed and active first.
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

30+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Datalayer Tracking via DATA Reshape for WooCommerce is looked after — not on how many stores run it.

Well maintained
Not enough public feedback to put a confident number on this one. Little public feedback — score rests mostly on release activity. What we can see is below.

Maintenance
35 / 35
Updated 2 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.1.4 (current).
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
Not enough data
No ratings yet.
Listing transparency
7 / 10
Provides: screenshots, description
2 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-11-13 from the WordPress.org plugin registry.
Ratings

No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.

DATA Reshape for WooCommerce connects your store to the DATA Reshape platform. It pushes structured ecommerce events (product_viewed, product_added_to_cart, product_removed_from_cart, cart_viewed, checkout_started, checkout_completed, plus the billing, shipping and payment steps of checkout) into DATA Reshape’s reshape.push() queue. DATA Reshape’s loader, served from a tracking subdomain you control, delivers them to GA4, Meta, TikTok and every other destination you have connected.

Because the loader is served first-party, events are not blocked by ad blockers, ITP or the usual third-party-script defences that break conventional gtag/fbq/ttq setups. You do not need to fire those calls in parallel: DATA Reshape sends each event to every connected destination with that platform’s event name and field mapping.

This plugin does not replace analytics tools like Google Analytics or Meta Pixel. It replaces the fragile transport layer underneath them. Event processing and routing happen inside DATA Reshape.

An active DATA Reshape plan is required. Tracking logic, integrations and event delivery are managed in the DATA Reshape platform.

Server-side order webhook (API Events)

The API Events tab sends an order webhook from your server straight to DATA Reshape. It covers what the browser can’t: off-site payment gateways that confirm the order minutes or hours later (or where the shopper never returns to the thank-you page), and phone or admin orders that never had a browser session. The checkout_completed webhook uses the order number as its event ID, so DATA Reshape reconciles it with the browser purchase event. If one signal is missing, the other fills in, and the order is counted once. An order_canceled event covers cancellations and refunds, and Test mode checks real order payloads against DATA Reshape’s /test endpoint before you go live.

Features

Core Features

  • Global enable/disable for the integration
  • DATA Reshape library integration
  • Tracking subdomain support
  • Fully compatible with WooCommerce HPOS (High-Performance Order Storage)

Events

  • Product Viewed
  • Product Added to Cart: shop and archive grids, product pages, quick views and shortcode product forms, ?add-to-cart= links, the block shop grid and product form, the Mini-Cart and the block Cart
  • Product Removed from Cart: the classic cart and mini-cart widget, the Mini-Cart and the block Cart (where lowering a quantity counts as a removal)
  • Cart Viewed
  • Checkout Started
  • Checkout steps (Billing Address Added, Shipping Detail Added, Payment Method Selected) on both the block and the shortcode checkout
  • Checkout Completed

Consent

  • DATA Reshape detects most CMPs (Cookiebot, OneTrust, Termly and others) and Google Consent Mode v2 on its own, with nothing to set up in the plugin
  • A “Grant consent by default” toggle for stores that don’t run a CMP. It sends DATA Reshape’s native consent_updated push at session start, so events are processed straight away. Off by default; turning it on asks for an explicit GDPR confirmation
  • drswc_consent_payload filter to set the consent object from PHP

API Events (Server-side)

  • Server-to-server order webhook to DATA Reshape’s /webhooks/wordpress/event endpoint
  • Fires on the order status you choose (default Processing; any status your flow reaches, including custom statuses)
  • Covers off-site gateway returns (confirmed minutes or hours later, or the shopper never comes back) and phone or admin orders with no browser session
  • checkout_completed uses the order number as event ID, so DATA Reshape deduplicates it against the browser purchase event
  • order_canceled event on Cancelled and Refunded orders
  • Relays DATA Reshape’s first-party drespa cookie, captured on the order at checkout
  • Test mode sends payloads to the /test validation endpoint and shows the returned errors and warnings in the admin
  • Optional activity log (WooCommerce logs, source drswc-webhook) with a Logs tab in the settings for setup debugging
  • drswc_webhook_payload filter to customize the outgoing envelope

Advanced Tracking

  • Spec-shaped products with price_base and price; tax_included and tax_percent only when WooCommerce tax is enabled
  • Variations carry parent_id, parent_name, parent_sku and parent_url
  • Order-level and product-level coupons in dedicated coupons[] arrays
  • Shipping and payment methods as structured arrays on Checkout Completed
  • Categories as both category (primary) and categories[] with name and id
  • Stock status, product type, creation timestamp, image and gallery images
  • User data is sent unhashed; DATA Reshape hashes it server-side

Extensibility

  • drswc_event_payload: filter the full event envelope before it is pushed
  • drswc_product_payload: add GTIN/MPN/EAN, predicted values or custom properties per product
  • drswc_user_payload: extend the user identity (pre_purchase or purchase source)
  • drswc_consent_payload: replace or inject the consent object
  • drswc_webhook_payload: customize the server-side order webhook envelope

Reliability

  • Classic form submissions and ?add-to-cart= links are tracked even when the plugin’s JavaScript fails to load, including with WooCommerce’s redirect to the cart page
  • Simple products added on the product page are still tracked when a bundle or volume-discount plugin takes over the click
  • Product-page adds are still tracked when admin-ajax.php is blocked
  • Works with JavaScript optimizers that defer or delay scripts (Cloudflare Rocket Loader, WP Rocket, Perfmatters, LiteSpeed): events wait for the plugin’s script instead of failing
  • Cache-safe identity: personal data is never written into cacheable HTML
  • Sticky user identity (the loader keeps the first user it sees, and later events inherit it)
  • The plugin’s add-to-cart detection methods share one duplicate check, so an add that several of them see is sent once

Configuration

Integration Setup

  • Enable Integration (master switch)
  • Tracking Subdomain (the first-party host serving DATA Reshape’s loader)
  • Library ID
  • Built-in “Check tracking endpoint” health check
  • Access token (the credential for the API Events order webhook; the webhook reuses your Tracking subdomain and Library ID)

Events

  • Master switch for browser-delivered events (on by default)
  • Per-event toggles, all on by default, so you can turn off any event your store already sends with custom code
  • Consent section with the “Grant consent by default” toggle. Leave it off to let DATA Reshape detect your CMP or Google Consent Mode; turn it on only if you don’t run a CMP and have a lawful basis to track without one. Enabling it asks you to confirm the GDPR implications, and the section stays highlighted while it is active

API Events

  • Enable order webhook (server-to-server checkout_completed)
  • Send order when status becomes … (default Processing; choose the status your payment flow reaches)
  • Sends order_canceled automatically on Cancelled and Refunded orders
  • Test mode (checks real payloads against the /test endpoint without delivering to destinations)
  • Log webhook activity (adds a Logs tab showing WooCommerce’s drswc-webhook logs, scrolled to the latest entry)
  • Requires your Tracking subdomain, Library ID and Access token under Integration setup

Does this plugin support GA4?

Indirectly. Events go to DATA Reshape’s window.reshape queue, and DATA Reshape sends them to GA4 and every other connected destination with that platform’s event name and field mapping. You do not need to fire gtag, fbq or ttq calls in parallel.

Does it work without AJAX add-to-cart?

Yes. Classic form submissions, ?add-to-cart= links and WooCommerce’s “Redirect to the cart page after successful addition” option are all tracked. When an add happens on the server without the plugin’s JavaScript, it is sent on the page that loads next.

Does it support block themes and the block Cart and Checkout?

Yes. Since 1.1.0 it tracks block themes (tested with Twenty Twenty-Five and Purple), the block shop grid and product form, the Mini-Cart, and the block Cart and Checkout, as well as classic themes and the shortcode cart and checkout. Block cart changes are sent once WooCommerce confirms them, inside WooCommerce’s own responses, so there are no extra requests.

Does it support server-side event tracking?

Yes. The API Events tab sends an order webhook from your server to DATA Reshape. It is not a copy of the browser events: because the tracking library is first-party, browser events already get through. The webhook covers what the browser can’t, namely off-site payment gateways that confirm the order later (or where the shopper never returns to the thank-you page) and phone or admin orders with no browser session. DATA Reshape matches the webhook with the browser purchase by order number, so each order is counted once.

Will this slow down my website?

No. It is lighter than traditional tracking plugins because it does very little work on your store: it builds each event once and hands it to DATA Reshape, which maps it and delivers it to every connected destination. There is no per-platform code running in the browser, and page loads add no database queries. Its own JavaScript is two small files (one more on the block checkout), and block cart changes are reported inside WooCommerce’s own responses, with no extra requests.

In our side-by-side test on the same store against GTM4WP, Pixel Manager and PixelYourSite, DATA Reshape added the least JavaScript and was the only one that added no database queries per page.

Is deduplication handled?

Yes. DATA Reshape deduplicates purchases and cancellations by order number, so the browser purchase and the order webhook count as one order. For add to cart, the plugin runs one duplicate check across its detection methods, so a click that several of them see is sent once.

Plugin details
Version1.1.0
Last updated2026-11-11 5:17pm GMT
Added2026-05-11
Requires WordPress6.0
Tested up to7.1.4
Requires PHP7.4

Tags on WordPress.org
datalayer-tracking
datareshape
first-party-tracking
WooCommerce Tracking
xpay

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy