diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 20:17:22 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-21 05:19:21 +0100 |
commit | a9f4dd41c11bc4255823ebad7ceabf033cf32ecf (patch) | |
tree | d91064e96e60f444076c9ffc122a47afe3b22a72 /development/libs/barrel/docs/blue-penguin/templates/analytics.html | |
parent | 534807c7a3a3b96d219ec0ce9bb0b3029aa1bdd9 (diff) |
Add 'development/libs/barrel/' from commit 'f3b8ab47d3a3ad8d43dc2b89a5eec1c4e87b033d'
git-subtree-dir: development/libs/barrel
git-subtree-mainline: 518551bfa6ef7d6508b425afa4bfb3ddbd418141
git-subtree-split: f3b8ab47d3a3ad8d43dc2b89a5eec1c4e87b033d
Diffstat (limited to 'development/libs/barrel/docs/blue-penguin/templates/analytics.html')
-rw-r--r-- | development/libs/barrel/docs/blue-penguin/templates/analytics.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/development/libs/barrel/docs/blue-penguin/templates/analytics.html b/development/libs/barrel/docs/blue-penguin/templates/analytics.html new file mode 100644 index 000000000000..ba174fcc20a5 --- /dev/null +++ b/development/libs/barrel/docs/blue-penguin/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 |