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 1.8.9 #327

Merged
merged 5 commits into from
Nov 7, 2023
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
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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.

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/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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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

**Type**: filter

**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)

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.8",
"version": "1.8.9",
"license": "GPL-2.0",
"homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
"repository": {
Expand Down
18 changes: 8 additions & 10 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -60,18 +60,16 @@ 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.

= 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).
8 changes: 4 additions & 4 deletions woocommerce-google-analytics-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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.
Expand Down