allura
Revisão | 5d7db84eb10aaeabf7f0071f91ab3a1f32c21923 (tree) |
---|---|
Hora | 2011-09-02 01:16:10 |
Autor | Kyle Adams <kadams@geek...> |
Commiter | Kyle Adams |
[#2713] Moved custom JS before _trackPageview call.
Signed-off-by: Kyle Adams <kadams@geek.net>
@@ -8,9 +8,9 @@ | ||
8 | 8 | {% if c.app and c.app.config -%} |
9 | 9 | _gaq.push(['_setCustomVar', 1, 'Page Type', '{{c.app.config.tool_name}}', 3]) |
10 | 10 | {%- endif %} |
11 | + {{theme_macros.custom_ga_js(c.user|default, c.project|default)}} | |
11 | 12 | _gaq.push(['_trackPageview']); |
12 | 13 | _gaq.push(['_trackPageLoadTime']); |
13 | - {{theme_macros.custom_ga_js(c.user|default, c.project|default)}} | |
14 | 14 | (function() { |
15 | 15 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
16 | 16 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |