You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2015/07/16 03:21:29 UTC

svn commit: r1691300 - /cordova/site/public/docs/en/5.1.1/index.js

Author: nikhilkh
Date: Thu Jul 16 01:21:29 2015
New Revision: 1691300

URL: http://svn.apache.org/r1691300
Log:
Updating Google Anlytics tracking ID.

Modified:
    cordova/site/public/docs/en/5.1.1/index.js

Modified: cordova/site/public/docs/en/5.1.1/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/5.1.1/index.js?rev=1691300&r1=1691299&r2=1691300&view=diff
==============================================================================
--- cordova/site/public/docs/en/5.1.1/index.js (original)
+++ cordova/site/public/docs/en/5.1.1/index.js Thu Jul 16 01:21:29 2015
@@ -20,17 +20,13 @@
 //
 // Google Analytics
 //
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-94271-11']);
-_gaq.push(['_setDomainName', '.phonegap.com']);
-_gaq.push(['_trackPageview']);
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
-(function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(ga, s);
-})();
+ga('create', 'UA-64283057-1', 'auto');
+ga('send', 'pageview');
 
 //
 // Syntax Highlighting



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org