Skip to content
Browse files

Google analytics

  • Loading branch information...
1 parent 70c1e74 commit 5e579710ab66101dcf801e627858e448e0c35b87 @dlidstrom committed Mar 5, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 Words.Web/Views/Shared/_Layout.cshtml
View
13 Words.Web/Views/Shared/_Layout.cshtml
@@ -6,6 +6,19 @@
<title>@ViewBag.Title</title>
<link href='@Url.Content("Content/bootstrap/css/bootstrap.min.css")' rel="stylesheet" type="text/css" />
<link href='@Url.Content("Content/bootstrap/css/bootstrap-responsive.min.css")' rel="stylesheet" type="text/css" />
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-29724397-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>
<body>

0 comments on commit 5e57971

Please sign in to comment.
Something went wrong with that request. Please try again.