Switch to Google Analytics.
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 15 Sep 2010 11:40:08 -0400 |
parents |
def464696a83
|
children |
6e176449d241
|
branches/tags |
(none) |
files |
layout/skeleton/_base.html |
Changes
--- a/layout/skeleton/_base.html Wed Sep 08 20:15:45 2010 -0400
+++ b/layout/skeleton/_base.html Wed Sep 15 11:40:08 2010 -0400
@@ -6,7 +6,7 @@
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=OFL+Sorts+Mill+Goudy+TT:regular,italic' rel='stylesheet' type='text/css'>
-
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{% block title %}{% block extra_title %}{% endblock %}{{ page.title|safe }} / {{ site.name }}{% endblock %}</title>
@@ -31,7 +31,6 @@
<script src="/media/js/jquery.colorbox.js" type="text/javascript"></script>
<script src="/media/js/sjl.js" type="text/javascript"></script>
<script src="/media/js/print.js" type="text/javascript"></script>
- <script src="http://mint.stevelosh.com/?js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
@@ -47,11 +46,11 @@
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
-
+
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';
-
+
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
@@ -62,6 +61,19 @@
<link rel="openid.server" href="http://www.myopenid.com/server" />
<link rel="openid.delegate" href="http://stevelosh.myopenid.com/" />
+
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-15328874-2']);
+ _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>