We currently using GTM for all our tracking codes.
To setup Facebook Dynamic ads and Facebook pixel, I need to collect events like AddToCart, Purchase etc.
<script> fbq('track', 'Purchase', { content_ids: ['1234', '4642', '35838'], content_type: 'product' value: 247.35, currency: 'USD' }); </script> How to get Magento's SKUs and Cart value and pass to Facebook tracking code using Google Tag Manager?