diff options
author | Alexander Jung-Loddenkemper <alexander.julo@googlemail.com> | 2012-03-18 14:52:34 +0100 |
---|---|---|
committer | Alexander Jung-Loddenkemper <alexander.julo@googlemail.com> | 2012-03-18 14:52:34 +0100 |
commit | e6f3c75122c344a39953c551e1fe480222b23390 (patch) | |
tree | a2243ea9b2d07eaa1954c67dfc1f17ae9731d7f6 /bootlex/templates/analytics.html | |
parent | e38b06c659d60590c0000f2938387d7fa161e2e5 (diff) | |
download | pelican-themes-e6f3c75122c344a39953c551e1fe480222b23390.tar.gz |
added bootlex theme.
Diffstat (limited to 'bootlex/templates/analytics.html')
-rw-r--r-- | bootlex/templates/analytics.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bootlex/templates/analytics.html b/bootlex/templates/analytics.html new file mode 100644 index 0000000..86c297c --- /dev/null +++ b/bootlex/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 |