diff options
author | m-r-r <skami@skami-laptop.dyndns.org> | 2012-06-22 07:57:12 +0000 |
---|---|---|
committer | m-r-r <skami@skami-laptop.dyndns.org> | 2012-06-22 07:57:12 +0000 |
commit | 98f0d46f2bbddf86e8d202b533af35fa79da2d2f (patch) | |
tree | 297d677cfa76bb20d4e80803343c69b99c939e37 /subtle/templates/analytics.html | |
parent | 2950b6abdad62fdd74682880acdec32f9b417420 (diff) | |
parent | 83892b7112e27721218556c4030cdd5c8d26f98b (diff) | |
download | pelican-themes-98f0d46f2bbddf86e8d202b533af35fa79da2d2f.tar.gz |
[dev-random] resolved conflicts
Diffstat (limited to 'subtle/templates/analytics.html')
-rwxr-xr-x | subtle/templates/analytics.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/subtle/templates/analytics.html b/subtle/templates/analytics.html new file mode 100755 index 0000000..ba174fc --- /dev/null +++ b/subtle/templates/analytics.html @@ -0,0 +1,11 @@ +{% if GOOGLE_ANALYTICS %} + <script type="text/javascript"> + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); + </script> + <script type="text/javascript"> + try { + var pageTracker = _gat._getTracker("{{GOOGLE_ANALYTICS}}"); + pageTracker._trackPageview(); + } catch(err) {}</script> +{% endif %}
\ No newline at end of file |