news4 - RSS aggrigation system
Revisión | bc723b8afd74a99a72c563f7ed799c94321cbd23 (tree) |
---|---|
Tiempo | 2012-10-26 03:42:01 |
Autor | hylom <hylom@hylo...> |
Commiter | hylom |
add google analytics tracking code to templates/index.tmpl.html
@@ -6,6 +6,19 @@ | ||
6 | 6 | <!-- Bootstrap --> |
7 | 7 | <link href="${site.css_directory}/bootstrap.min.css" rel="stylesheet"> |
8 | 8 | <link href="${site.css_directory}/gnews.css" rel="stylesheet"> |
9 | +<script type="text/javascript"> | |
10 | + var _gaq = _gaq || []; | |
11 | + _gaq.push(['_setAccount', 'UA-739864-13']); | |
12 | + _gaq.push(['_trackPageview']); | |
13 | + (function() { | |
14 | + var ga = document.createElement('script'); ga.type = | |
15 | +'text/javascript'; ga.async = true; | |
16 | + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : | |
17 | +'http://www') + '.google-analytics.com/ga.js'; | |
18 | + var s = document.getElementsByTagName('script')[0]; | |
19 | +s.parentNode.insertBefore(ga, s); | |
20 | + })(); | |
21 | +</script> | |
9 | 22 | </head> |
10 | 23 | |
11 | 24 | <body class="wrap"> |