Google Universal Analytics - Version 1.1

Version Description

  • Minor fix in tracking code.
Download this release

Release Info

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

Code changes from version 1.0 to 1.1

Files changed (2) hide show
  1. googleanalytics.php +2 -2
  2. readme.txt +13 -2
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 Universal Analytics</a> tracking code on all pages.
6
- Version: 1.0
7
  Author: Audrius Dobilinskas
8
  Author URI: http://onlineads.lt/
9
  */
@@ -47,7 +47,7 @@ function google_universal_analytics() {
47
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
48
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
49
 
50
- ga('create', '<?php echo $web_property_id ?>', '<?php echo $siteurl ?>');
51
  ga('send', 'pageview');
52
 
53
  </script>
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 Universal Analytics</a> tracking code on all pages.
6
+ Version: 1.1
7
  Author: Audrius Dobilinskas
8
  Author URI: http://onlineads.lt/
9
  */
47
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
48
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
49
 
50
+ ga('create', '<?php echo $web_property_id ?>', '<?php bloginfo('url'); ?>');
51
  ga('send', 'pageview');
52
 
53
  </script>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Google Universal Analytics ===
2
- Contributors: Audrius Dobilinskas
3
  Donate link: http://onlineads.lt/
4
  Tags: javascript, tracking, google, analytics, universal, statistics, google analytics, universal analytics
5
  Requires at least: 2.7
6
  Tested up to: 3.5.1
7
- Stable tag: 1.0
8
  License: GPLv2 or later
9
 
10
  Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website.
@@ -31,6 +31,11 @@ For more information visit: [Google Analytics](http://www.google.com/analytics)
31
 
32
  == Frequently Asked Questions ==
33
 
 
 
 
 
 
34
  = How can I change Web Property ID? =
35
 
36
  The same way you entered it the first time: Admin > Settings > Google Universal Analytics
@@ -46,11 +51,17 @@ Also, do not hesitate to contact us if you have any questions regarding [Google
46
 
47
  == Changelog ==
48
 
 
 
 
49
  = 1.0 =
50
  * Documentation updated.
51
  * Support link added.
52
 
53
  == Upgrade Notice ==
54
 
 
 
 
55
  = 1.0 =
56
  Support link added. If any questions users can contact us now via plugin's interface.
1
  === Google Universal Analytics ===
2
+ Contributors: audriusd
3
  Donate link: http://onlineads.lt/
4
  Tags: javascript, tracking, google, analytics, universal, statistics, google analytics, universal analytics
5
  Requires at least: 2.7
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.1
8
  License: GPLv2 or later
9
 
10
  Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website.
31
 
32
  == Frequently Asked Questions ==
33
 
34
+ = How to install Google Analytics for my WordPress blog? =
35
+
36
+ Follow the link for step-by-step guide:
37
+ [http://onlineads.lt/how-to-install-google-universal-analytics-for-your-wordpress-blog/](http://onlineads.lt/how-to-install-google-universal-analytics-for-your-wordpress-blog/)
38
+
39
  = How can I change Web Property ID? =
40
 
41
  The same way you entered it the first time: Admin > Settings > Google Universal Analytics
51
 
52
  == Changelog ==
53
 
54
+ = 1.1 =
55
+ * Minor fix in tracking code.
56
+
57
  = 1.0 =
58
  * Documentation updated.
59
  * Support link added.
60
 
61
  == Upgrade Notice ==
62
 
63
+ = 1.1 =
64
+ Tracking code updated.
65
+
66
  = 1.0 =
67
  Support link added. If any questions users can contact us now via plugin's interface.