Title: Datalayer Tracking via DataReshape for WooCommerce
Author: Eduard Doloc
Published: <strong>11 gegužės, 2026</strong>
Last modified: 13 gegužės, 2026

---

Ieškoti įskiepiuose

![](https://s.w.org/plugins/geopattern-icon/datalayer-tracking-datareshape-woocommerce.
svg)

# Datalayer Tracking via DataReshape for WooCommerce

 Autorius [Eduard Doloc](https://profiles.wordpress.org/rwky/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/datalayer-tracking-datareshape-woocommerce.0.4.zip)

 * [Informacija](https://lt.wordpress.org/plugins/datalayer-tracking-datareshape-woocommerce/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/datalayer-tracking-datareshape-woocommerce/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/datalayer-tracking-datareshape-woocommerce/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/datalayer-tracking-datareshape-woocommerce/#developers)

 [Pagalba](https://wordpress.org/support/plugin/datalayer-tracking-datareshape-woocommerce/)

## Aprašymas

DataReshape for WooCommerce integrates seamlessly with your WooCommerce-powered 
store, providing a structured and reliable way to track ecommerce events using a
modern dataLayer approach, built and tested specifically for DataReshape.

This plugin does not replace analytics tools like Google Analytics or Meta Pixel.
Instead, it acts as a bridge between WooCommerce and DataReshape, which handles 
event processing, routing, and deduplication.

An active DataReshape plan is required to use this plugin. All tracking logic, integrations,
and event delivery are managed through the DataReshape platform.

It supports browser-side tracking for the full ecommerce funnel, allowing seamless
integration with advanced analytics setups.

### Features

#### Core Features

 * Global enable/disable for the integration
 * DataReshape library integration
 * Subdomain tracking support
 * Fully compatible with WooCommerce HPOS (High-Performance Order Storage)

#### Browser Events

 * View Item
 * Add to Cart (AJAX + fallback for redirects)
 * View Cart
 * Remove from Cart
 * Begin Checkout
 * Purchase
 * Google Consent Mode support
 * Optional plaintext user data in dataLayer (no encoding)

#### Advanced Tracking

 * Full GA4-style ecommerce structure
 * Product-level and cart-level data
 * Coupon tracking (cart-level injection)
 * Tax, discount, and stock status support
 * Works with both simple, variable products and bundled products

#### Reliability Enhancements

 * Handles non-AJAX add-to-cart flows
 * Handles redirect-based add-to-cart (?add-to-cart=)
 * Handles WooCommerce notices fallback
 * Safe execution timing for low overhead
 * Logging support via WooCommerce logger (for debugging enabled flows)

### Configuration

#### Integration Setup

 * Enable Integration
 * Tracking Subdomain
 * Library ID

#### Browser Events

 * Enable/disable individual events
 * Consent mode configuration
 * User data exposure control

## Diegimas

 1. Upload the plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Ensure WooCommerce is installed and active
 4. Go to WooCommerce  Settings  DataReshape (or plugin tab)
 5. Configure your integration settings

## DUK

### Does this plugin support GA4?

Not quite! The plugin exposes a GA4-compatible ecommerce dataLayer, but actual tracking,
routing, and integrations are handled via DataReshape only!

### Does it work without AJAX add-to-cart?

Yes. It includes fallback mechanisms for redirect-based add-to-cart flows (native
WooCommerce redirect to cart after adding a product).

### Does it support server-side tracking?

Not in this version. Server-side tracking is planned for a future release.

### Will this slow down my website?

No. The plugin is designed with performance in mind and uses lightweight, conditional
execution; if anything, your setup should see a boost in speed compared to clasic
integrationg (Meta, TikTok and Google).

### Is deduplication handled?

Deduplication is handled by DataReshape. The plugin focuses on exposing accurate
and complete data for DataReshape to pickup and process onward.

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“Datalayer Tracking via DataReshape for WooCommerce” yra atviro kodo programa. Prie
jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

 *   [ Eduard Doloc ](https://profiles.wordpress.org/rwky/)

[Išverskite “Datalayer Tracking via DataReshape for WooCommerce” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/datalayer-tracking-datareshape-woocommerce)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/datalayer-tracking-datareshape-woocommerce/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/datalayer-tracking-datareshape-woocommerce/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/datalayer-tracking-datareshape-woocommerce/)
per [RSS](https://plugins.trac.wordpress.org/log/datalayer-tracking-datareshape-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 0.4

 * All checkboxes on the settings screen now default to off on a fresh install („
   Enable integration”, „Enable browser-side tracking”, every per-event toggle, 
   and „Send plaintext user data”). Existing installs keep their current values –
   this only affects new installations.
 * Added a WordPress admin warning notice when the plugin is active but is not collecting
   events – either because the integration is disabled or because the tracking subdomain/
   library ID is empty. The notice links straight to the DATA Reshape settings tab
   and is suppressed on that tab to avoid duplication.

#### 0.3

 * Add-to-cart tracking now watches WooCommerce’s `wc-ajax=add_to_cart` XHR directly,
   reading product, variation and quantity from the request payload. This fixes 
   missed or zero-product-id events on stores using third-party AJAX add-to-cart
   plugins (e.g. „Ajax add to cart for WooCommerce” by QuadLayers) or themes whose
   buttons do not expose `data-product_id`.
 * Removed the in-page dataLayer debug panel (the `?datareshape=debug` admin overlay).
   Use the WooCommerce logger (WooCommerce  Status  Logs, source `datalayer-tracking-
   datareshape-woocommerce`) or your browser’s devtools `window.dataLayer` instead.

#### 0.1

 * Initial release
 * Browser-side ecommerce tracking
 * Add-to-cart fallback handling
 * View cart and remove from cart events
 * Purchase tracking with order fallback
 * WooCommerce logger integration

## Metainformacija

 *  Version **0.4**
 *  Atnaujinta **prieš 3 val**
 *  Aktyvių instaliacijų **Mažiau nei 10**
 *  WordPress versija ** 6.0 ar naujesnė **
 *  Ištestuota iki **6.9.4**
 *  PHP versija ** 7.4 ar naujesnė **
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/datalayer-tracking-datareshape-woocommerce/)
 * Žyma
 * [WooCommerce Tracking](https://lt.wordpress.org/plugins/tags/woocommerce-tracking/)
 *  [Daugiau](https://lt.wordpress.org/plugins/datalayer-tracking-datareshape-woocommerce/advanced/)

## Įvertinimai

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/datalayer-tracking-datareshape-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/datalayer-tracking-datareshape-woocommerce/reviews/)

## Autoriai

 *   [ Eduard Doloc ](https://profiles.wordpress.org/rwky/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/datalayer-tracking-datareshape-woocommerce/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](https://www.paypal.me/eduardvd)