Skip to content

Commit

Permalink
Merge pull request #413 from woocommerce/release/2.0.5
Browse files Browse the repository at this point in the history
Release 2.0.5
  • Loading branch information
martynmjones authored Apr 4, 2024
2 parents 7137073 + 056683b commit 4c5e19a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 20 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
*** Changelog ***

= 2.0.5 - 2024-04-04 =
* Tweak - Register `woocommerce-google-analytics-integration` script earlier, so other extensions can plug in.
* Update - Separate the site tag from the event tracking file and delay execution until DOMContentLoaded.

= 2.0.4 - 2024-03-26 =
* Dev - Add QIT workflow.
* Dev - E2E tests for the All Products block.
Expand Down
20 changes: 14 additions & 6 deletions docs/Hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,53 @@ 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/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-google-analytics.php#L269)
- [class-wc-google-analytics.php#L269](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/c9d22a426f09b6aaea40b5b7a02dab97b8313729/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/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-google-gtag-js.php#L236)
- [class-wc-google-gtag-js.php#L268](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/c9d22a426f09b6aaea40b5b7a02dab97b8313729/includes/class-wc-google-gtag-js.php#L268)

## 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/48b9f80a70e64f2750b50ff3d2027c4276b12db9/includes/class-wc-google-gtag-js.php#L320)
- [class-wc-google-gtag-js.php#L362](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/c9d22a426f09b6aaea40b5b7a02dab97b8313729/includes/class-wc-google-gtag-js.php#L362)

## 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/48b9f80a70e64f2750b50ff3d2027c4276b12db9/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/c9d22a426f09b6aaea40b5b7a02dab97b8313729/includes/class-wc-abstract-google-analytics-js.php#L170)

## woocommerce_gtag_snippet

**Type**: filter

**Used in**:

- [class-wc-google-gtag-js.php#L90](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/c9d22a426f09b6aaea40b5b7a02dab97b8313729/includes/class-wc-google-gtag-js.php#L90)

## woocommerce_gtag_tracker_variable

**Type**: filter

**Used in**:

- [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)
- [class-wc-google-gtag-js.php#L258](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/c9d22a426f09b6aaea40b5b7a02dab97b8313729/includes/class-wc-google-gtag-js.php#L258)

## plugin_locale

**Type**: filter

**Used in**:

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

2 changes: 1 addition & 1 deletion 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.4",
"version": "2.0.5",
"license": "GPL-2.0",
"homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
"repository": {
Expand Down
15 changes: 5 additions & 10 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.4
Stable tag: 2.0.5
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

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

== Changelog ==

= 2.0.5 - 2024-04-04 =
* Tweak - Register `woocommerce-google-analytics-integration` script earlier, so other extensions can plug in.
* Update - Separate the site tag from the event tracking file and delay execution until DOMContentLoaded.

= 2.0.4 - 2024-03-26 =
* Dev - Add QIT workflow.
* Dev - E2E tests for the All Products block.
Expand All @@ -59,13 +63,4 @@ Duplicate Google Analytics code causes a conflict in tracking. Remove any other
* Tweak - WC 8.7 compatibility.
* Tweak - WP 6.5 compatibility.

= 2.0.2 - 2024-03-12 =
* Dev - Add E2E testing to track events across all page types.
* Fix - Add to cart & select content events for All Products Block.
* Fix - Get correct variation data when formatting product.
* Fix - Handle AJAX add to cart for simple products.
* Fix - Purchase price format.
* Fix - Track purchase transaction ID.
* Fix - Typo with undefined variable.

[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.4
* Version: 2.0.5
* 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.4' ); // WRCS: DEFINED_VERSION.
define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '2.0.5' ); // WRCS: DEFINED_VERSION.
define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '6.8' );

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

0 comments on commit 4c5e19a

Please sign in to comment.