Google Universal Analytics - Version 2.4.3

Version Description

  • GTM support added.
Download this release

Release Info

Developer audriusd
Plugin Icon wp plugin Google Universal Analytics
Version 2.4.3
Comparing to
See all releases

Code changes from version 2.4.2 to 2.4.3

classic/classic-analytics.php CHANGED
@@ -57,6 +57,6 @@
57
  </form>
58
  </div>
59
  <div class="clearfix"></div>
60
- <div class="row col-lg-6"><?php echo __('Have a question? Drop it at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.4.2&utm_content=Google%20Classic%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
61
 
62
 
63
  </br></br>
64
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.2&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
65
 
66
 
 
67
 
68
 
69
  </br></br>
70
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.3&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
71
 
72
 
73
  </div>
74
  </br>
57
  </form>
58
  </div>
59
  <div class="clearfix"></div>
 
60
 
61
 
62
  </br></br>
63
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.2&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
64
 
65
 
66
+ <div class="row col-lg-6"><?php echo __('Have a question? Drop it at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.4.3&utm_content=Google%20Classic%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
67
 
68
 
69
  </br></br>
70
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.3&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
71
 
72
 
73
  </div>
74
  </br>
classic/custom-analytics.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="wrap">
2
- <h2><?php echo __('Custom Google Analytics', 'gua'); ?></h2>
3
  <br />
4
  <em><?php echo __('This is a place to customize your tracking code.', 'gua'); ?> </em> <br />
5
  <br />
@@ -56,5 +56,5 @@
56
  </form>
57
  </div>
58
  <div class="clearfix"></div>
59
- <div class="row col-lg-6"><?php echo __('Have a question? Drop it at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.4.2&utm_content=Google%20Custom%20Analytics&utm_campaign=WordPress%20plugins">OnlineAds.lt</a> </div>
60
 
61
  </br></br>
62
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.2&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
63
 
 
64
 
65
  </br></br>
66
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.3&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
67
 
68
  </div>
1
  <div class="wrap">
2
+ <h2><?php echo __('Custom Google Analytics, GTM & other', 'gua'); ?></h2>
3
  <br />
4
  <em><?php echo __('This is a place to customize your tracking code.', 'gua'); ?> </em> <br />
5
  <br />
56
  </form>
57
  </div>
58
  <div class="clearfix"></div>
 
59
 
60
  </br></br>
61
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.2&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
62
 
63
+ <div class="row col-lg-6"><?php echo __('Have a question? Drop it at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.4.3&utm_content=Google%20Custom%20Analytics&utm_campaign=WordPress%20plugins">OnlineAds.lt</a> </div>
64
 
65
  </br></br>
66
  <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.3&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
67
 
68
  </div>
googleanalytics.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Google Universal Analytics
4
  Plugin URI: http://wordpress.org/extend/plugins/google-universal-analytics/
5
  Description: Adds <a href="http://www.google.com/analytics/">Google Analytics</a> tracking code on all pages.
6
- Version: 2.4.2
7
  Author: Audrius Dobilinskas
8
  Author URI: http://onlineads.lt/
9
  */
3
  Plugin Name: Google Universal Analytics
4
  Plugin URI: http://wordpress.org/extend/plugins/google-universal-analytics/
5
  Description: Adds <a href="http://www.google.com/analytics/">Google Analytics</a> tracking code on all pages.
6
+ Version: 2.4.3
7
  Author: Audrius Dobilinskas
8
  Author URI: http://onlineads.lt/
9
  */
options.php CHANGED
@@ -104,8 +104,8 @@
104
  </form>
105
  </div>
106
  <div class="clearfix"></div>
107
- <div class="row col-lg-6"><?php echo __('Have a question? Drop it at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.4.1&utm_content=Google%20Universal%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
108
  </br></br>
109
- <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.1&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
110
 
 
111
 
112
  </div>
113
  </br>
104
  </form>
105
  </div>
106
  <div class="clearfix"></div>
107
+ <div class="row col-lg-6"><?php echo __('Have a question? Drop it at', 'gua'); ?> <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.4.3&utm_content=Google%20Universal%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
108
  </br></br>
 
109
 
110
+ <strong>Pro Tip:</strong> For periodic Google Analytics data reporting use <a href="https://nexusad.com/?utm_source=wordpress&utm_medium=Google%2BUniversal%2BAnalytics%2B2.4.3&utm_campaign=wp_plugins" title="nexusAd" target="_blank">nexusAd tool</a>.
111
 
112
  </div>
113
  </br>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: audriusd
3
  Donate link: http://onlineads.lt/
4
  Tags: javascript, tracking, google, analytics, universal, statistics, google analytics, universal analytics, user id, google universal analytics, classic, custom, nexusad
5
  Requires at least: 3.0
6
- Tested up to: 4.1
7
- Stable tag: 2.4.2
8
  License: GPLv2 or later
9
 
10
  Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website. Many options!
@@ -74,6 +74,9 @@ Check it out [nexusAd tool](https://nexusad.com).
74
 
75
  == Changelog ==
76
 
 
 
 
77
  = 2.4.2 =
78
  * Small updates.
79
 
3
  Donate link: http://onlineads.lt/
4
  Tags: javascript, tracking, google, analytics, universal, statistics, google analytics, universal analytics, user id, google universal analytics, classic, custom, nexusad
5
  Requires at least: 3.0
6
+ Tested up to: 5.0
7
+ Stable tag: 2.4.3
8
  License: GPLv2 or later
9
 
10
  Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website. Many options!
74
 
75
  == Changelog ==
76
 
77
+ = 2.4.3 =
78
+ * GTM support added.
79
+
80
  = 2.4.2 =
81
  * Small updates.
82
 
tracking-code.php CHANGED
@@ -20,7 +20,7 @@ global $current_user;
20
  get_currentuserinfo();
21
  ?>
22
 
23
- <!-- Google Universal Analytics for WordPress v2.4.2 -->
24
 
25
  <script>
26
 
@@ -38,7 +38,7 @@ global $current_user;
38
  ga('send', 'pageview');
39
 
40
  </script>
41
- <!-- Google Universal Analytics for WordPress v2.4.2 - https://wordpress.org/plugins/google-universal-analytics -->
42
 
43
  <?php if($track_links=='on'): ?>
44
 
20
  get_currentuserinfo();
21
  ?>
22
 
23
+ <!-- Google Universal Analytics for WordPress v2.4.3 -->
24
 
25
  <script>
26
 
38
  ga('send', 'pageview');
39
 
40
  </script>
41
+ <!-- Google Universal Analytics for WordPress v2.4.3 - https://wordpress.org/plugins/google-universal-analytics -->
42
 
43
  <?php if($track_links=='on'): ?>
44