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:
- Product Detail Impressions
- Related Products in Product Page
- Purchase
Need all available events, all tags (Google Analytics 4, Google Ads, Meta Ads, Pinterest Ads, TikTok Ads, Microsoft Ads), 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
- Upload the plugin files to the
/wp-content/plugins/datalayer-for-ecommerce-free
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Use the WooCommerce > Datalayer for WooCommerce -> screen to configure the plugin
Configuration
Google Tag Manager ID -> Enter the GTM-XXXXXX ID to activate the Google Tag Manager code snippet
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
- Download the workspace.zip file in WooCommerce > Datalayer for WooCommerce > Download import File GTM.
- Go to Google Tag Manager > Admin > Import Container
- Select the file you want to import: GTM-GA4-FREE.json
- After selecting the file, import the tags.
Settings Google Analytics 4
- In GTM, go to the tag GA4 – Tag and add your measurement id and click save.