ソチってどっち?Latinです。今回は Google Analytics のイベントトラッキングの使い方についてです。コレ、毎回ググってる気がするんですよね・・・。なのでここらでまとめておこうと思います。 従来のクラシックアナリティクス(非同期型)とユニバーサルアナリティクス 従来のクラシック(非同期型)とユニバーサルアナリティクス版で実装の方法が若干違ってきますが、呼び出すメソッドが異なるだけで内容に大きな違いはありません。 今現在利用中のアナリティクスが従来型なのかユニバーサルアナリティクスなのかは、Google Analytics 画面の「アナリティクス設定→トラッキング情報」で確認できます。 また、実装されたトラッキングコードでも確認が可能です。 従来の非同期型のトラッキングコード例 _gaq.push(['_setAccount', 'UA-1234567-1']); ユニバーサ
この夏Google Analyticsが新しくなるって知ってた?Universal Analyticsを予習しようJavaScriptGoogleAnalytics 意外と認知度が低い感じですが、Google Analyticsがそろそろ新しくなりますよ! 現在パブリックベータとして提供されているUniversal Analyticsが 予定では 7月中 に正式リリースになります。つまり今月! 世の中見渡していると非エンジニアなウェブマスター向けの紹介記事が多い印象なので、ここではJavaScriptのインタフェースがどう変わったか、それを使ってエンジニアはどういうことができるようになるか、みたいな、よりエンジニア向けの話題を中心に書いてみたいと思います。 ソースは公式ドキュメントなので、より詳しく知りたい方はそちらを参照してください。 簡単なまとめ Universal Analytics
Analyticsを利用したサイト改善案シリーズ第2回です。 まず、ランディングページ自体、ブログにあまり必要ないと考えられていますが、実はそうではありません。 ブログも記事を書けば書くほど多くのランディングページが生まれているのですが、それらを単に無視しているだけであり、気付くことが出来れば、それなりに対処することが出来るのです。 ランディングページとは? Web制作やマーケティングに関わっていない、一般的なブロガーさんであれば、なんですかそれは?という言葉かもしれません。 簡単にいうと、制作したサービスや商品につなげるために、入り口的ページです。 多くの場合、広告をクリックした時の、最初のページに用いられます。 なぜなら、せっかく広告をクリックしてくれたにもかかわらず、興味を持ってもらえなければ、直ぐに離脱されてしまいます。そこで、ユーザーの興味を強く引くための、協力な入り口専用ページ
公式な仕様は無さそう。ソースを読むのは厳しい。整形しただけでは全然読めなかった。 クッキー 4種類 現行バージョンの ga.js が使用するクッキーは、主に4つ。 __utma ユーザを識別。2年有効。 __utmb 今回のセッションを識別。30分有効。 __utmz どこから来たか。リファラ。6ヶ月有効。 __utmv カスタム変数。2年有効。 __utma, __utmb, __utmz は、ga.js が実行されたときに、無かったら作られる。 __utmv は、_setCustomVar() で作られる。 有効期間は、最後に更新した時点からカウントする。4つとも、GAにデータが送られる度に更新される。 たとえば __utma なら、ユーザが2年間サイトに来なかったら消える。2年以内に再度アクセスすると、そこからまた2年の有効期間が与えられる。 他に、 __utmc 古いバージョンであ
バブルチャート使っていますか? 「Google アナリティクスの中で最もサイト改善のヒントを見つけやすいグラフはどれか?」と聞かれたら間違いなく「バブルチャート」と答える筆者です。こんにちは。 しかし、Googleアナリティクスの解説や機能紹介を行っているサイトでなかなかお目にかかりません。そもそも「バブルチャートってGoogle アナリティクスで見られるの?」と思っている方も多いかもしれません。ぜひ、この記事を読んでいただき、その魅力に取り付かれてください! Googleアナリティクスの画面を確認する前に、「バブルチャート」とは何かを確認しておきましょう。 そもそもバブルチャートとは? 以下が、バブルチャートの画像になります。Excelなどでも用意されているグラフの1種で、3つの変数をひとつの図で表現できることが出来るのが特徴です。 X軸で1つの変数、Y軸で1つの変数、円の大きさで1つの
A/Bテスト 5 Ads Data Hub 1 AdSense 5 AdWords 19 AdWords 連携 21 AMP 4 Analytics 1 Analytics 基本 5 API 2 BigQuery 11 Cookie 1 CPA 1 DCM 1 DFP 3 DoubleClick 11 DoubleClick Campaign Manager 1 DoubleClick for Publishers 3 e コマース 2 Firebase 8 Firebase Analytics 4 Firebase 向け Google アナリティクス 2 ga.js 2 GA4 12 GACP 18 GCP 1 Google Ads 1 Google Cloud Platform 1 Google Consumer Surveys 2 Google Insights for Search
ベータ版として公開されていたGoogle Analyticsの非同期トラッキングコードが、標準のトラッキングコードになっています。 4月の半ばくらいから移行が始まっていたようで、僕のGAアカウントでも確認できました。 Googleはウェブページの表示速度をランキングアルゴリズムに取り入れたのでこの流れにも沿っていますね。 新規のサイトでは非同期トラッキングコードを導入しましょう。 既存のサイトは面倒かもしれませんが張り替えをおすすめします。 ※ベータ版のコードとも一部変更あり。 読み込み時間の高速化にも役立し正確なデータ取得にも貢献します。 また、非同期トラッキングコードでしか利用できない機能が将来公開されるかもしれません。 貼りつける場所に注意点があります。 以前のトラッキングコードと違い、非同期トラッキングコードは基本的にheadセクション内(head終了タグ直前)に記述します。 co
本記事は2010年8月時点でのものです。バージョンがあっていない場合や、サイト分析の本質的な考え方以外は、参考にはなりませんのでご了承ください。 Google Analytics を理解する上で、覚えておいた方が良い計測仕様や算出方法をまとめました。 ご指摘や間違い等ございましたら、コメントかメンション頂けると幸いです。 1.$インデックスって何? コンテンツ>>上位のコンテンツ、で表示される値。そのページを経由してコンバージョンされた値の合計を、そのページセッション数で割ったモノ。アシストなどのイメージ。 2.閲覧開始後の遷移とナビゲーションの違い コンテンツ>>上位のコンテンツ>>ページ詳細、と表示し、閲覧開始後の遷移は、直後に遷移したセッション数。ナビゲーションサマリーは、閲覧開始に限らず、その前後のPV数の割合。 3.ページ滞在時間は差分を取る ページ遷移をして、その時間の差分を取
追記 2010/2/9 Googleから配布されているga.phpにミス発覚。後述。 公式にモバイル版Google Analytics が発表されました。 ga.jsのチューンナップもされたようで、いよいよモバイルトラッキング元年の様相です。 さて、ただ、以前からリリースはされていましたが、Twitterなどでも「計測できなーい!」というつぶやきが散見されるほどの、敷居の高さですので、注意点をピックアップしました。※以下、php環境下での話しです。 1.PHP5でないと動かない 残念ながら、PHP版は、PHP4では動きません。成功事例もあるようですが、いろいろいじらないとイケマセン。 公式サイトには書いていないのですが、どうやらga.phpソース内の、setrawcookieがphp4では動作しない模様。PHP5で使いましょう。 参考:Google Analytics MobileをPHP
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く