We have the Facebook pixel all set up through Google Tag Manager and is working well to track add to carts, checkout initiations, and purchase counts. However, it isn't reporting revenue from the transactions.
Here's what we have for it...
Code:
<script>
fbq('track', 'Purchase', {
value: dataLayer[0]['order']['total'],
currency: dataLayer[0]['order']['currency']
});
</script>
Like I said, it's tracking the purchase count and the product that's being purchased, but it's not pulling in the revenue. Any ideas? First post on here so thanks in advance.