Hi,
It seems this theme doesn’t have dataLayer variable for product pages, cart and checkout is this correct?
In Google Tag Manager it requires the dataLayer variable to be inserted to push so it allows to do Facebook Advance Pixel Event such as view content, add to cart and purchase.
See Facebook Advance Event Code below:
<script>
fbq(‘track’, ‘ViewContent’, {
content_ids: [‘1234’],
content_type: ‘product’,
value: 0.50,
currency: ‘USD’
});
</script>
<script>
fbq(‘track’, ‘AddToCart’, {
content_ids: [‘1234’, ‘1853’, ‘9386’],
content_type: ‘product’,
value: 3.50,
currency: ‘USD’
});
</script>
<script>
fbq(‘track’, ‘Purchase’, {
content_ids: [‘1234’, ‘4642’, ‘35838’],
content_type: ‘product’,
value: 247.35,
currency: ‘USD’
});
</script>
Hope you can assists.
Thanks.