fbq('track', 'AddToCart', {
content_ids: ['123'], // 'REQUIRED': array of product IDs
content_type: 'product', // RECOMMENDED: Either product or product_group based on the content_ids or contents being passed.
});
The store will not work correctly when cookies are disabled.
fbq('track', 'ViewContent', {
content_ids: ['123'], // 'REQUIRED': array of product IDs
content_type: 'product', // RECOMMENDED: Either product or product_group based on the content_ids or contents being passed.
});