GA Google Analytics - Version 20221008

Version Description

To upgrade GA Google Analytics, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.

Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database.

For more information, visit the GA Plugin Homepage.

Download this release

Release Info

Developer specialk
Plugin Icon 128x128 GA Google Analytics
Version 20221008
Comparing to
See all releases

Code changes from version 20221002 to 20221008

ga-google-analytics.php CHANGED
@@ -10,8 +10,8 @@
10
  Contributors: specialk
11
  Requires at least: 4.6
12
  Tested up to: 6.1
13
- Stable tag: 20221002
14
- Version: 20221002
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
@@ -61,7 +61,7 @@ if (!class_exists('GA_Google_Analytics')) {
61
 
62
  function constants() {
63
 
64
- if (!defined('GAP_VERSION')) define('GAP_VERSION', '20221002');
65
  if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.6');
66
  if (!defined('GAP_AUTHOR')) define('GAP_AUTHOR', 'Jeff Starr');
67
  if (!defined('GAP_NAME')) define('GAP_NAME', __('GA Google Analytics', 'ga-google-analytics'));
@@ -423,6 +423,10 @@ if (!class_exists('GA_Google_Analytics')) {
423
  $link2 = '<a target="_blank" rel="noopener noreferrer" href="'. $url2 .'">'. esc_html__('Google Tag', 'ga-google-analytics') .'</a> ';
424
  $link3 = '<a target="_blank" rel="noopener noreferrer" href="'. $url3 .'">'. esc_html__('Legacy', 'ga-google-analytics') .'</a> ';
425
 
 
 
 
 
426
  // do not change numeric keys or values (order only)
427
  return array(
428
 
@@ -432,7 +436,7 @@ if (!class_exists('GA_Google_Analytics')) {
432
  ),
433
  1 => array(
434
  'value' => 1,
435
- 'label' => $link1 .' <span class="gap-note"> / <span class="gap-code">analytics.js</span> '. esc_html__('(deprecated)', 'ga-google-analytics') .'</span>',
436
  ),
437
  3 => array(
438
  'value' => 3,
10
  Contributors: specialk
11
  Requires at least: 4.6
12
  Tested up to: 6.1
13
+ Stable tag: 20221008
14
+ Version: 20221008
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
61
 
62
  function constants() {
63
 
64
+ if (!defined('GAP_VERSION')) define('GAP_VERSION', '20221008');
65
  if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.6');
66
  if (!defined('GAP_AUTHOR')) define('GAP_AUTHOR', 'Jeff Starr');
67
  if (!defined('GAP_NAME')) define('GAP_NAME', __('GA Google Analytics', 'ga-google-analytics'));
423
  $link2 = '<a target="_blank" rel="noopener noreferrer" href="'. $url2 .'">'. esc_html__('Google Tag', 'ga-google-analytics') .'</a> ';
424
  $link3 = '<a target="_blank" rel="noopener noreferrer" href="'. $url3 .'">'. esc_html__('Legacy', 'ga-google-analytics') .'</a> ';
425
 
426
+ $urlUA = 'https://wordpress.org/support/topic/note-about-google-changes/';
427
+
428
+ $linkUA = ' <a target="_blank" rel="noopener noreferrer" href="'. $urlUA .'">'. esc_html__('learn more', 'ga-google-analytics') .'</a>';
429
+
430
  // do not change numeric keys or values (order only)
431
  return array(
432
 
436
  ),
437
  1 => array(
438
  'value' => 1,
439
+ 'label' => $link1 .' <span class="gap-note"> / <span class="gap-code">analytics.js</span> '. esc_html__('(deprecated,', 'ga-google-analytics') . $linkUA . esc_html__(')', 'ga-google-analytics') .'</span>',
440
  ),
441
  3 => array(
442
  'value' => 3,
languages/ga-google-analytics.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: GA Google Analytics\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2022-10-03 21:57+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -22,14 +22,18 @@ msgstr ""
22
  msgid "(aka, Global Site Tag) or"
23
  msgstr ""
24
 
25
- #: ga-google-analytics.php:431
26
  msgid "(default)"
27
  msgstr ""
28
 
29
- #: ga-google-analytics.php:435 ga-google-analytics.php:439
30
  msgid "(deprecated)"
31
  msgstr ""
32
 
 
 
 
 
33
  #: ga-google-analytics.php:351
34
  msgid ""
35
  "(for Google Tag Manager), which is not supported. Please try again with a "
@@ -44,7 +48,8 @@ msgstr ""
44
  msgid "(via"
45
  msgstr ""
46
 
47
- #: ga-google-analytics.php:397 ga-google-analytics.php:400
 
48
  msgid ")"
49
  msgstr ""
50
 
@@ -307,6 +312,10 @@ msgstr ""
307
  msgid "Learn how to enable GA4. Quick steps available on the"
308
  msgstr ""
309
 
 
 
 
 
310
  #: ga-google-analytics.php:424
311
  msgid "Legacy"
312
  msgstr ""
@@ -420,7 +429,7 @@ msgstr ""
420
  msgid "requires WordPress "
421
  msgstr ""
422
 
423
- #: ga-google-analytics.php:502
424
  msgid "Restore default plugin options"
425
  msgstr ""
426
 
3
  msgstr ""
4
  "Project-Id-Version: GA Google Analytics\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2022-10-08 22:40+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
22
  msgid "(aka, Global Site Tag) or"
23
  msgstr ""
24
 
25
+ #: ga-google-analytics.php:435
26
  msgid "(default)"
27
  msgstr ""
28
 
29
+ #: ga-google-analytics.php:443
30
  msgid "(deprecated)"
31
  msgstr ""
32
 
33
+ #: ga-google-analytics.php:439
34
+ msgid "(deprecated,"
35
+ msgstr ""
36
+
37
  #: ga-google-analytics.php:351
38
  msgid ""
39
  "(for Google Tag Manager), which is not supported. Please try again with a "
48
  msgid "(via"
49
  msgstr ""
50
 
51
+ #: ga-google-analytics.php:397 ga-google-analytics.php:400
52
+ #: ga-google-analytics.php:439
53
  msgid ")"
54
  msgstr ""
55
 
312
  msgid "Learn how to enable GA4. Quick steps available on the"
313
  msgstr ""
314
 
315
+ #: ga-google-analytics.php:428
316
+ msgid "learn more"
317
+ msgstr ""
318
+
319
  #: ga-google-analytics.php:424
320
  msgid "Legacy"
321
  msgstr ""
429
  msgid "requires WordPress "
430
  msgstr ""
431
 
432
+ #: ga-google-analytics.php:506
433
  msgid "Restore default plugin options"
434
  msgstr ""
435
 
readme.txt CHANGED
@@ -10,8 +10,8 @@ Donate link: https://monzillamedia.com/donate.html
10
  Contributors: specialk
11
  Requires at least: 4.6
12
  Tested up to: 6.1
13
- Stable tag: 20221002
14
- Version: 20221002
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
@@ -334,6 +334,11 @@ If you like GA Google Analytics, please take a moment to [give a 5-star rating](
334
  > New Pro version available! Check out [GA Pro &raquo;](https://plugin-planet.com/ga-google-analytics-pro/)
335
 
336
 
 
 
 
 
 
337
  **20221002**
338
 
339
  * __Note:__ Google renamed "Global Site Tag" to "Google Tag"
10
  Contributors: specialk
11
  Requires at least: 4.6
12
  Tested up to: 6.1
13
+ Stable tag: 20221008
14
+ Version: 20221008
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
334
  > New Pro version available! Check out [GA Pro &raquo;](https://plugin-planet.com/ga-google-analytics-pro/)
335
 
336
 
337
+ **20221008**
338
+
339
+ * Adds [link/info](https://wordpress.org/support/topic/note-about-google-changes/) in plugin settings (Google deprecating Universal Analytics)
340
+ * Updates translation template
341
+
342
  **20221002**
343
 
344
  * __Note:__ Google renamed "Global Site Tag" to "Google Tag"