3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Google Tag Manager を使って、アウトバウンドを計測する

Last updated at Posted at 2015-06-12

いちいち、linkに対して、js を埋めなくて良い.

変数を調整

  • 変数 : Click URL をアクティブにする

タグを作成

  • 新規tagを作成
  • プロダクト : Google Analytics
  • タグの種類 : 適宜
  • タグを設定 : プロパティID : あなたの. トラッキングタイプ : イベント. カテゴリ, アクション, ラベル : 適宜. ラベル {{Click URL}}
  • 配信するタイミング : クリック
  • タグを配信するトリガー : 新規作成する

トリガーを作成

  • イベント : クリック
  • トリガーを設定 : リンククリック
  • 有効化のタイミング : 適宜
  • 配信するタイミング : 適宜 (計測したいクリック/リンクに合わせてregexを調整)

これで Google Analytics の event にて、外部linkへのクリックを眺めることができます.

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?