設置方法

pukiwiki.skin.phpの</body>の直前にトラッキングコードを埋め込みます。

#sh(){

body>

script type="text/javascript">

 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-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>

/body> } }}

こんな感じ。


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS