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 | GA Google Analytics |
Version | 20180828 |
Comparing to | |
See all releases |
Code changes from version 20180816 to 20180828
- ga-google-analytics.php +3 -3
- inc/plugin-core.php +1 -1
- readme.txt +7 -2
ga-google-analytics.php
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.1
|
12 |
Tested up to: 5.0
|
13 |
-
Stable tag:
|
14 |
-
Version:
|
15 |
Requires PHP: 5.2
|
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', '
|
64 |
if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.1');
|
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.1
|
12 |
Tested up to: 5.0
|
13 |
+
Stable tag: 20180828
|
14 |
+
Version: 20180828
|
15 |
Requires PHP: 5.2
|
16 |
Text Domain: ga-google-analytics
|
17 |
Domain Path: /languages
|
60 |
|
61 |
function constants() {
|
62 |
|
63 |
+
if (!defined('GAP_VERSION')) define('GAP_VERSION', '20180828');
|
64 |
if (!defined('GAP_REQUIRE')) define('GAP_REQUIRE', '4.1');
|
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
@@ -115,7 +115,7 @@ function ga_google_analytics_global() {
|
|
115 |
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $tracking_id; ?>"></script>
|
116 |
<script>
|
117 |
window.dataLayer = window.dataLayer || [];
|
118 |
-
function gtag(){dataLayer.push(arguments)}
|
119 |
gtag('js', new Date());
|
120 |
gtag('config', '<?php echo $tracking_id; ?>'<?php if ($tracker_object) echo ', '. $tracker_object; ?>);
|
121 |
<?php if ($custom_code) echo $custom_code; ?>
|
115 |
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $tracking_id; ?>"></script>
|
116 |
<script>
|
117 |
window.dataLayer = window.dataLayer || [];
|
118 |
+
function gtag(){dataLayer.push(arguments);}
|
119 |
gtag('js', new Date());
|
120 |
gtag('config', '<?php echo $tracking_id; ?>'<?php if ($tracker_object) echo ', '. $tracker_object; ?>);
|
121 |
<?php if ($custom_code) echo $custom_code; ?>
|
readme.txt
CHANGED
@@ -10,8 +10,8 @@ Donate link: https://monzillamedia.com/donate.html
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.1
|
12 |
Tested up to: 5.0
|
13 |
-
Stable tag:
|
14 |
-
Version:
|
15 |
Requires PHP: 5.2
|
16 |
Text Domain: ga-google-analytics
|
17 |
Domain Path: /languages
|
@@ -209,6 +209,11 @@ Links, tweets and likes also appreciated. Thanks! :)
|
|
209 |
|
210 |
*Thank you to everyone who shares feedback for GA Google Analytics!*
|
211 |
|
|
|
|
|
|
|
|
|
|
|
212 |
**20180816**
|
213 |
|
214 |
* Adds `rel="noopener noreferrer"` to all [blank-target links](https://perishablepress.com/wordpress-blank-target-vulnerability/)
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.1
|
12 |
Tested up to: 5.0
|
13 |
+
Stable tag: 20180828
|
14 |
+
Version: 20180828
|
15 |
Requires PHP: 5.2
|
16 |
Text Domain: ga-google-analytics
|
17 |
Domain Path: /languages
|
209 |
|
210 |
*Thank you to everyone who shares feedback for GA Google Analytics!*
|
211 |
|
212 |
+
**20180828**
|
213 |
+
|
214 |
+
* Corrects incorrect syntax for gtag tacking code
|
215 |
+
* Further tests on WP versions 4.9 and 5.0 (alpha)
|
216 |
+
|
217 |
**20180816**
|
218 |
|
219 |
* Adds `rel="noopener noreferrer"` to all [blank-target links](https://perishablepress.com/wordpress-blank-target-vulnerability/)
|