Permalink
Browse files

added google analytics to website

  • Loading branch information...
azinman committed Dec 15, 2010
1 parent b56eead commit 6c4dc6482a16a96974ffb7c8f6fa0b7f0442a073
Showing with 20 additions and 7 deletions.
  1. +20 −7 site/index.html
View
@@ -1,13 +1,26 @@
<!DOCTYPE html>
<html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>DEPTHJS | MIT Media Lab</title>
- <meta name="description" content="" />
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <title>DEPTHJS | MIT Media Lab</title>
+ <meta name="description" content="" />
- <link rel="stylesheet" href="css/helvetica1/stylesheet.css" />
- <link rel="stylesheet" href="css/helvetica2/stylesheet.css" />
- <link rel="stylesheet" href="css/screen.css" />
+ <link rel="stylesheet" href="css/helvetica1/stylesheet.css" />
+ <link rel="stylesheet" href="css/helvetica2/stylesheet.css" />
+ <link rel="stylesheet" href="css/screen.css" />
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-20270689-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 6c4dc64

Please sign in to comment.