Skip to content

Commit

Permalink
Merge pull request #344 from woocommerce/release/1.8.12
Browse files Browse the repository at this point in the history
Release 1.8.12
  • Loading branch information
eason9487 authored Dec 28, 2023
2 parents c05be3b + 86e2291 commit 1eca13b
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 29 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
*** Changelog ***

= 1.8.12 - 2023-12-28 =
* Fix - Avoid JavaScript exceptions when sending checkout event tracking due to incompatible data structure.
* Fix - Correct misplaced each product index value as its quantity when sending checkout event tracking.

= 1.8.11 - 2023-12-18 =
* Dev - Prevent DB warnings in unit tests.
* Tweak - WC 8.4 compatibility.
Expand Down
36 changes: 18 additions & 18 deletions docs/Hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,134 +8,134 @@ 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/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L185)
- [class-wc-google-analytics-js.php#L185](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L185)

## woocommerce_cart_item_product

**Type**: filter

**Used in**:

- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-gtag-js.php#L441)
- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L475)
- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L441)
- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L475)

## woocommerce_ga_classic_snippet_output

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L105)
- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L105)

## woocommerce_ga_disable_tracking

**Type**: filter

**Used in**:

- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics.php#L524)
- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics.php#L524)

## woocommerce_ga_event_tracking_parameters

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L502)
- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L502)

## woocommerce_ga_snippet_create

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L276)
- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L276)

## woocommerce_ga_snippet_developer_id

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L277)
- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L277)

## woocommerce_ga_snippet_head

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L275)
- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L275)

## woocommerce_ga_snippet_output

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L282)
- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L282)

## woocommerce_ga_snippet_require

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L278)
- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L278)

## woocommerce_ga_tracker_variable

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L44)
- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L44)

## woocommerce_google_analytics_script_src

**Type**: filter

**Used in**:

- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/includes/class-wc-google-analytics-js.php#L235)
- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L235)

## woocommerce_gtag_event_data

**Type**: filter

**Used in**:

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

## woocommerce_gtag_event_tracking_parameters

**Type**: filter

**Used in**:

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

## woocommerce_gtag_snippet

**Type**: filter

**Used in**:

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

## woocommerce_gtag_tracker_variable

**Type**: filter

**Used in**:

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

## plugin_locale

**Type**: filter

**Used in**:

- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/e03cbac37989f15f6e8762f6b818d9d08272e6c6/woocommerce-google-analytics-integration.php#L139)
- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/d7b238447d84304d19898b0bd7a26512f8466064/woocommerce-google-analytics-integration.php#L139)

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": "WooCommerce Google Analytics Integration",
"version": "1.8.11",
"version": "1.8.12",
"license": "GPL-2.0",
"homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
"repository": {
Expand Down
12 changes: 5 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: 3.9
Tested up to: 6.4
Stable tag: 1.8.11
Stable tag: 1.8.12
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -60,6 +60,10 @@ Exact wording depends on the national data privacy laws and should be adjusted.

== Changelog ==

= 1.8.12 - 2023-12-28 =
* Fix - Avoid JavaScript exceptions when sending checkout event tracking due to incompatible data structure.
* Fix - Correct misplaced each product index value as its quantity when sending checkout event tracking.

= 1.8.11 - 2023-12-18 =
* Dev - Prevent DB warnings in unit tests.
* Tweak - WC 8.4 compatibility.
Expand All @@ -70,10 +74,4 @@ Exact wording depends on the national data privacy laws and should be adjusted.
* Fix - Prevent firing up the add_to_cart event when clicking in product image.
* Tweak - Test environment setup to resolve notice.

= 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.

[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: 1.8.11
* Version: 1.8.12
* WC requires at least: 6.8
* WC tested up to: 8.4
* Tested up to: 6.4
Expand All @@ -22,7 +22,7 @@

if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {

define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.8.11' ); // WRCS: DEFINED_VERSION.
define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.8.12' ); // 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 1eca13b

Please sign in to comment.