source: branches/version-2_5-dev/html/user_data/plugins/google_analytics/tpl/ga.tpl @ 20116

Revision 20116, 425 bytes checked in by nanasess, 13 years ago (diff)
  • svn properties を再設定
  • 再設定用のスクリプト追加
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<script type="text/javascript">
2var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
3document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
4</script>
5<script type="text/javascript">
6try {
7var pageTracker = _gat._getTracker("UA-<!--{$smarty.const.GA_UA}-->");
8pageTracker._trackPageview();
9} catch(err) {}</script>
Note: See TracBrowser for help on using the repository browser.