Skip to content

Commit

Permalink
Added analytics.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynes committed Nov 28, 2011
1 parent 4952dc3 commit e99706f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/tryclojure/core.clj
Expand Up @@ -81,7 +81,17 @@
[:p.bottom
"Built with "
(link-to "http://webnoir.org" "Noir")
"."]]]]]))
"."]]
(javascript-tag
"var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27340918-1']);
_gaq.push(['_trackPageview']);
(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);
})();")]]]))

(defpage "/" []
(root-html))
Expand Down

0 comments on commit e99706f

Please sign in to comment.