<script>
fbq('track', 'Purchase', {value: {{ total_price | money_without_currency }}, currency: '{{ shop.currency }}'});
</script>
The above code can be added to the additional scripts section of Shopify’s main Settings page. This will pull in the currency and order amount on every successful checkout.