Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit bb25f19

Browse files
author
Ivar Pruijn
committed
Merge pull request #155 from c9/analytics_update
Updated Google Analytics code
2 parents f51612f + 8e58b75 commit bb25f19

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

assets/javascripts/ga.js

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
var _gaq = _gaq || [];
2-
_gaq.push(['_setAccount', 'UA-18736001-1']);
3-
_gaq.push(['_setDomainName', 'c9.io']);
4-
_gaq.push(['_setAllowLinker', true]);
5-
_gaq.push(['_trackPageview']);
6-
7-
(function() {
8-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
9-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
10-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
11-
})();
1+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
2+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
3+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
4+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
5+
ga('create', 'UA-58752400-1', 'auto');
6+
ga('send', 'pageview');

recentFiles.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"filename":"frameworks_wordpress","mtime":1421858826000,"pageTitle":"Getting Started with Wordpress"},{"filename":"deploying_code","mtime":1421769253000,"pageTitle":"Deploying Your Code"},{"filename":"java_runner","mtime":1421769253000,"pageTitle":"Java Runner"},{"filename":"frameworks_jekyll","mtime":1421769253000,"pageTitle":"Framework: Jekyll"},{"filename":"deploying_via_cli","mtime":1421769253000,"pageTitle":"Deploying via the Command Line"}]
1+
[{"filename":"frameworks_wordpress","mtime":1421859765000,"pageTitle":"Getting Started with Wordpress"},{"filename":"deploying_code","mtime":1421769253000,"pageTitle":"Deploying Your Code"},{"filename":"java_runner","mtime":1421769253000,"pageTitle":"Java Runner"},{"filename":"frameworks_jekyll","mtime":1421769253000,"pageTitle":"Framework: Jekyll"},{"filename":"deploying_via_cli","mtime":1421769253000,"pageTitle":"Deploying via the Command Line"}]

0 commit comments

Comments
 (0)