Facebook Pixel - Conversion Tracking Help!

zbolton
New Member
5 0 0

I am trying to add purchase conversions when a customer gets to the order confirmation screen to feed to my Facebook pixels.

 

I am very incompetent when it comes to this - but I found this FB article calling out the script to put on the confirmation page. 

https://developers.facebook.com/docs/meta-pixel/implementation/conversion-tracking

 

<body>
...
<script>
fbq('track', 'Purchase', {currency: "USD", value: 30.00});
</script>
...
</body>

 

I assume I change value to 0.00 from 30.00  - but I continue to get errors.

First error reads: Expected an identifier and instead say '<'.

Second error reads: Expected an identifier and instead saw '...'.   Unrecoverable syntax error (66% scanned)

 

Just trying to track conversions and really could use some support! Pixels are installed everywhere else on the site and working properly.. just can't figure this out.

 

Thanks in advance!  

Replies 0 (0)