{"id":159364,"date":"2022-07-05T22:22:18","date_gmt":"2022-07-05T22:22:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/datalayer-for-ecommerce-free\/"},"modified":"2026-03-06T02:34:25","modified_gmt":"2026-03-06T02:34:25","slug":"datalayer-for-ecommerce-free","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/datalayer-for-ecommerce-free\/","author":20947293,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"5.1.0","stable_tag":"5.1.0","tested":"6.9.4","requires":"5.2.0","requires_php":"7.4","requires_plugins":null,"header_name":"Datalayer for WooCommerce FREE","header_author":"Array.codes","header_description":"DataLayer is an object that makes available in real time the information that is executed by users while browsing the WooCommerce Store.","assets_banners_color":"","last_updated":"2026-03-06 02:34:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/array.codes","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/datalayer-for-ecommerce-free\/","header_author_uri":"https:\/\/array.codes\/","rating":0,"author_block_rating":0,"active_installs":700,"downloads":12733,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"arrayevida","date":"2022-07-05 22:41:23"},"2.0.1":{"tag":"2.0.1","author":"arrayevida","date":"2022-07-05 22:45:33"},"2.0.2":{"tag":"2.0.2","author":"arrayevida","date":"2022-09-21 22:11:00"},"2.4.0":{"tag":"2.4.0","author":"arrayevida","date":"2023-03-29 00:35:30"},"2.7.0":{"tag":"2.7.0","author":"arraycodes","date":"2023-06-20 23:20:24"},"3.0.0":{"tag":"3.0.0","author":"arraycodes","date":"2023-10-30 23:25:26"},"3.1.0":{"tag":"3.1.0","author":"arraycodes","date":"2023-11-29 23:31:08"},"3.2.0":{"tag":"3.2.0","author":"arraycodes","date":"2023-12-14 23:52:39"},"3.3.0":{"tag":"3.3.0","author":"arraycodes","date":"2024-03-28 00:00:56"},"3.4.0":{"tag":"3.4.0","author":"arraycodes","date":"2024-06-10 00:14:29"},"4.0.0":{"tag":"4.0.0","author":"arraycodes","date":"2024-07-03 23:48:39"},"4.3.0":{"tag":"4.3.0","author":"arraycodes","date":"2024-10-29 02:06:35"},"4.6.0":{"tag":"4.6.0","author":"arraycodes","date":"2025-02-05 03:19:34"},"4.8.0":{"tag":"4.8.0","author":"arraycodes","date":"2025-05-14 00:11:04"},"5.1.0":{"tag":"5.1.0","author":"arraycodes","date":"2026-03-06 02:34:25"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3235108,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3235108,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0","2.0.1","2.0.2","2.4.0","2.7.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","4.0.0","4.3.0","4.6.0","4.8.0","5.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2986436,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3177578,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2986436,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3111999,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Google Tag Manager Settings screen plugin.","2":"Ecommerce Settings screen plugin.","3":"Ecommerce Advanced screen plugin.","4":"Tags Google Analytics 4 imported"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[232,43896,193472,211795],"plugin_category":[36],"plugin_contributors":[219466,211796,90362],"plugin_business_model":[],"class_list":["post-159364","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-datalayer","plugin_tags-ga4","plugin_tags-gtm-tag-manager","plugin_category-analytics","plugin_contributors-arraycodes","plugin_contributors-arrayevida","plugin_contributors-heitor_tito","plugin_committers-arraycodes"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/datalayer-for-ecommerce-free\/assets\/icon-128x128.png?rev=3235108","icon_2x":"https:\/\/ps.w.org\/datalayer-for-ecommerce-free\/assets\/icon-256x256.png?rev=3235108","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/datalayer-for-ecommerce-free\/assets\/screenshot-1.png?rev=2986436","caption":"Google Tag Manager Settings screen plugin."},{"src":"https:\/\/ps.w.org\/datalayer-for-ecommerce-free\/assets\/screenshot-2.png?rev=3177578","caption":"Ecommerce Settings screen plugin."},{"src":"https:\/\/ps.w.org\/datalayer-for-ecommerce-free\/assets\/screenshot-3.png?rev=2986436","caption":"Ecommerce Advanced screen plugin."},{"src":"https:\/\/ps.w.org\/datalayer-for-ecommerce-free\/assets\/screenshot-4.png?rev=3111999","caption":"Tags Google Analytics 4 imported"}],"raw_content":"<!--section=description-->\n<p>The Data Layer is an object that makes available in real time the information that is executed by users while browsing the WooCommerce Store.<\/p>\n\n<p>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:<\/p>\n\n<ol>\n<li>Product Detail Impressions<\/li>\n<li>Related Products in Product Page<\/li>\n<li>Purchase<\/li>\n<\/ol>\n\n<p>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?\nGet the PRO version from the Official WooCommerce Store: <a href=\"https:\/\/woocommerce.com\/products\/datalayer-for-woocommerce\/\">Datalayer for WooCommerce PRO<\/a><\/p>\n\n<p>Discover our demo store:\n<a href=\"https:\/\/demoshop.arrayevida.com.br\/\">Demo Shop<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/datalayer-for-ecommerce-free<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the WooCommerce &gt; Datalayer for WooCommerce -&gt; screen to configure the plugin<\/li>\n<\/ol>\n\n<h4>Configuration<\/h4>\n\n<p>Google Tag Manager ID -&gt; Enter the GTM-XXXXXX ID to activate the Google Tag Manager code snippet\nDataLayer for WooCommerce Ecommerce GA4 -&gt; Enable this option if you use only <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/ga4\/ecommerce?client_type=gtm\">Google Analytics 4 (GA4)<\/a>\nShow user info -&gt; Select if user information show or not when logged<\/p>\n\n<h4>Import Google Tag Manager<\/h4>\n\n<ol>\n<li>Download the workspace.zip file in WooCommerce &gt; Datalayer for WooCommerce &gt; Download import File GTM.<\/li>\n<li>Go to Google Tag Manager &gt; Admin &gt; Import Container<\/li>\n<li>Select the file you want to import: GTM-GA4-FREE.json<\/li>\n<li>After selecting the file, import the tags.<\/li>\n<\/ol>\n\n<h4>Settings Google Analytics 4<\/h4>\n\n<ol>\n<li>In GTM, go to the tag GA4 \u2013 Tag and add your measurement id and click save.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>5.1.0 - 2026-03-05<\/h4>\n\n<ul>\n<li>Update: Packages dependencies<\/li>\n<li>Support: Support -&gt; WP 6.9 WC 10.5.3<\/li>\n<\/ul>\n\n<h4>4.8.0 - 2025-05-14<\/h4>\n\n<ul>\n<li>Support: Support -&gt; WP 6.8.1 WC 9.8.5<\/li>\n<\/ul>\n\n<h4>4.6.0 - 2025-01-29<\/h4>\n\n<ul>\n<li>Update: Packages dependencies<\/li>\n<li>Support: Support -&gt; WP 6.7.1 WC 9.6.0<\/li>\n<\/ul>\n\n<h4>4.3.0 - 2024-10-28<\/h4>\n\n<ul>\n<li>New: Option Show view_item_list related product in product page<\/li>\n<li>Support: Support -&gt; WP 6.6.2 WC 9.3.3<\/li>\n<\/ul>\n\n<h4>4.0.0 - 2024-07-03<\/h4>\n\n<ul>\n<li>Remove: Option DataLayer for WooCommerce Enhanced Ecommerce removed<\/li>\n<li>Support: Support -&gt; WP 6.5.5 WC 9.0.2<\/li>\n<\/ul>\n\n<h4>3.4.0 - 2024-06-10<\/h4>\n\n<ul>\n<li>Update: Push Datalayer function without jQuery<\/li>\n<li>Update: Get Country Code Phone Number User<\/li>\n<li>Support: Support -&gt; WP 6.5.3 WC 8.9.2<\/li>\n<\/ul>\n\n<h4>3.3.0 - 2024-03-27<\/h4>\n\n<ul>\n<li>New: Parameter item_category with multiples categories in all events<\/li>\n<li>Fix: Php 8.2 deprecated function get options<\/li>\n<li>Fix: Product tax update in item price<\/li>\n<li>Support: Support -&gt; WP 6.4.3 WC 8.7.0<\/li>\n<\/ul>\n\n<h4>3.2.0 - 2023-12-15<\/h4>\n\n<ul>\n<li>Update: Compatibility with multicurrency WPML plugin<\/li>\n<li>Support: Support -&gt; WP 6.4.2 WC 8.4.0<\/li>\n<\/ul>\n\n<h4>3.1.0 - 2023-11-29<\/h4>\n\n<ul>\n<li>Update: Select only one datalayer type in ecommerce settings<\/li>\n<li>Support: Support -&gt; WP 6.4.1 WC 8.2.2<\/li>\n<\/ul>\n\n<h4>3.0.0 - 2023-10-30<\/h4>\n\n<ul>\n<li>New: Full compatibility with WooCommerce Blocks<\/li>\n<li>New: New Modern Admin Page<\/li>\n<li>Support: Support -&gt; WP 6.3.2 WC 8.2.1<\/li>\n<\/ul>\n\n<h4>2.7.0 - 2023-06-21<\/h4>\n\n<ul>\n<li>New: Select if user information show or not when logged<\/li>\n<li>New: Full Compatibility HPOS - High-Performance order storage (COT)<\/li>\n<li>Support: Support -&gt; WP 6.2.2 WC 7.8.0<\/li>\n<\/ul>\n\n<h4>2.4.0 - 2023-03-29<\/h4>\n\n<ul>\n<li>Support: Support -&gt; WP 6.1.1 WC 7.5.1<\/li>\n<li>Update: optimization and improvement of the code that triggers the events<\/li>\n<\/ul>\n\n<h4>2.0.2 - 2022-09-21<\/h4>\n\n<ul>\n<li>Support: WP 6.0.2 WC 6.9.3<\/li>\n<li>Fix: Multisite full support check WooCommerce Active<\/li>\n<\/ul>\n\n<h4>2.0.0 - 2022-06-22<\/h4>\n\n<ul>\n<li>First Release<\/li>\n<\/ul>","raw_excerpt":"The Data Layer is an object that makes available in real time the information that is executed by users while browsing the WooCommerce Store.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/159364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=159364"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/arraycodes"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=159364"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=159364"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=159364"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=159364"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=159364"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=159364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}