目前並非所有使用者都可使用這項功能。若您還無法使用,別擔心,很快就會提供您這項功能!
產品成交目標可以協助您的摘要式廣告活動確保功勞最終會歸給促成成交的廣告。這可以有兩種不同的運作方式:
產品成交目標與動態再行銷有何不同?產品成交目標在追蹤您網站上發生的購買或其他成交動作。動態再行銷則指出您會如何向已在您網站上購買產品或對產品做出其他互動的使用者顯示廣告。深入了解動態再行銷。
開始設定產品成交目標前,請先確認您具有:
<head>您的網頁標題// 選擇 1:在這裡 ("head" 標籤之間) 插入您的 UET 標籤。
</head>
<body>// 選擇 2:在這裡 (就在以 "body" 標籤開場之後) 插入您的 UET 標籤。
...
<button>立即購買</button>
...
</body>
<head>您的網頁標題
</head>
<body>// 假設您已在步驟 1 將 UET 標籤貼到這裡。
<script>這裡是您的 UET 標籤。</script>// 這裡是該貼上下列 JavaScript 程式碼的地方:
<script>
window.uetq = window.uetq || [];
window.uetq.push ('event', 'PRODUCT_PURCHASE', {'ecomm_prodid': 'REPLACE_WITH_PRODUCT_ID', 'ecomm_pagetype':'PURCHASE'});
</script>
...
<button>立即購買</button>
...
</body>
<head>您的網頁標題
</head>
<body>
<script>這裡是您的 UET 標籤。</script>
<script>function GetProductEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'PRODUCT_PURCHASE', {'ecomm_prodid': 'REPLACE_WITH_PRODUCT_ID', 'ecomm_pagetype':'PURCHASE'});}
</script>
...
<button>立即購買</button>
...
</body>
<head>您的網頁標題
</head>
<body>
<script>這裡是您的 UET 標籤。</script>
</script>
<script>
function GetProductEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'PRODUCT_PURCHASE', {'ecomm_prodid': 'REPLACE_WITH_PRODUCT_ID', 'ecomm_pagetype':'PURCHASE'});
}
</script>
...
<button OnClick="GetProductEvent()">立即購買</button>
...
</body>
<script>
function GetProductEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'PRODUCT_PURCHASE', {'ecomm_prodid':'REPLACE_WITH_PRODUCT_ID', 'ecomm_pagetype':'PURCHASE', 'revenue_value':Replace_with_Variable_Revenue_Function(), 'currency':'Replace_with_Currency_Code'});
}
</script>
<script>
function GetProductEvent() {
window.uetq = window.uetq || [];
window.uetq.push ('event', 'PRODUCT_PURCHASE', {'ecomm_prodid':'REPLACE_WITH_PRODUCT_ID', 'ecomm_pagetype':'PURCHASE', 'currency':'Replace_with_Currency_Code', 'items': [{'id':'Replace_with_product_ID', 'quantity':'Replace_with_quantity', 'price':'Replace_with_selling_price' }, {'id':'Replace_with_product_ID', 'quantity':'Replace_with_quantity', 'price':'Replace_with_selling_price'}] });
}
</script>