Reply 154797 to: FB Pixel variable

Avatar: Eva
Eva Kemp
Support staff
February 14, 2017 at 16:29

Hello,

1) The code is for initialization. Please read the documentation:
https://developers.facebook.com/docs/marketing-api/audiences-api/pixel#parameters
4) Please take a look http://prntscr.com/e8iff0

<script>
fbq('track', 'ViewContent', {
value: <?php echo WC()->cart->get_cart_subtotal(); ?>,
currency: '<?php echo get_option('woocommerce currency'); ?>'
});
</script>

5) No need.
6) Yes, it’s required.

Regards,
Eva Kemp.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.