diff options
| author | Tom Christie | 2012-10-26 09:30:46 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-10-26 09:30:46 +0100 |
| commit | 365d20652eb7b56c9d1d4b63b52c056f03cab514 (patch) | |
| tree | efae2848073e6a44a955e2200b1302f2773183d6 /docs/template.html | |
| parent | 195006bbc36c21f0154fe1ab7c46f339b2efe559 (diff) | |
| download | django-rest-framework-365d20652eb7b56c9d1d4b63b52c056f03cab514.tar.bz2 | |
Add analytics
Diffstat (limited to 'docs/template.html')
| -rw-r--r-- | docs/template.html | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/template.html b/docs/template.html index 45bada54..56c5d832 100644 --- a/docs/template.html +++ b/docs/template.html @@ -1,5 +1,6 @@ <!DOCTYPE html> -<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<html lang="en"> +<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>Django REST framework</title> <link href="{{ base_url }}/img/favicon.ico" rel="icon" type="image/x-icon"> @@ -17,6 +18,21 @@ <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> + + <script type="text/javascript"> + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-18852272-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 onload="prettyPrint()" class="{{ page_id }}-page"> <div class="wrapper"> |
