Microsoft Advertising では、人々がニュースレターに登録したときや、ホワイト ペーパーをダウンロードしたときなどの、Web サイトでのカスタム イベントをコンバージョンとして追跡することができます。詳細については、「 カスタム イベントを追跡する理由」をご覧ください。
カスタム イベントの設定を始める前に、以下を用意してください:
上部のメニューで [ ツール]、[ UET タグ] の順に選択します。
新しい Microsoft Advertising ナビゲーションを使用している場合は、左側のナビゲーション メニューの [コンバージョン] 上でホバーし、 [UET タグ] を選択します。
<head>Your page title// Option 1: Insert your UET tag here, between the "head" tags.
</head>
<body>// Option 2: Insert your UET tag here, right after beginning of the "body" tag.
...
<button>Download now</button>
...
</body>
上部のメニューで [ ツール]、[ コンバージョン目標] の順に選択します。
新しい Microsoft Advertising ナビゲーションを使用している場合は、左側のナビゲーション メニューの [コンバージョン] 上でホバーし、 [コンバージョン目標] を選択します。
[いいえ、この UET タグはすべての Web サイトページにインストールされていません]、または [「よくわかりません。タグをインストールする手順が必要です] を選んだ場合、 [タグを自分でインストールする]、または [タグを開発者に送信する] を選択します。 [次へ] を選択し、画面の指示に従います。 [次へ] を選択して、コンバージョン目標の設定を完了します。 Web サイトに UET タグを追加する方法の詳細についてはこちらをご覧ください。
コンバージョン目標にマッチしていると検出されたすべてのアクションは、1 つのコンバージョンとしてカウントされます。
左側の折りたたみメニューで [ すべてのキャンペーン]、[ オーディエンス] の順に選択します。
新しい Microsoft Advertising ナビゲーションを使用している場合は、左側のナビゲーション メニューの [キャンペーン] 上でホバーし、 [オーディエンス] を選択します。
UET タグ トラッキング コードをカスタマイズして、ここで定義された値にマッチさせます (これはステップ 3 で説明されています)。これにより、 Microsoft Advertising はこれらの値を UET 経由でログされたカスタム イベントにマッチさせ、それらをコンバージョンとしてカウントします。
<head>Your page title
</head>
<body>// Let's say this is where you pasted the UET tag in Step 1.
<script>Your UET tag is here.</script>// Here is where to paste the following JavaScript:
<script>
window.uetq = window.uetq || [];
window.uetq.push ('event', 'Replace_with_Event_Action', {'event_category': 'Replace_with_Event_Category', 'event_label': 'Replace_with_Event_Label', 'event_value': 'Replace_with_Event_Value'});
</script>
...
<button>Download now</button>
...
</body>
<head>Your page title
</head>
<body>
<script>Your UET tag is here.</script>
<script>function GetCustomEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'Replace_with_Event_Action', {'event_category': 'Replace_with_Event_Category', 'event_label': 'Replace_with_Event_Label', 'event_value': 'Replace_with_Event_Value'});}
</script>
...
<button>Download now</button>
...
</body>
<head>Your page title
</head>
<body>
<script>Your UET tag is here.</script>
</script>
<script>
function GetCustomEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'Replace_with_Event_Action', {'event_category': 'Replace_with_Event_Category', 'event_label': 'Replace_with_Event_Label', 'event_value': 'Replace_with_Event_Value'});
}
</script>
...
<button OnClick="GetCustomEvent()">Download now</button>
...
</body>
<head>Your page title
</head>
<body>
<script>Your UET tag is here.</script>
</script>
<script>
function GetCustomEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'Replace_with_Event_Action', {'event_category': 'Replace_with_Event_Category', 'event_label': 'Replace_with_Event_Label', 'event_value': 'Replace_with_Event_Value'});
}
</script>
...
<button OnClick="GetCustomEvent()>Download now</button>
...
</body>
<head>Your page title
</head>
<body>
<script>Your UET tag is here.</script>
<script>
function GetCustomEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'downloadbuttonclick', {});
}
</script>
...
<button OnClick="GetCustomEvent()>Download now</button>
...
</body>
<script> window.uetq = window.uetq || []; window.uetq.push('event', '', {'event_category': 'Replace_with_Event_Category', 'event_label': 'Replace_with_Event_Label', 'event_value': 'Replace_with_Event_Value'}); </script>
<script> window.uetq = window.uetq || []; window.uetq.push('event', 'add_payment_info', {'event_category': 'Replace_with_Event_Category', 'event_label': 'Replace_with_Event_Label', 'event_value': 'Replace_with_Event_Value'}); </script>
<script> window.uetq = window.uetq || []; window.uetq.push('event', 'Event action', {}); </script>