Google Analyticsを使ってみる[Livedoorブログ]

スポンサーリンク
Google Analyticsでいろいろと解析ができるということで、やってみました。

このサイトは、livedoorブログを使わせてもらっているので、

livedoorブログの管理画面にログイン後

[ブログの設定]→[デザイン/ブログパーツの設定]→[PC]→[デザインカスタマイズ]と進み
トップページ個別記事ページカテゴリアーカイブ月別アーカイブ

の</body>の上に以下を貼り付ける。


<script type=”text/javascript”>

  var _gaq = _gaq || [];
  _gaq.push([‘_setAccount’, ‘**-*******-*’]);
  _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>

これでOK