my website has products with different prices so I need to configure the facebook pixel to track the total of the purchase. I don't know how to make the code works in my functions.php. I used the code gave from facebook page, but the pixel is not firing:
fbq('track', 'Purchase', {currency: 'BRL', value: get_order_total(); ?>});