Hey Guys
We have implemented the Facebook pixel on our site and are successfully measuring transactions, but we can't seem to pull in the transaction value. Do you know what the correct variable should be to pull in the transaction value and how to implement it?
My current code below has the correct setup but I believe the variable is wrong:
<script> fbq('track', 'Purchase', { value: 'tot_paid_amt', currency: 'USD', });</script>
As you can see above I'm trying to use the variable 'total_paid_amt'.
Thanks for your help!
Hey Dan!
This information should be pulled off of the confirmation page. You might need to get in touch with your web developer to figure out exactly what the variable is called. Do you use Google Tag Manager by chance?
-George
Hi there, I'm having the same problem over here... joining the thread for more info.
It is hard to answer their question without all the details, but the high level answer is that they need to implement Facebook tracking via GTM and create a second custom HTML tag to push the revenue in.
Please see the image below.
Another link to the image in case the other causes a problem.