Más contenido relacionado
Similar a 雙重記錄。 為FB廣告導購做Double Check (20)
雙重記錄。 為FB廣告導購做Double Check
- 5. Collection(廣告⽂文案)
1. 要廣告的網⾴頁請⽤用 Google analytics URL builder 修飾過
2. 建⽴立⼀一個Facebook Pixel Tracking
Google Analytics 可以根據source, campaign, keyword(term) 做分類
1. 選擇類型
2. 把Code貼在網⾴頁
3. 打開網⾴頁(verify)
- 7. Action- Event (PageView 算是action嗎?)
1. 先把剛剛貼在網⾴頁Code中下⾯面那幾⾏行移除(那是PageView的意思)
window._fbq
=
window._fbq
||
[];
window._fbq.push(['track',
'xxxxxxxx',
{'value':'0.00','currency':'USD'}]);
2. [RealCase] 假設有個按鈕做為註冊 <button id=“register”>註冊</button>
$('#register').click(function(){
//Trigger
Facebook
Conversion
Pixel
window._fbq
=
window._fbq
||
[];
window._fbq.push(['track',
'xxxxxxxx',
{‘value’:'0.00','currency':'USD'}]);
//Trigger
Google
Analytics
conversion
tracking
ga('send',
'event',
'button',
'click',
'registerbtn','advertising');
})
- 8. Action- Ecommerce (PageView 算是action嗎?)
1. 先把剛剛貼在網⾴頁Code中下⾯面那幾⾏行移除(那是PageView的意思)
window._fbq
=
window._fbq
||
[];
window._fbq.push(['track',
'xxxxxxxx',
{'value':'0.00','currency':'USD'}]);
2. [RealCase] 假設有個按鈕做為結賬 <button id='pay'>付款去</button>
$('#pay').click(function(){
//Trigger
Facebook
Conversion
Pixel
window._fbq
=
window._fbq
||
[];
window._fbq.push(['track',
'xxxxxxxx',
{‘value’:'⾦金額','currency':'USD'}]);
//Trigger
Google
Analytics
conversion
trackin
ga('ecommerce:addTransaction',
{
'id':
'1234',
//
Transaction
ID.
Required.
'affiliation':
'Acme
Clothing',
//
Affiliation
or
store
name.
'revenue':
'11.99',
//
Grand
Total.
'shipping':
'5',
//
Shipping.
'tax':
'1.29'
//
Tax.
});
})