Skip to content

Commit

Permalink
Merge pull request #348 from woocommerce/release/1.8.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec authored Jan 9, 2024
2 parents fdb9a70 + 17face6 commit f3622a7
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 30 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
*** Changelog ***

= 1.8.13 - 2024-01-09 =
* Dev - Upgrade all NPM dev dependencies.
* Dev - Upgrade to Node.js 18.
* Tweak - WC 8.5 compatibility.

= 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.
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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L185)
- [class-wc-google-analytics-js.php#L185](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/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)
- [class-wc-google-gtag-js.php#L441](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/includes/class-wc-google-gtag-js.php#L441)
- [class-wc-google-analytics-js.php#L475](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L105)
- [class-wc-google-analytics-js.php#L105](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics.php#L524)
- [class-wc-google-analytics.php#L524](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L502)
- [class-wc-google-analytics-js.php#L502](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L276)
- [class-wc-google-analytics-js.php#L276](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L277)
- [class-wc-google-analytics-js.php#L277](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L275)
- [class-wc-google-analytics-js.php#L275](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L282)
- [class-wc-google-analytics-js.php#L282](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L278)
- [class-wc-google-analytics-js.php#L278](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L44)
- [class-wc-google-analytics-js.php#L44](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-analytics-js.php#L235)
- [class-wc-google-analytics-js.php#L235](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L126)
- [class-wc-google-gtag-js.php#L126](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L484)
- [class-wc-google-gtag-js.php#L484](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L323)
- [class-wc-google-gtag-js.php#L323](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/includes/class-wc-google-gtag-js.php#L88)
- [class-wc-google-gtag-js.php#L88](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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/d7b238447d84304d19898b0bd7a26512f8466064/woocommerce-google-analytics-integration.php#L139)
- [woocommerce-google-analytics-integration.php#L139](https://github.com/woocommerce/woocommerce-google-analytics-integration/blob/f1a0835ba538ed8f896844df8a648d70fd332039/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.12",
"version": "1.8.13",
"license": "GPL-2.0",
"homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
"repository": {
Expand Down
13 changes: 6 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.12
Stable tag: 1.8.13
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

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

== Changelog ==

= 1.8.13 - 2024-01-09 =
* Dev - Upgrade all NPM dev dependencies.
* Dev - Upgrade to Node.js 18.
* Tweak - WC 8.5 compatibility.

= 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.
Expand All @@ -68,10 +73,4 @@ Exact wording depends on the national data privacy laws and should be adjusted.
* Dev - Prevent DB warnings in unit tests.
* Tweak - WC 8.4 compatibility.

= 1.8.10 - 2023-11-28 =
* Dev - Update phpunit polyfills to 1.1 for WP 6.4.
* Fix - Add semicolon after `gtag` calls.
* Fix - Prevent firing up the add_to_cart event when clicking in product image.
* Tweak - Test environment setup to resolve notice.

[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-google-analytics-integration/trunk/changelog.txt).
6 changes: 3 additions & 3 deletions woocommerce-google-analytics-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
* Author: WooCommerce
* Author URI: https://woo.com
* Version: 1.8.12
* Version: 1.8.13
* WC requires at least: 6.8
* WC tested up to: 8.4
* WC tested up to: 8.5
* Tested up to: 6.4
* License: GPLv2 or later
* Text Domain: woocommerce-google-analytics-integration
Expand All @@ -22,7 +22,7 @@

if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {

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

Please sign in to comment.