WooCommerce Google Analytics Integration - Version 1.4.22

Version Description

  • 2020-06-05 =
  • Tweak - WC 4.2 compatibility.
Download this release

Release Info

Developer bartoszbudzanowski
Plugin Icon 128x128 WooCommerce Google Analytics Integration
Version 1.4.22
Comparing to
See all releases

Code changes from version 1.4.21 to 1.4.22

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  *** Changelog ***
2
 
 
 
 
3
  = 1.4.21 - 2020-05-04 =
4
  * Tweak - WC 4.1 compatibility.
5
 
1
  *** Changelog ***
2
 
3
+ = 1.4.22 - 2020-06-05 =
4
+ * Tweak - WC 4.2 compatibility.
5
+
6
  = 1.4.21 - 2020-05-04 =
7
  * Tweak - WC 4.1 compatibility.
8
 
includes/class-wc-google-analytics.php CHANGED
@@ -109,7 +109,7 @@ class WC_Google_Analytics extends WC_Integration {
109
  ),
110
  'ga_set_domain_name' => array(
111
  'title' => __( 'Set Domain Name', 'woocommerce-google-analytics-integration' ),
112
- 'description' => sprintf( __( '(Optional) Sets the <code>_setDomainName</code> variable. <a href="%s">See here for more information</a>.', 'woocommerce-google-analytics-integration' ), 'https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite#multipleDomains' ),
113
  'type' => 'text',
114
  'default' => ''
115
  ),
@@ -130,7 +130,7 @@ class WC_Google_Analytics extends WC_Integration {
130
  ),
131
  'ga_support_enhanced_link_attribution' => array(
132
  'label' => __( 'Use Enhanced Link Attribution', 'woocommerce-google-analytics-integration' ),
133
- 'description' => sprintf( __( 'Set the Google Analytics code to support Enhanced Link Attribution. %sRead more about Enhanced Link Attribution%s.', 'woocommerce-google-analytics-integration' ), '<a href="https://support.google.com/analytics/answer/2558867?hl=en" target="_blank">', '</a>' ),
134
  'type' => 'checkbox',
135
  'checkboxgroup' => '',
136
  'default' => get_option( 'woocommerce_ga_support_enhanced_link_attribution' ) ? get_option( 'woocommerce_ga_support_enhanced_link_attribution' ) : 'no' // Backwards compat
109
  ),
110
  'ga_set_domain_name' => array(
111
  'title' => __( 'Set Domain Name', 'woocommerce-google-analytics-integration' ),
112
+ 'description' => sprintf( __( '(Optional) Sets the <code>_setDomainName</code> variable. <a href="%s" target="_blank">See here for more information</a>.', 'woocommerce-google-analytics-integration' ), 'https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite#multipleDomains' ),
113
  'type' => 'text',
114
  'default' => ''
115
  ),
130
  ),
131
  'ga_support_enhanced_link_attribution' => array(
132
  'label' => __( 'Use Enhanced Link Attribution', 'woocommerce-google-analytics-integration' ),
133
+ 'description' => sprintf( __( 'Set the Google Analytics code to support Enhanced Link Attribution. %sRead more about Enhanced Link Attribution%s.', 'woocommerce-google-analytics-integration' ), '<a href="https://support.google.com/analytics/answer/7377126?hl=en" target="_blank">', '</a>' ),
134
  'type' => 'checkbox',
135
  'checkboxgroup' => '',
136
  'default' => get_option( 'woocommerce_ga_support_enhanced_link_attribution' ) ? get_option( 'woocommerce_ga_support_enhanced_link_attribution' ) : 'no' // Backwards compat
languages/woocommerce-google-analytics-integration.pot CHANGED
@@ -2,11 +2,11 @@
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Google Analytics Integration 1.4.21\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-google-analytics-"
8
  "integration\n"
9
- "POT-Creation-Date: 2020-05-04 09:54:22+00:00\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=utf-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
@@ -59,8 +59,8 @@ msgstr ""
59
 
60
  #: includes/class-wc-google-analytics.php:112
61
  msgid ""
62
- "(Optional) Sets the <code>_setDomainName</code> variable. <a "
63
- "href=\"%s\">See here for more information</a>."
64
  msgstr ""
65
 
66
  #: includes/class-wc-google-analytics.php:117
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Google Analytics Integration 1.4.22\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-google-analytics-"
8
  "integration\n"
9
+ "POT-Creation-Date: 2020-06-06 00:00:03+00:00\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=utf-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
59
 
60
  #: includes/class-wc-google-analytics.php:112
61
  msgid ""
62
+ "(Optional) Sets the <code>_setDomainName</code> variable. <a href=\"%s\" "
63
+ "target=\"_blank\">See here for more information</a>."
64
  msgstr ""
65
 
66
  #: includes/class-wc-google-analytics.php:117
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: woocommerce, claudiosanches, bor0, royho, laurendavissmith001, c-s
3
  Tags: woocommerce, google analytics
4
  Requires at least: 3.9
5
  Tested up to: 5.4
6
- Stable tag: 1.4.21
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -68,6 +68,9 @@ Exact wording depends on the national data privacy laws and should be adjusted.
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 1.4.21 - 2020-05-04 =
72
  * Tweak - WC 4.1 compatibility.
73
 
3
  Tags: woocommerce, google analytics
4
  Requires at least: 3.9
5
  Tested up to: 5.4
6
+ Stable tag: 1.4.22
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
68
 
69
  == Changelog ==
70
 
71
+ = 1.4.22 - 2020-06-05 =
72
+ * Tweak - WC 4.2 compatibility.
73
+
74
  = 1.4.21 - 2020-05-04 =
75
  * Tweak - WC 4.1 compatibility.
76
 
woocommerce-google-analytics-integration.php CHANGED
@@ -5,9 +5,9 @@
5
  * Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com
8
- * Version: 1.4.21
9
  * WC requires at least: 2.1
10
- * WC tested up to: 4.1
11
  * Tested up to: 5.4
12
  * License: GPLv2 or later
13
  * Text Domain: woocommerce-google-analytics-integration
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
20
 
21
  if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
22
 
23
- define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.4.21' ); // WRCS: DEFINED_VERSION.
24
 
25
  /**
26
  * WooCommerce Google Analytics Integration main class.
5
  * Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com
8
+ * Version: 1.4.22
9
  * WC requires at least: 2.1
10
+ * WC tested up to: 4.2
11
  * Tested up to: 5.4
12
  * License: GPLv2 or later
13
  * Text Domain: woocommerce-google-analytics-integration
20
 
21
  if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
22
 
23
+ define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '1.4.22' ); // WRCS: DEFINED_VERSION.
24
 
25
  /**
26
  * WooCommerce Google Analytics Integration main class.