From 2f40583e39293ed3cffb29d41d617cc9152b535f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 04:11:41 +0000 Subject: [PATCH 1/5] Start `release/1.8.9`. From 26adce93d2fbd81f1d9a018a2c2c140bc2552bc0 Mon Sep 17 00:00:00 2001 From: Ian Yu-Hsun Lin Date: Tue, 7 Nov 2023 12:14:05 +0800 Subject: [PATCH 2/5] Remove older changelog entries from readme.txt --- readme.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/readme.txt b/readme.txt index 5ab40348..79ff0163 100644 --- a/readme.txt +++ b/readme.txt @@ -66,12 +66,4 @@ Exact wording depends on the national data privacy laws and should be adjusted. = 1.8.7 - 2023-10-10 = * Fix - JS syntax error on pages with cart and mini-cart rendered, which was causing purchases and cart removals not to be tracked. -= 1.8.6 - 2023-10-03 = -* Add - Privacy policy guide section. -* Dev - Enable since tag replacement. -* Fix - Track select_content instead of add_to_cart for variations. -* Tweak - Add documentation link with UTM parameters. -* Tweak - Tracking for Products ( Add To Cart and Impression) when using Products (Beta) Block. -* Tweak - WC 8.2 compatibility. - [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-google-analytics-integration/trunk/changelog.txt). From 001b601e465e04f524b05bab681b710f58696bcc Mon Sep 17 00:00:00 2001 From: Ian Yu-Hsun Lin Date: Tue, 7 Nov 2023 12:21:23 +0800 Subject: [PATCH 3/5] Product version bump update --- package-lock.json | 2 +- package.json | 2 +- readme.txt | 4 ++-- woocommerce-google-analytics-integration.php | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 48204e22..48f4ce83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "woocommerce-google-analytics-integration", - "version": "1.8.8", + "version": "1.8.9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1346286f..90c0e490 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "woocommerce-google-analytics-integration", "title": "WooCommerce Google Analytics Integration", - "version": "1.8.8", + "version": "1.8.9", "license": "GPL-2.0", "homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/", "repository": { diff --git a/readme.txt b/readme.txt index 79ff0163..2387d720 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: woocommerce, automattic, claudiosanches, bor0, royho, laurendavissmith001, c-shultz Tags: woocommerce, google analytics Requires at least: 3.9 -Tested up to: 6.3 -Stable tag: 1.8.8 +Tested up to: 6.4 +Stable tag: 1.8.9 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/woocommerce-google-analytics-integration.php b/woocommerce-google-analytics-integration.php index 2f492afc..374eb334 100644 --- a/woocommerce-google-analytics-integration.php +++ b/woocommerce-google-analytics-integration.php @@ -5,10 +5,10 @@ * Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages. * Author: WooCommerce * Author URI: https://woo.com - * Version: 1.8.8 + * Version: 1.8.9 * WC requires at least: 6.8 - * WC tested up to: 8.2 - * Tested up to: 6.3 + * WC tested up to: 8.3 + * Tested up to: 6.4 * License: GPLv2 or later * Text Domain: woocommerce-google-analytics-integration * Domain Path: languages/ @@ -22,7 +22,7 @@ if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) { - define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.8.8' ); // WRCS: DEFINED_VERSION. + define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.8.9' ); // WRCS: DEFINED_VERSION. define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '6.8' ); // Maybe show the GA Pro notice on plugin activation. From 97b8cf99a55754ac5a67821a911d14ef3a76944c Mon Sep 17 00:00:00 2001 From: Ian Yu-Hsun Lin Date: Tue, 7 Nov 2023 12:22:06 +0800 Subject: [PATCH 4/5] Changelog update --- changelog.txt | 6 ++++++ readme.txt | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/changelog.txt b/changelog.txt index a2d2282d..ba569b69 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,11 @@ *** Changelog *** += 1.8.9 - 2023-11-07 = +* Tweak - WC 8.3 compatibility. +* Tweak - WP 6.4 compatibility. +* Update - Use new Woo.com domain. +* Update - WordPressCS to version 3.0. + = 1.8.8 - 2023-10-24 = * Tweak - Declare cart_checkout_blocks feature compatibility. diff --git a/readme.txt b/readme.txt index 2387d720..25a636a8 100644 --- a/readme.txt +++ b/readme.txt @@ -60,6 +60,12 @@ Exact wording depends on the national data privacy laws and should be adjusted. == Changelog == += 1.8.9 - 2023-11-07 = +* Tweak - WC 8.3 compatibility. +* Tweak - WP 6.4 compatibility. +* Update - Use new Woo.com domain. +* Update - WordPressCS to version 3.0. + = 1.8.8 - 2023-10-24 = * Tweak - Declare cart_checkout_blocks feature compatibility. From 3721b518b6b920ea3e8e15c490911953712a2822 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 04:22:22 +0000 Subject: [PATCH 5/5] Update hooks documentation from branch. --- docs/Hooks.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/Hooks.md b/docs/Hooks.md index 75228e9a..c9e20ac1 100644 --- a/docs/Hooks.md +++ b/docs/Hooks.md @@ -8,7 +8,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L185](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L185) +- [class-wc-google-analytics-js.php#L185](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L185) ## woocommerce_cart_item_product @@ -16,8 +16,8 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L475) -- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-gtag-js.php#L441) +- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L475) +- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-gtag-js.php#L441) ## woocommerce_ga_classic_snippet_output @@ -25,7 +25,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L105) +- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L105) ## woocommerce_ga_disable_tracking @@ -33,7 +33,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics.php#L524) +- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics.php#L524) ## woocommerce_ga_event_tracking_parameters @@ -41,7 +41,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L502) +- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L502) ## woocommerce_ga_snippet_create @@ -49,7 +49,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L276) +- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L276) ## woocommerce_ga_snippet_developer_id @@ -57,7 +57,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L277) +- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L277) ## woocommerce_ga_snippet_head @@ -65,7 +65,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L275) +- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L275) ## woocommerce_ga_snippet_output @@ -73,7 +73,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L282) +- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L282) ## woocommerce_ga_snippet_require @@ -81,7 +81,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L278) +- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L278) ## woocommerce_ga_tracker_variable @@ -89,7 +89,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L44) +- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L44) ## woocommerce_google_analytics_script_src @@ -97,7 +97,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-analytics-js.php#L235) +- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-analytics-js.php#L235) ## woocommerce_gtag_event_data @@ -105,7 +105,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L126](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-gtag-js.php#L126) +- [class-wc-google-gtag-js.php#L126](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-gtag-js.php#L126) ## woocommerce_gtag_event_tracking_parameters @@ -113,7 +113,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L484](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-gtag-js.php#L484) +- [class-wc-google-gtag-js.php#L484](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-gtag-js.php#L484) ## woocommerce_gtag_snippet @@ -121,7 +121,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L323](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-gtag-js.php#L323) +- [class-wc-google-gtag-js.php#L323](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-gtag-js.php#L323) ## woocommerce_gtag_tracker_variable @@ -129,7 +129,7 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [class-wc-google-gtag-js.php#L88](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/includes/class-wc-google-gtag-js.php#L88) +- [class-wc-google-gtag-js.php#L88](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/includes/class-wc-google-gtag-js.php#L88) ## plugin_locale @@ -137,5 +137,5 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this **Used in**: -- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d1019e4db86e0d56e8a154551c6596363af65abc/woocommerce-google-analytics-integration.php#L139) +- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/97b8cf99a55754ac5a67821a911d14ef3a76944c/woocommerce-google-analytics-integration.php#L139)