如题:前端显示的
fbq("track", "ViewContent", {
"contents": [
{ "id": "", "quantity": 1 }
],
"content_type": "product",
"value":,
"currency": "USD"
});
// fb: add to cart
$("#js_registBtn").click(function(e){
//e.stopImmediatePropagation();
var gaQty = $(".qty").val();
// show loading icon
$(this).addClass("dataUp");
$(this).addClass("position-relative");
$("#loading141286").addClass("show");
var quantity = gaQty > 0 ? gaQty : 1;
// 【ga event: add_to_cart】
fbq("track", "AddToCart", {
"contents": [
{ "id": "", "quantity": quantity }
],
"content_type": "product",
"value": ,
"currency": "USD"
});
});
});
发起结账事件也不正常
现有问题:
像素未与目录配对
Product(商品)参数缺失