0
이 이벤트가 발생하는 데 큰 어려움이 있습니다. Qubit.com 태그 관리자를 사용하고 있으며이 태그는 '제품보기'이벤트에 사용한 코드입니다.Facebook 픽셀 '제품보기'이벤트 추적 안 함
이 이벤트는 추적되지 않으며 그 이유를 알 수 없습니다. 이 코드입니다 -
function() {
var _this = this;
console.log('1 FB ViewContent Start');
var product_ids = [];
if(universal_variable.transaction.line_items){
for (var i = 0; i < universal_variable.transaction.line_items.length; i++) {
product_ids.push(universal_variable.transaction.line_items[i].product.sku_code)
}
}
console.log('2 FB ViewContent Product List Compiled');
fbq('track', 'ViewContent', {
content_ids: product_ids,
content_type: 'product',
value: "" + _this.valueForToken("ORDER_TOTAL"),
currency: "" + _this.valueForToken("CURRENCY_CODE")
});
console.log('3 FB ViewContent Tracked');
}