diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-03-24 13:53:03 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-03-24 13:53:03 -0400 |
| commit | 328d3880d5e2d1e1e1897fc9c43c4d46a1f4c0ca (patch) | |
| tree | 156553030f7ca3290b90f0fbb63339eb784e2ad2 /docs | |
| parent | ea3cc847a0b17f1375e7518223bea3070bd8ca64 (diff) | |
| download | tablib-328d3880d5e2d1e1e1897fc9c43c4d46a1f4c0ca.tar.gz | |
added google analytics to generated docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_themes/kr/layout.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/_themes/kr/layout.html b/docs/_themes/kr/layout.html index d7c8792..7e76548 100644 --- a/docs/_themes/kr/layout.html +++ b/docs/_themes/kr/layout.html @@ -13,4 +13,19 @@ © Copyright {{ copyright }}. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>. </div> + <script type="text/javascript"> + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-8742933-9']); + _gaq.push(['_setDomainName', 'none']); + _gaq.push(['_setAllowLinker', true]); + _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> {%- endblock %} |
