FaceBook Pixel with GTM
-
Hello There
I am trying over and over again to send data layer info using GTM to facebook pixel.
But for some reason, I keep getting nothing.
I create a variable http://prntscr.com/ma09y7 on GTM
Here is my data layer from woocommerce:pagePostType: “product”,
pagePostType2: “single-product”,
pagePostAuthor: “no one”,
productIsVariable: 0,
ecommerce: {
detail: {
products: [
{
“name: “OXO מגש קרח כפול קוביות קטנות”,
“id: 3748,
“price: “69”,
“category: “בר ויין”,
“stocklevel: null
}
]
},
impressions: [],
currencyCode: “ILS”
}
}Here is my GTM facebook pixel view content tag:
<script>
fbq(‘track’, ‘ViewContent’, {
currency: ‘ILS’,
content_ids: ‘{{Product ID}}’,
content_type: ‘Product’,
});
</script>Here is the result I get:
http://prntscr.com/ma0bi5No matter what I tried it doesn’t work, Also tried on the variable to do products.id and still nothing.
What I am doing wrong?
Please help me solve this.Thanks in advance
The topic ‘FaceBook Pixel with GTM’ is closed to new replies.