I am doing something wrong. Trying to pass total order value to facebook, from the INVC page:
<mvt:if expr="l.settings:page:code EQ 'INVC'">
fbq('track', 'Purchase', {currency: 'USD', value: &mvtj:order:total; });
</mvt:if>
I must have something wrong with the value variable or the syntax. The conditional seems to work and the currency part, but it does not pass anything for the order value.
<mvt:if expr="l.settings:page:code EQ 'INVC'">
fbq('track', 'Purchase', {currency: 'USD', value: &mvtj:order:total; });
</mvt:if>
I must have something wrong with the value variable or the syntax. The conditional seems to work and the currency part, but it does not pass anything for the order value.
Comment