Version Description
- Added support for additional download extensions - JAR, PUB, MIDI, TAR, PSD, PDN and others (for event tracking).
- Google Universal Analytics plugin now tracks WWF file downloads. Save as WWF, save a Tree!
Download this release
Release Info
Developer | audriusd |
Plugin | Google Universal Analytics |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.1.1
- classic/classic-analytics.php +1 -1
- classic/custom-analytics.php +1 -1
- googleanalytics.php +1 -1
- options.php +1 -1
- readme.txt +11 -2
- tracking-code.php +1 -1
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">Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.1&utm_content=Google%20Classic%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
|
61 |
</div>
|
62 |
</br>
|
57 |
</form>
|
58 |
</div>
|
59 |
<div class="clearfix"></div>
|
60 |
+
<div class="row col-lg-6">Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.1.1&utm_content=Google%20Classic%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
|
61 |
</div>
|
62 |
</br>
|
classic/custom-analytics.php
CHANGED
@@ -57,6 +57,6 @@
|
|
57 |
</form>
|
58 |
</div>
|
59 |
<div class="clearfix"></div>
|
60 |
-
<div class="row col-lg-6">Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.1&utm_content=Google%20Custom%20Analytics&utm_campaign=WordPress%20plugins">OnlineAds.lt</a> </div>
|
61 |
</div>
|
62 |
</br>
|
57 |
</form>
|
58 |
</div>
|
59 |
<div class="clearfix"></div>
|
60 |
+
<div class="row col-lg-6">Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.1.1&utm_content=Google%20Custom%20Analytics&utm_campaign=WordPress%20plugins">OnlineAds.lt</a> </div>
|
61 |
</div>
|
62 |
</br>
|
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.1
|
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.1.1
|
7 |
Author: Audrius Dobilinskas
|
8 |
Author URI: http://onlineads.lt/
|
9 |
*/
|
options.php
CHANGED
@@ -68,6 +68,6 @@
|
|
68 |
</form>
|
69 |
</div>
|
70 |
<div class="clearfix"></div>
|
71 |
-
<div class="row col-lg-6">Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.1&utm_content=Google%20Universal%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
|
72 |
</div>
|
73 |
</br>
|
68 |
</form>
|
69 |
</div>
|
70 |
<div class="clearfix"></div>
|
71 |
+
<div class="row col-lg-6">Have a question? Drop us a question at <a href="http://onlineads.lt/?utm_source=WordPress&utm_medium=Google%20Universal%20Analytics%202.1.1&utm_content=Google%20Universal%20Analytics&utm_campaign=WordPress%20plugins" title="Google Universal Analytics">OnlineAds.lt</a> </div>
|
72 |
</div>
|
73 |
</br>
|
readme.txt
CHANGED
@@ -4,14 +4,14 @@ Donate link: http://onlineads.lt/
|
|
4 |
Tags: javascript, tracking, google, analytics, universal, statistics, google analytics, universal analytics, google universal analytics, classic, custom
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.8.1
|
7 |
-
Stable tag: 2.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website. Event tracking is now available.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
Adding Google Analytics code to your website has never been easier. Simply copy and paste your tracking code and that's it.
|
15 |
|
16 |
Why Google Universal Analytics is better than the usual Google Analytics?
|
17 |
|
@@ -24,6 +24,8 @@ Why Google Universal Analytics is better than the usual Google Analytics?
|
|
24 |
|
25 |
For more information visit: [Google Analytics](http://www.google.com/analytics) or [OnlineAds.lt](http://onlineads.lt).
|
26 |
|
|
|
|
|
27 |
== Installation ==
|
28 |
|
29 |
1. Upload `google-universal-analytics` directory to the `/wp-content/plugins/` directory or use plugin search - Admin > Plugins > Add new > Search for 'Google Universal Analytics'.
|
@@ -60,6 +62,10 @@ Also, do not hesitate to contact us if you have any questions regarding [Google
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
|
|
|
|
|
|
|
|
63 |
= 2.1 =
|
64 |
* Fixed issues affecting some of the websites using this plugin.
|
65 |
* Ability to disable tracking for certain roles added.
|
@@ -87,6 +93,9 @@ Also, do not hesitate to contact us if you have any questions regarding [Google
|
|
87 |
|
88 |
== Upgrade Notice ==
|
89 |
|
|
|
|
|
|
|
90 |
= 2.1 =
|
91 |
* Bug fixes and new features like role based tracking and custom Analytics option.
|
92 |
|
4 |
Tags: javascript, tracking, google, analytics, universal, statistics, google analytics, universal analytics, google universal analytics, classic, custom
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.8.1
|
7 |
+
Stable tag: 2.1.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Adds the latest Google Universal Analytics JavaScript tracking code to your WordPress website. Event tracking is now available.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
Adding Google Analytics code to your website has never been easier. Simply copy and paste your tracking code or property ID and that's it.
|
15 |
|
16 |
Why Google Universal Analytics is better than the usual Google Analytics?
|
17 |
|
24 |
|
25 |
For more information visit: [Google Analytics](http://www.google.com/analytics) or [OnlineAds.lt](http://onlineads.lt).
|
26 |
|
27 |
+
Since March 26th (2014), Google Universal Analytics plugin for WordPress tracks WWF file downloads. Every WWF file download will be tracked as an event. Save as WWF, save a Tree!
|
28 |
+
|
29 |
== Installation ==
|
30 |
|
31 |
1. Upload `google-universal-analytics` directory to the `/wp-content/plugins/` directory or use plugin search - Admin > Plugins > Add new > Search for 'Google Universal Analytics'.
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= 2.1.1 =
|
66 |
+
* Added support for additional download extensions - JAR, PUB, MIDI, TAR, PSD, PDN and others (for event tracking).
|
67 |
+
* Google Universal Analytics plugin now tracks WWF file downloads. Save as WWF, save a Tree!
|
68 |
+
|
69 |
= 2.1 =
|
70 |
* Fixed issues affecting some of the websites using this plugin.
|
71 |
* Ability to disable tracking for certain roles added.
|
93 |
|
94 |
== Upgrade Notice ==
|
95 |
|
96 |
+
= 2.1.1 =
|
97 |
+
* Added support for additional download extensions (including jar, wwf, pub, pot, tar, pez and others).
|
98 |
+
|
99 |
= 2.1 =
|
100 |
* Bug fixes and new features like role based tracking and custom Analytics option.
|
101 |
|
tracking-code.php
CHANGED
@@ -23,7 +23,7 @@ ga('send', 'pageview');
|
|
23 |
var $this = jQuery(this);
|
24 |
var href = $this.prop('href').split('?')[0];
|
25 |
var ext = href.split('.').pop();
|
26 |
-
if ('xls,xlsx,doc,docx,ppt,pptx,pdf,txt,zip,rar,7z,exe,wma,mov,avi,wmv,mp3,csv,tsv'.split(',').indexOf(ext) !== -1) {
|
27 |
ga('send', 'event', 'Download', ext, href);
|
28 |
}
|
29 |
if (href.toLowerCase().indexOf('mailto:') === 0) {
|
23 |
var $this = jQuery(this);
|
24 |
var href = $this.prop('href').split('?')[0];
|
25 |
var ext = href.split('.').pop();
|
26 |
+
if ('xls,xlsx,doc,docx,ppt,pot,pptx,pdf,pub,txt,zip,rar,tar,7z,exe,wma,mov,avi,wmv,wav,mp3,midi,csv,tsv,jar,psd,pdn,ai,pez,wwf'.split(',').indexOf(ext) !== -1) {
|
27 |
ga('send', 'event', 'Download', ext, href);
|
28 |
}
|
29 |
if (href.toLowerCase().indexOf('mailto:') === 0) {
|