• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

news4 - RSS aggrigation system


Commit MetaInfo

Revisiónbc723b8afd74a99a72c563f7ed799c94321cbd23 (tree)
Tiempo2012-10-26 03:42:01
Autorhylom <hylom@hylo...>
Commiterhylom

Log Message

add google analytics tracking code to templates/index.tmpl.html

Cambiar Resumen

Diferencia incremental

--- a/templates/index.tmpl.html
+++ b/templates/index.tmpl.html
@@ -6,6 +6,19 @@
66 <!-- Bootstrap -->
77 <link href="${site.css_directory}/bootstrap.min.css" rel="stylesheet">
88 <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>
922 </head>
1023
1124 <body class="wrap">