top of page

Visionary Ads

How to track purchase value in FB Ads (for Shopify)?

  • Writer: Alex Denshik
    Alex Denshik
  • Mar 29, 2021
  • 1 min read

What you need:


Steps:


Step 1: Log in to the admin panel of your Shopify site (https://www.shopify.com/). Go to the section "Settings" -> "Checkout


Step 2: In the "Order processing" section, find the "Additional scripts" field.


Step 3: Paste the following code there:


<script>

fbq('track', 'Purchase', {

value: {{ total_price | money_without_currency }},

currency: 'USD',

});

</script>


Save. Done.


Note: If you are using a different currency, replace USD in the code with the desired currency code



See Screenshots:


Step 1: Log in to the admin panel of your Shopify site (https://www.shopify.com/). Go to the section "Settings" -> "Checkout


Step 2: In the "Order processing" section, find the "Additional scripts" field.

Step 3: Paste the following code there:


<script>

fbq('track', 'Purchase', {

value: {{ total_price | money_without_currency }},

currency: 'USD',

});

</script>


Save. Done.

Note: If you are using a different currency, replace USD in the code with the desired currency code


Comments


bottom of page