GA4の導入 「Google タグ」編

解説記事

「グローバル サイトタグ(gtag.js)」「Google タグ」という名称になりました。

「グローバル サイトタグ(gtag.js)」「Google タグ」という名称になりました。GA4の導入に関しては、大きな変更はありませんが、「Googleタグ」に名称が変わった後の、GA4導入の画面遷移をご紹介します。

公式ヘルプ:https://support.google.com/tagmanager/answer/11994839?hl=ja

https://analytics.google.com/analytics/web/

「測定を開始」をクリック。

アカウント名を入力。

「次へ」をクリック。

「プロパティ名」を入力し、「レポートのタイムゾーン」と「通貨」を設定します。

「次へ」をクリックします。

今回は、ユニバーサル アナリティクスは設定しませんので、「詳細オプションを表示」はクリックしません。

「業種」「ビジネスの規模」「Google アナリティクスのビジネスにおける利用目的をお聞かせください。該当するものすべてを選択してください。」を設定して、「作成」をクリックします。

「利用規約」に同意します。

「自分のメール配信」は必要に応じてチェックを入れます。

「プロパティの概要を確認する」は必要に応じて確認してください。

「ウェブ」を選択します。

「ウェブサイトのURL」と「ストリーム名」を入力して、「ストリームを作成」をクリックします。

「タグの実装手順を表示する」をクリックします。

「以下に示すプラットフォームのいずれかを使用してサイトを管理している場合は、コードを変更せずに Google タグの設定を完了できます。」の中に、ウェブサイト制作に使用しているツールがある場合は、アイコンをクリックします。

たとえば、「WiX」を選択すると、上記のような画面になります。

選択肢に該当するツールが無い場合は、「手動でインストールする」をクリックします。

「Google タグ」が表示されます。このタグをコピーして、ウェブサイトのすべてのページのコード(<head> 要素の直後)に貼り付けます。各ページに複数の Google タグを実装することはできません。

「Google タグ マネージャー(GTM)」による実装方法を知りたい場合は「詳細」をクリックします。

「詳細」をクリックすると、「タグマネージャー ヘルプ」が表示されます。

タグ マネージャーと gtag.js のどちらを使用するか判断する際は、「タグ マネージャーと Google タグ(gtag.js)」をクリックしてください。

「タグ マネージャーと Google タグ(gtag.js)」(https://support.google.com/tagmanager/answer/7582054?hl=ja)によれば、タグ マネージャーと gtag.js のどちらを使用するかの判断は、次のように考えます。

タグ マネージャーと gtag.js はどちらも同様の機能を果たします。

  • タグ マネージャーは、ウェブ インターフェースを使い、サイトやモバイルアプリ上のタグを素早く簡単に更新できるタグ管理システムです。
  • gtag.js は、Google タグをウェブページに直接追加するために使用される JavaScript フレームワークです。

どちらのソリューションも、同じ中核的な Google インフラストラクチャ上に構築されており、相互運用が可能です。このため、ニーズに合った最適なソリューションを自由に選択できます。

次の機能が重要な場合は、タグ マネージャーの使用を検討してください。

  • Google タグとサードパーティ タグの両方を設置、変更する機能
  • ウェブアプリとモバイルアプリの両方のタグを設置、変更する機能
  • ウェブ インターフェースから直接タグを変更する機能
  • コラボレーションとバージョン管理機能

Google タグ マネージャーを使用できない場合や次の機能が重要な場合は、gtag.js の使用を検討してください。

  • タグ管理システムを立ち上げることなく、ウェブページに直接タグをインストールする機能
  • インターフェースにアクセスすることなく、JavaScript で直接タグを扱う機能

現在タグ マネージャーを使用している場合は、引き続きタグ マネージャーを使用してください。Google 広告タグと Google マーケティング プラットフォーム タグはタグ マネージャーで完全にサポートされています。タグ マネージャーがすでに使用されている場合は、追加の gtag.js ベースのコードをサイトにデプロイする必要はありません。

すでに gtag.js を使用している場合は、後からいつでもタグ マネージャーにアップグレードできます。

注: gtag.js ベースのタグの設置にカスタム HTML タグオプションを使用しないでください。代わりに、タグ マネージャーに用意されている Google 広告アナリティクスFloodlight 向けのネイティブタグ テンプレートを使用します。

https://support.google.com/tagmanager/answer/7582054?hl=ja

関連記事

特集記事

コメント

  1. Hello there, just became aware of your blog through Google, and found that it’s truly
    informative. I am going to watch out for brussels. I’ll appreciate if
    you continue this in future. Numerous people will be benefited from your writing.
    Cheers!

  2. Great blog here! Also your web site loads up very fast!
    What web host are you using? Can I get your affiliate link to your host?
    I wish my web site loaded up as quickly as yours
    lol

  3. Way cool! Some very valid points! I appreciate you penning this
    article and the rest of the website is very good.

  4. Great post.

    Visit my blog post :: vpn coupon code 2024

  5. You have made some really good points there. I looked on the web to find out more about the issue and found most people will go along with your views on this
    site.

    Visit my homepage; vpn special coupon code 2024

  6. Great article. I will be experiencing many of these issues as well..

    My web-site vpn coupon code 2024

  7. When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox
    and now whenever a comment is added I recieve 4 emails with the same comment.

    Is there a way you are able to remove me from that
    service? Kudos!

    Also visit my web blog … vpn special code

  8. Hi there are using WordPress for your blog platform?
    I’m new to the blog world but I’m trying to
    get started and create my own. Do you need any coding expertise to make your own blog?

    Any help would be really appreciated!

    Review my blog post … vpn code 2024

  9. Hello! I could have sworn I’ve been to this website before but after reading through some of the post I realized it’s
    new to me. Nonetheless, I’m definitely happy I found
    it and I’ll be bookmarking and checking back often!

    my web site; vpn coupon 2024

  10. Hi! I know this is somewhat off topic but I was wondering if you
    knew where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours
    and I’m having trouble finding one? Thanks a lot!

  11. My brother recommended I might like this web site.
    He was entirely right. This post actually made my day. You can not
    imagine simply how much time I had spent for this info!
    Thanks!

ランキング(週間)

  1. 1

    GA4 「ページ ロケーション」と「ページ パス と スクリーン クラス」何が違う?ドメインの有無以外にもパラメータの扱いに違いあり

  2. 2

    GA4の探索で「ページ別訪問数」を見ることは可能か?

  3. 3

    GA4 拡張計測機能の新顔「フォームの操作」 form_start, form_submit

  4. 4

    GA4のレポート画面の数値データは、イベント発生時から何時間後に確定するのか?

  5. 5

    【祝・GPT-4 が ChatGPT plus に登場記念!】アクセス解析コンサルタントが、GPT-4にCSVデータを渡して、データ解析結果のコメントを書いてもらう方法

  6. 6

    GA4の指標「総ユーザー数」VS「アクティブ ユーザー数」

  7. 7

    GA4 クロスドメイン設定では、リンク先に「_gl」パラメータが付く。勝手なパラメータを付けるとエラーになるページは要注意

  8. 8

    GA4 イベントタグの「詳細設定」に「e コマースデータを送信」が実装されました。

  9. 9

    GA4で異なるドメイン(サブドメイン)の同一ページパスをドメイン付きで表示する

  10. 10

    GA4では、utm_term, utm_content はどうなったのか?

最近の記事

  1. 生成AIを調整してABテストを実装したら想像以上に早かった

  2. 無料で使えるABテストツールのバージョンアップを行いました

  3. 無料ABテストツール(and,B)のマニュアルを作成しました

カテゴリー

 
TOP