Googleアナリティクスに対応させるため、次の変更を実施した。
実施日:2012-9-22
実施者:菅野 陽一
*実施内容 [#d1f97201]
**Googleへの申し込み [#m50c7e99]
次の通りトラッキングIDを取得
-トラッキングID: UA-35010254-1
-プロパティ名: Shintomin
-ウェブサイトのURL: http://www.shintomin.com
**コード変更 [#t69bfb1f]
xoops/themes/ueno-x2t/theme.htmlファイルのheadタグ内に次の設定を追加。
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35010254-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>