WooCommerce Google Analytics Integration - Version 1.4.6

Version Description

  • 06/11/2018 =
  • Fix - Check for active WooCommerce plugin.
Download this release

Release Info

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

Code changes from version 1.4.5 to 1.4.6

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.4\n"
6
"Report-Msgid-Bugs-To: "
7
"https://github.com/woocommerce/woocommerce-google-analytics-integration/"
8
"issues\n"
9
- "POT-Creation-Date: 2018-03-20 14:42:08+00:00\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=utf-8\n"
12
"Content-Transfer-Encoding: 8bit\n"
@@ -198,29 +198,29 @@ msgid ""
198
"order received/thank you page."
199
msgstr ""
200
201
- #: includes/class-wc-google-analytics.php:370
202
- #: includes/class-wc-google-analytics.php:440
203
msgid "Products"
204
msgstr ""
205
206
- #: includes/class-wc-google-analytics.php:371
207
- #: includes/class-wc-google-analytics.php:441
208
msgid "Add to Cart"
209
msgstr ""
210
211
- #: includes/class-wc-google-analytics.php:372
212
msgid "ID:"
213
msgstr ""
214
215
- #: woocommerce-google-analytics-integration.php:71
216
msgid "Settings"
217
msgstr ""
218
219
- #: woocommerce-google-analytics-integration.php:72
220
msgid "Support"
221
msgstr ""
222
223
- #: woocommerce-google-analytics-integration.php:110
224
msgid "WooCommerce Google Analytics depends on the last version of %s to work!"
225
msgstr ""
226
@@ -228,6 +228,17 @@ msgstr ""
228
msgid "WooCommerce"
229
msgstr ""
230
231
#. Plugin Name of the plugin/theme
232
msgid "WooCommerce Google Analytics Integration"
233
msgstr ""
2
# This file is distributed under the GPLv2 or later.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: WooCommerce Google Analytics Integration 1.4.5\n"
6
"Report-Msgid-Bugs-To: "
7
"https://github.com/woocommerce/woocommerce-google-analytics-integration/"
8
"issues\n"
9
+ "POT-Creation-Date: 2018-10-25 21:12:02+00:00\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=utf-8\n"
12
"Content-Transfer-Encoding: 8bit\n"
198
"order received/thank you page."
199
msgstr ""
200
201
+ #: includes/class-wc-google-analytics.php:375
202
+ #: includes/class-wc-google-analytics.php:445
203
msgid "Products"
204
msgstr ""
205
206
+ #: includes/class-wc-google-analytics.php:376
207
+ #: includes/class-wc-google-analytics.php:446
208
msgid "Add to Cart"
209
msgstr ""
210
211
+ #: includes/class-wc-google-analytics.php:377
212
msgid "ID:"
213
msgstr ""
214
215
+ #: woocommerce-google-analytics-integration.php:75
216
msgid "Settings"
217
msgstr ""
218
219
+ #: woocommerce-google-analytics-integration.php:76
220
msgid "Support"
221
msgstr ""
222
223
+ #: woocommerce-google-analytics-integration.php:114
224
msgid "WooCommerce Google Analytics depends on the last version of %s to work!"
225
msgstr ""
226
228
msgid "WooCommerce"
229
msgstr ""
230
231
+ #: woocommerce-google-analytics-integration.php:146
232
+ msgid "Get detailed insights into your sales with Google Analytics Pro"
233
+ msgstr ""
234
+
235
+ #: woocommerce-google-analytics-integration.php:149
236
+ #. translators: 1: href link to GA pro
237
+ msgid ""
238
+ "Add advanced tracking for your sales funnel, coupons and more. [<a "
239
+ "href=\"%s\" target=\"_blank\">Learn more</a> &gt;]"
240
+ msgstr ""
241
+
242
#. Plugin Name of the plugin/theme
243
msgid "WooCommerce Google Analytics Integration"
244
msgstr ""
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.8
5
Tested up to: 4.9
6
- Stable tag: 1.4.5
7
License: GPLv3
8
License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
@@ -67,6 +67,8 @@ Exact wording depends on the national data privacy laws and should be adjusted.
67
1. Google Analytics Integration Settings.
68
69
== Changelog ==
70
71
= 1.4.5 - 16/10/2018 =
72
* Tweak - Mention Google Analytics Pro in certain cases.
3
Tags: woocommerce, google analytics
4
Requires at least: 3.8
5
Tested up to: 4.9
6
+ Stable tag: 1.4.6
7
License: GPLv3
8
License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
67
1. Google Analytics Integration Settings.
68
69
== Changelog ==
70
+ = 1.4.6 - 06/11/2018 =
71
+ * Fix - Check for active WooCommerce plugin.
72
73
= 1.4.5 - 16/10/2018 =
74
* Tweak - Mention Google Analytics Pro in certain cases.
woocommerce-google-analytics-integration.php CHANGED
@@ -5,7 +5,7 @@
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.5
9
* WC requires at least: 2.1
10
* WC tested up to: 3.5
11
* License: GPLv2 or later
@@ -29,7 +29,7 @@ if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
29
*
30
* @var string
31
*/
32
- const VERSION = '1.4.5';
33
34
/**
35
* Instance of this class.
@@ -42,6 +42,10 @@ if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
42
* Initialize the plugin.
43
*/
44
public function __construct() {
45
// Load plugin text domain
46
add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
47
add_action( 'init', array( $this, 'show_ga_pro_notices' ) );
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.6
9
* WC requires at least: 2.1
10
* WC tested up to: 3.5
11
* License: GPLv2 or later
29
*
30
* @var string
31
*/
32
+ const VERSION = '1.4.6';
33
34
/**
35
* Instance of this class.
42
* Initialize the plugin.
43
*/
44
public function __construct() {
45
+ if ( ! class_exists( 'WooCommerce' ) ) {
46
+ return;
47
+ }
48
+
49
// Load plugin text domain
50
add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
51
add_action( 'init', array( $this, 'show_ga_pro_notices' ) );