GoogleTagManagerの導入【2023年版 図解付き】
【記事作成者】 酒井 裕麻 (株式会社Bistro 代表取締役社長)
【はじめに】
この記事では最新版Google Analytics (GA4)の設定を行う際の最初の工程となるGoogleTagManagerの導入方法について紹介します。
GoogleTagManager(GTM)のアカウント作成方法については過去の記事をご確認ください。(GTMのアカウント作成方法を確認)
GTMを利用することでウェブサイト上の複雑なコードなどを編集することなくGA4の設定作業を行えるようになります。
またGA4の設定だけでなく、サイトの滞在時間の測定をするためのタグ(※1)を設置することや、Google上でのオーガニック検索状況を測定することのできるGoogle Search Consoleの導入にも利用することが出来るので、この記事の手順に沿ってGTMを設定しましょう。
(こちらの記事はGoogleアナリティクスのヘルプサイトを参照している内容を含んでいます | ヘルプ)
※1 タグ : Google Analyticsにデータを飛ばす箱のような存在
タグに設定した送信する条件に該当した際にタグに設定されたデータがGoogle Analyticsに送信されます。