Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.0.4 #409

Merged
merged 5 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
*** Changelog ***

= 2.0.4 - 2024-03-26 =
* Dev - Add QIT workflow.
* Dev - E2E tests for the All Products block.
* Dev - Remove unused functions from code.
* Fix - Warning after plugin install using wp-cli.
* Tweak - Add WP 6.5 Require plugins header.

= 2.0.3 - 2024-03-13 =
* Tweak - WC 8.7 compatibility.
* Tweak - WP 6.5 compatibility.
Expand Down
12 changes: 6 additions & 6 deletions docs/Hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,45 @@ A list of hooks, e.g. `actions` and `filters`, that are defined or used in this

**Used in**:

- [class-wc-google-analytics.php#L269](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/1aac4d6fe981954c4ad52e5667dccd51b92809a7/includes/class-wc-google-analytics.php#L269)
- [class-wc-google-analytics.php#L269](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-google-analytics.php#L269)

## woocommerce_ga_gtag_config

**Type**: filter

**Used in**:

- [class-wc-google-gtag-js.php#L236](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/1aac4d6fe981954c4ad52e5667dccd51b92809a7/includes/class-wc-google-gtag-js.php#L236)
- [class-wc-google-gtag-js.php#L236](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-google-gtag-js.php#L236)

## woocommerce_ga_gtag_consent_modes

**Type**: filter

**Used in**:

- [class-wc-google-gtag-js.php#L320](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/1aac4d6fe981954c4ad52e5667dccd51b92809a7/includes/class-wc-google-gtag-js.php#L320)
- [class-wc-google-gtag-js.php#L320](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-google-gtag-js.php#L320)

## woocommerce_ga_product_identifier

**Type**: filter

**Used in**:

- [class-wc-abstract-google-analytics-js.php#L170](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/1aac4d6fe981954c4ad52e5667dccd51b92809a7/includes/class-wc-abstract-google-analytics-js.php#L170)
- [class-wc-abstract-google-analytics-js.php#L170](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-abstract-google-analytics-js.php#L170)

## woocommerce_gtag_tracker_variable

**Type**: filter

**Used in**:

- [class-wc-google-gtag-js.php#L209](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/1aac4d6fe981954c4ad52e5667dccd51b92809a7/includes/class-wc-google-gtag-js.php#L209)
- [class-wc-google-gtag-js.php#L209](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-google-gtag-js.php#L209)

## plugin_locale

**Type**: filter

**Used in**:

- [woocommerce-google-analytics-integration.php#L142](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/1aac4d6fe981954c4ad52e5667dccd51b92809a7/woocommerce-google-analytics-integration.php#L142)
- [woocommerce-google-analytics-integration.php#L143](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/48b9f80a70e64f2750b50ff3d2027c4276b12db9/woocommerce-google-analytics-integration.php#L143)

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woocommerce-google-analytics-integration",
"title": "Google Analytics for WooCommerce",
"version": "2.0.3",
"version": "2.0.4",
"license": "GPL-2.0",
"homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
"repository": {
Expand Down
15 changes: 8 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: woocommerce, automattic, claudiosanches, bor0, royho, laurendaviss
Tags: woocommerce, google analytics
Requires at least: 6.2
Tested up to: 6.5
Stable tag: 2.0.3
Stable tag: 2.0.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -48,6 +48,13 @@ Duplicate Google Analytics code causes a conflict in tracking. Remove any other

== Changelog ==

= 2.0.4 - 2024-03-26 =
* Dev - Add QIT workflow.
* Dev - E2E tests for the All Products block.
* Dev - Remove unused functions from code.
* Fix - Warning after plugin install using wp-cli.
* Tweak - Add WP 6.5 Require plugins header.

= 2.0.3 - 2024-03-13 =
* Tweak - WC 8.7 compatibility.
* Tweak - WP 6.5 compatibility.
Expand All @@ -61,10 +68,4 @@ Duplicate Google Analytics code causes a conflict in tracking. Remove any other
* Fix - Track purchase transaction ID.
* Fix - Typo with undefined variable.

= 2.0.1 - 2024-03-07 =
* Fix - Adding variable product attributes.
* Fix - Resolve Google Analytics not loading if gtag already exists on the window object.
* Tweak - Update Contributors list.
* Tweak - Update assets and readme for 2.0.

[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-google-analytics-integration/trunk/changelog.txt).
4 changes: 2 additions & 2 deletions woocommerce-google-analytics-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
* Author: WooCommerce
* Author URI: https://woo.com
* Version: 2.0.3
* Version: 2.0.4
* WC requires at least: 8.4
* WC tested up to: 8.7
* Requires at least: 6.2
Expand All @@ -24,7 +24,7 @@

if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {

define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '2.0.3' ); // WRCS: DEFINED_VERSION.
define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '2.0.4' ); // WRCS: DEFINED_VERSION.
define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '6.8' );

// Maybe show the GA Pro notice on plugin activation.
Expand Down