{"id":49490,"date":"2016-07-05T02:39:19","date_gmt":"2016-07-05T02:39:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-tracking-codes\/"},"modified":"2026-07-30T02:42:53","modified_gmt":"2026-07-30T02:42:53","slug":"wp-tracking-codes","status":"publish","type":"plugin","link":"https:\/\/fr-be.wordpress.org\/plugins\/wp-tracking-codes\/","author":14319695,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.10.0","stable_tag":"1.10.0","tested":"7.0.2","requires":"5.2.0","requires_php":"7.4","requires_plugins":null,"header_name":"Wp Tracking Codes","header_author":"Array.codes","header_description":"","assets_banners_color":"","last_updated":"2026-07-30 02:42:53","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/profiles.wordpress.org\/heitor_tito","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-tracking-codes\/","header_author_uri":"https:\/\/array.codes","rating":5,"author_block_rating":0,"active_installs":900,"downloads":29586,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Heitor_tito","date":"2016-10-25 02:50:42"},"1.0.1":{"tag":"1.0.1","author":"Heitor_tito","date":"2016-10-25 02:42:57"},"1.0.2":{"tag":"1.0.2","author":"Heitor_tito","date":"2016-12-09 02:09:42"},"1.0.3":{"tag":"1.0.3","author":"Heitor_tito","date":"2018-02-20 00:27:06"},"1.0.4":{"tag":"1.0.4","author":"Heitor_tito","date":"2018-02-20 00:32:20"},"1.1.0":{"tag":"1.1.0","author":"Heitor_tito","date":"2018-05-02 00:18:52"},"1.1.0,":{"tag":"1.1.0,","author":"Heitor_tito","date":"2018-05-02 00:12:47"},"1.10.0":{"tag":"1.10.0","author":"Heitor_tito","date":"2026-07-30 02:42:53"},"1.2.0":{"tag":"1.2.0","author":"Heitor_tito","date":"2019-06-26 20:11:06"},"1.3.0":{"tag":"1.3.0","author":"Heitor_tito","date":"2020-02-22 01:53:10"},"1.3.1":{"tag":"1.3.1","author":"Heitor_tito","date":"2020-03-02 19:16:50"},"1.3.2":{"tag":"1.3.2","author":"Heitor_tito","date":"2020-03-02 19:24:47"},"1.3.3":{"tag":"1.3.3","author":"Heitor_tito","date":"2020-03-02 19:33:33"},"1.4.0":{"tag":"1.4.0","author":"Heitor_tito","date":"2020-05-04 13:01:09"},"1.4.1":{"tag":"1.4.1","author":"Heitor_tito","date":"2020-05-04 20:29:26"},"1.5.0":{"tag":"1.5.0","author":"Heitor_tito","date":"2021-01-06 23:41:27"},"1.6.0":{"tag":"1.6.0","author":"Heitor_tito","date":"2021-06-09 02:04:22"},"1.7.0":{"tag":"1.7.0","author":"Heitor_tito","date":"2021-09-22 13:25:52"},"1.8.0":{"tag":"1.8.0","author":"Heitor_tito","date":"2023-11-08 02:11:28"},"1.9.0":{"tag":"1.9.0","author":"Heitor_tito","date":"2024-03-27 02:36:57"},"1.9.1":{"tag":"1.9.1","author":"Heitor_tito","date":"2024-03-27 02:55:35"},"1.9.2":{"tag":"1.9.2","author":"Heitor_tito","date":"2024-03-27 22:16:59"},"1.9.3":{"tag":"1.9.3","author":"Heitor_tito","date":"2024-10-29 02:40:44"}},"upgrade_notice":{"1.10.0":"<p>Removes the legacy DataLayer Google Tag Manager feature (old Universal Analytics format, discontinued). If you use it for ecommerce event tracking, switch to Datalayer for WooCommerce.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3627833,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3627833,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3627833,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.0,","1.10.0","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.4.0","1.4.1","1.5.0","1.6.0","1.7.0","1.8.0","1.9.0","1.9.1","1.9.2","1.9.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3627833,"resolution":"1","location":"assets","locale":"","width":1920,"height":916}},"screenshots":{"1":"Plugin settings screen."}},"plugin_section":[],"plugin_tags":[7855,193472,985,23294,286],"plugin_category":[35,36],"plugin_contributors":[219466,90362],"plugin_business_model":[],"class_list":["post-49490","plugin","type-plugin","status-publish","hentry","plugin_tags-facebook-pixel","plugin_tags-ga4","plugin_tags-google-ads","plugin_tags-google-tag-manager","plugin_tags-woocommerce","plugin_category-advertising","plugin_category-analytics","plugin_contributors-arraycodes","plugin_contributors-heitor_tito","plugin_committers-heitor_tito"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/wp-tracking-codes\/assets\/icon.svg?rev=3627833","icon":"https:\/\/ps.w.org\/wp-tracking-codes\/assets\/icon.svg?rev=3627833","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-tracking-codes\/assets\/screenshot-1.png?rev=3627833","caption":"Plugin settings screen."}],"raw_content":"<!--section=description-->\n<p>WP Tracking Codes lets you add the main tracking and advertising codes to your WordPress site from a single settings screen \u2014 no theme editing, no separate plugin for each platform.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Google Tag Manager<\/strong> \u2014 container code in <code>&lt;head&gt;<\/code> and after <code>&lt;body&gt;<\/code><\/li>\n<li><strong>Google Analytics 4<\/strong> \u2014 global site tag (gtag.js)<\/li>\n<li><strong>Google Ads Remarketing<\/strong> \u2014 global site tag for remarketing\/conversion tracking<\/li>\n<li><strong>Facebook Pixel<\/strong> \u2014 base pixel code, including the noscript fallback<\/li>\n<li><strong>Google Merchant Customer Reviews<\/strong> (WooCommerce) \u2014 opt-in survey on the order confirmation page<\/li>\n<\/ul>\n\n<h4>What this plugin does not do<\/h4>\n\n<p>WP Tracking Codes only inserts the base tracking snippets above \u2014 it does not push ecommerce events or a dataLayer (add to cart, purchase, etc.) to GTM\/GA4. For ecommerce event tracking on WooCommerce, check out <a href=\"https:\/\/woocommerce.com\/products\/datalayer-for-woocommerce\/\">Datalayer for WooCommerce<\/a>, a dedicated plugin from the same developer.<\/p>\n\n<h4>Requirements<\/h4>\n\n<p>Works on any WordPress site. WooCommerce is only required for the Google Merchant Customer Reviews feature.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/wp-tracking-codes<\/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>Go to Settings \u2192 WP Tracking Codes and paste in your tracking IDs.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20track%20woocommerce%20events%20%28add%20to%20cart%2C%20purchase%2C%20etc.%29%3F\"><h3>Does this plugin track WooCommerce events (add to cart, purchase, etc.)?<\/h3><\/dt>\n<dd><p>No. WP Tracking Codes only inserts the base\/global tracking codes for each platform. For ecommerce event tracking (dataLayer, GA4\/GTM enhanced ecommerce), use <a href=\"https:\/\/woocommerce.com\/products\/datalayer-for-woocommerce\/\">Datalayer for WooCommerce<\/a>.<\/p><\/dd>\n<dt id=\"do%20i%20need%20woocommerce%20to%20use%20this%20plugin%3F\"><h3>Do I need WooCommerce to use this plugin?<\/h3><\/dt>\n<dd><p>No. Google Tag Manager, GA4, Google Ads Remarketing and Facebook Pixel work on any WordPress site. WooCommerce is only required for the Google Merchant Customer Reviews feature.<\/p><\/dd>\n<dt id=\"what%20is%20needed%20to%20use%20this%20plugin%3F\"><h3>What is needed to use this plugin?<\/h3><\/dt>\n<dd><ul>\n<li>WordPress 5.2 or higher and PHP 7.4 or higher.<\/li>\n<\/ul><\/dd>\n<dt id=\"what%20is%20the%20plugin%20license%3F\"><h3>What is the plugin license?<\/h3><\/dt>\n<dd><ul>\n<li>This plugin is released under a GPL license.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.10.0 - 2026-07-29<\/h4>\n\n<ul>\n<li>Remove: DataLayer Google Tag Manager for WooCommerce (legacy Universal Analytics \"Standard Ecommerce\" format, discontinued since UA sunset).<\/li>\n<li>Cleanup: Removed unused code left over from previous versions.<\/li>\n<li>Support: Support -&gt; WP 7.0, WC 10.9.0<\/li>\n<\/ul>\n\n<h4>1.9.3 - 2024-10-29<\/h4>\n\n<ul>\n<li>Support: Support -&gt; WP 6.6.2 WC 9.9.3<\/li>\n<\/ul>\n\n<h4>1.9.2 - 2024-03-27<\/h4>\n\n<ul>\n<li>Support: Support -&gt; WP 6.4.3 WC 8.7.0<\/li>\n<\/ul>\n\n<h4>1.9.1 - 2024-03-27<\/h4>\n\n<ul>\n<li>Update: Contributors and short description<\/li>\n<\/ul>\n\n<h4>1.9.0 - 2024-03-27<\/h4>\n\n<ul>\n<li>Fix: PHP deprecated function options page<\/li>\n<li>Support: Support -&gt; WP 6.4.3 WC 8.7.0<\/li>\n<\/ul>\n\n<h4>1.8.0 - 2023-11-07<\/h4>\n\n<ul>\n<li>New: Google Analytics 4 global tag<\/li>\n<li>New: Google ADS global tag<\/li>\n<li>Update: Remove Google Analytics UA support<\/li>\n<li>Update: HPOS and Checkout Blocks compatibility<\/li>\n<li>Support: Support -&gt; WP 6.3 WC 8.0.3<\/li>\n<\/ul>\n\n<h4>1.7.0 - 2021-09-22<\/h4>\n\n<ul>\n<li>Version 1.7.0 Update global Google Analytics tag gtag.js<\/li>\n<\/ul>\n\n<h4>1.6.0 - 2021-06-01<\/h4>\n\n<ul>\n<li>Version 1.6.0 Update Version WordPress support, minimum version Requires at least now 5.2.0, internationalization pt-br, security fixes<\/li>\n<\/ul>\n\n<h4>1.5.0 - 2021-01-05<\/h4>\n\n<ul>\n<li>Version 1.5.0 Google Analytics 4 global tag<\/li>\n<\/ul>\n\n<h4>1.4.1 - 2020-04-27<\/h4>\n\n<ul>\n<li>Version 1.4.0 Google Merchant Customer update if error<\/li>\n<\/ul>\n\n<h4>1.4.0 - 2020-04-27<\/h4>\n\n<ul>\n<li>Version 1.4.0 Google Merchant Customer Reviews for WooCommerce<\/li>\n<\/ul>\n\n<h4>1.3.3 - 2020-03-20<\/h4>\n\n<ul>\n<li>Version 1.3.3 DataLayer Standard Google Tag Manager update plugin svn<\/li>\n<\/ul>\n\n<h4>1.3.2 - 2020-03-20<\/h4>\n\n<ul>\n<li>Version 1.3.2 DataLayer Standard Google Tag Manager update plugin<\/li>\n<\/ul>\n\n<h4>1.3.1 - 2020-03-20<\/h4>\n\n<ul>\n<li>Version 1.3.1 DataLayer Standard Google Tag Manager include bug resolved<\/li>\n<\/ul>\n\n<h4>1.3.0 - 2020-02-21<\/h4>\n\n<ul>\n<li>Version 1.3.0 Support DataLayer Standard Google Tag Manager for Woocommerce<\/li>\n<\/ul>\n\n<h4>1.2.0 - 2019-06-26<\/h4>\n\n<ul>\n<li>Version 1.2.0 Wordpress 5.0 compatibility<\/li>\n<\/ul>\n\n<h4>1.1.0 - 2018-05-01<\/h4>\n\n<ul>\n<li>Version 1.1.0 GTM Validity<\/li>\n<\/ul>\n\n<h4>1.0.4 - 2018-02-18<\/h4>\n\n<ul>\n<li>Version 1.0.4 Stable<\/li>\n<\/ul>\n\n<h4>1.0.3 - 2018-02-19<\/h4>\n\n<ul>\n<li>Google Tag Support W3C Validation<\/li>\n<\/ul>\n\n<h4>1.0.2 - 2016-10-25<\/h4>\n\n<ul>\n<li>Insert Screenshot and Reviews<\/li>\n<\/ul>\n\n<h4>1.0.1 - 2016-10-25<\/h4>\n\n<ul>\n<li>Include Tag Manager and Link Help Me<\/li>\n<\/ul>\n\n<h4>1.0 - 2016-07-04<\/h4>\n\n<ul>\n<li>First Version<\/li>\n<\/ul>","raw_excerpt":"Add Google Tag Manager, GA4, Google Ads Remarketing, Facebook Pixel and Google Merchant Reviews codes to your site \u2014 no code editing required.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49490"}],"author":[{"embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/heitor_tito"}],"wp:attachment":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49490"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49490"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49490"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49490"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49490"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}