cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akurdyu...@apache.org
Subject docs commit: Sett different GA account for the docs
Date Tue, 11 Aug 2015 14:51:40 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 23c7e0b60 -> 25f53b819


Sett different GA account for the docs


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/25f53b81
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/25f53b81
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/25f53b81

Branch: refs/heads/cordova-website
Commit: 25f53b819344f964a05ec6097cbcfc6c42037bca
Parents: 23c7e0b
Author: Andrey Kurdyumov <kant2002@gmail.com>
Authored: Tue Aug 11 20:51:22 2015 +0600
Committer: Andrey Kurdyumov <kant2002@gmail.com>
Committed: Tue Aug 11 20:51:22 2015 +0600

----------------------------------------------------------------------
 www/_includes/analytics.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/25f53b81/www/_includes/analytics.html
----------------------------------------------------------------------
diff --git a/www/_includes/analytics.html b/www/_includes/analytics.html
index 14d66fe..dcef984 100644
--- a/www/_includes/analytics.html
+++ b/www/_includes/analytics.html
@@ -3,7 +3,10 @@
     (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');
-
+{% if page.docs_tab %}
+    ga('create', 'UA-64283057-1', 'auto');
+{% else %}
     ga('create', 'UA-64283057-3', 'auto');
+{% endif %}
     ga('send', 'pageview');
 </script>


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


Mime
View raw message