GA Google Analytics - Version 20220124

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 20220124
Comparing to
See all releases

Code changes from version 20220123 to 20220124

Files changed (3) hide show
  1. ga-google-analytics.php +3 -3
  2. inc/plugin-core.php +4 -0
  3. readme.txt +8 -2
ga-google-analytics.php CHANGED
@@ -10,8 +10,8 @@
10
  Contributors: specialk
11
  Requires at least: 4.6
12
  Tested up to: 5.9
13
- Stable tag: 20220123
14
- Version: 20220123
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
@@ -60,7 +60,7 @@ if (!class_exists('GA_Google_Analytics')) {
60
 
61
  function constants() {
62
 
63
- if (!defined('GAP_VERSION')) define('GAP_VERSION', '20220123');
64
  if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.6');
65
  if (!defined('GAP_AUTHOR')) define('GAP_AUTHOR', 'Jeff Starr');
66
  if (!defined('GAP_NAME')) define('GAP_NAME', __('GA Google Analytics', 'ga-google-analytics'));
10
  Contributors: specialk
11
  Requires at least: 4.6
12
  Tested up to: 5.9
13
+ Stable tag: 20220124
14
+ Version: 20220124
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
60
 
61
  function constants() {
62
 
63
+ if (!defined('GAP_VERSION')) define('GAP_VERSION', '20220124');
64
  if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.6');
65
  if (!defined('GAP_AUTHOR')) define('GAP_AUTHOR', 'Jeff Starr');
66
  if (!defined('GAP_NAME')) define('GAP_NAME', __('GA Google Analytics', 'ga-google-analytics'));
inc/plugin-core.php CHANGED
@@ -84,6 +84,8 @@ function ga_google_analytics_universal() {
84
 
85
  $custom_code = ga_google_analytics_custom_code($custom_code);
86
 
 
 
87
  $auto = apply_filters('ga_google_analytics_enable_auto', true) ? ", 'auto'" : "";
88
 
89
  $ga_display = "ga('require', 'displayfeatures');";
@@ -121,6 +123,8 @@ function ga_google_analytics_global() {
121
 
122
  $custom_code = ga_google_analytics_custom_code($custom_code);
123
 
 
 
124
  $script_atts_ext = apply_filters('ga_google_analytics_script_atts_ext', ' async');
125
 
126
  $script_atts = apply_filters('ga_google_analytics_script_atts', '');
84
 
85
  $custom_code = ga_google_analytics_custom_code($custom_code);
86
 
87
+ $tracker_object = apply_filters('gapro_tracker_object_universal', $tracker_object);
88
+
89
  $auto = apply_filters('ga_google_analytics_enable_auto', true) ? ", 'auto'" : "";
90
 
91
  $ga_display = "ga('require', 'displayfeatures');";
123
 
124
  $custom_code = ga_google_analytics_custom_code($custom_code);
125
 
126
+ $tracker_object = apply_filters('gapro_tracker_object_global', $tracker_object);
127
+
128
  $script_atts_ext = apply_filters('ga_google_analytics_script_atts_ext', ' async');
129
 
130
  $script_atts = apply_filters('ga_google_analytics_script_atts', '');
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: 5.9
13
- Stable tag: 20220123
14
- Version: 20220123
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
@@ -321,6 +321,12 @@ If you like GA Google Analytics, please take a moment to [give a 5-star rating](
321
  > New Pro version available! Check out [GA Pro »](https://plugin-planet.com/ga-google-analytics-pro/)
322
 
323
 
 
 
 
 
 
 
324
  **20220123**
325
 
326
  * Updates support panel
10
  Contributors: specialk
11
  Requires at least: 4.6
12
  Tested up to: 5.9
13
+ Stable tag: 20220124
14
+ Version: 20220124
15
  Requires PHP: 5.6.20
16
  Text Domain: ga-google-analytics
17
  Domain Path: /languages
321
  > New Pro version available! Check out [GA Pro »](https://plugin-planet.com/ga-google-analytics-pro/)
322
 
323
 
324
+ **20220124**
325
+
326
+ * Adds filter hook `gapro_tracker_object_universal`
327
+ * Adds filter hook `gapro_tracker_object_global`
328
+ * Tests on WordPress 5.9
329
+
330
  **20220123**
331
 
332
  * Updates support panel