Datalayer for WooCommerce FREE


The Data Layer is an object that makes available in real time the information that is executed by users while browsing the WooCommerce Store.

With Datalayer for WooCommerce FREE enabled, you will have some actions available in an easily readable javascript object via Google Tag Manager or code and thus evaluate the following advanced eCommerce activities:

  1. Product Detail Impressions
  2. Purchases

Need all available events, all tags (UA, GA4, Ads, Facebook, Pinterest and TikTok), all features and support for all tools?
Get the PRO version from the Official WooCommerce Store: Datalayer for WooCommerce PRO

Discover our demo store:
Demo Shop

Capturi ecran

  • Configurations screen plugin.
  • Tags Universal Analytics with Google Analytics 4 tags as a complement imported
  • Tags Google Analytics 4 imported


  1. Upload the plugin files to the /wp-content/plugins/datalayer-for-ecommerce-free directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the WooCommerce > Datalayer for WooCommerce -> screen to configure the plugin


Google Tag Manager ID -> Enter the GTM-XXXXXX ID to activate the Google Tag Manager code snippet
DataLayer for WooCommerce Enhanced Ecommerce -> Enable this option if you use Google Analytics UA with Google Analytics 4 (GA4) tags as a complement to UA
DataLayer for WooCommerce Ecommerce GA4 -> Enable this option if you use only Google Analytics 4 (GA4)
Show user info -> Select if user information show or not when logged

Import Google Tag Manager

  1. Download the file in WooCommerce > Datalayer for WooCommerce > Download import File GTM.
  2. Go to Google Tag Manager > Admin > Import Container
  3. Select the file you want to import:
    GTM-UA-with-GA4-complement-FREE.json -> If you want to use Analytics UA tags and variables, GA4 as a complement.
    GTM-GA4-FREE.json -> If you want to use only Analytics GA4 tags and variables.
  4. After selecting the file, import the tags.

Settings Universal Analytics with Google Analytics 4 tags as a complement

  1. In GTM, go to the variables menu and add your Google Analytics UA and click save.
  2. In GTM, go to the tag GA4 – Tag and add your measurement id and click save.

Settings Google Analytics 4

  1. In GTM, go to the Tags menu and select the tag GA4 – Tag, enter the id of your GA4 and click on save.


Nu există nicio verificare pentru acest modul.

Contributori și dezvoltatori

„Datalayer for WooCommerce FREE” este un software open-source. La acest modul au contribuit următoarele persoane.


Istoric modificări

2.7.0 – 2023-06-21

  • New: Select if user information show or not when logged
  • New: Full Compatibility HPOS – High-Performance order storage (COT)
  • Support: Support -> WP 6.2.2 WC 7.8.0

2.4.0 – 2023-03-29

  • Support: Support -> WP 6.1.1 WC 7.5.1
  • Update: optimization and improvement of the code that triggers the events

2.0.2 – 2022-09-21

  • Support: WP 6.0.2 WC 6.9.3
  • Fix: Multisite full support check WooCommerce Active

2.0.0 – 2022-06-22

  • First Release