Skip to content

Commit ebddb0c

Browse files
committed
Adding GA back in.
1 parent 4ad2f89 commit ebddb0c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

views/layout.haml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@
55
%link{:rel => "stylesheet", :href => "/stylesheets/reset.css", :type => 'text/css'}
66
%link{:rel => "stylesheet", :href => "/stylesheets/site.css", :type => 'text/css'}
77
%link{:rel => "stylesheet", :href => "/stylesheets/ruby.css", :type => 'text/css'}
8+
:javascript
9+
var _gaq = _gaq || [];
10+
_gaq.push(['_setAccount', 'UA-10499799']);
11+
_gaq.push(['_trackPageview']);
12+
13+
(function() {
14+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
15+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
16+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
17+
})();
18+
819
%body
920
%nav{:style => "float:right;"}
1021
<a href="/">Home</a> \

0 commit comments

Comments
 (0)