Skip to content

Commit

Permalink
Added Google Analytics script.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Aug 3, 2010
1 parent 68302f4 commit 4f2e883
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions market-test/app/views/layouts/sign_up.html.erb
@@ -1,7 +1,22 @@
<html>
<head>
<%= yield :start_opt %>
<%= stylesheet_link_tag "style" %>
<link href="http://fonts.googleapis.com/css?family=IM+Fell+Great+Primer:regular,italic|OFL+Sorts+Mill+Goudy+TT:regular,italic|Cardo:regular" rel="stylesheet" type="text/css">
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17782887-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);
})();

</script>
</head>
<%= yield :body %>
<%= yield :end_opt %>
</html>

0 comments on commit 4f2e883

Please sign in to comment.