Some advice is needed about Facebook advertising tag placement. Facebook has you putting a FB pixel on every page using javascript and toward that end it should go into the Global Head Tag Content. They also have a conversion code, an event that tracks purchases, that you're supposed to put between the head tag of the INVC page. How can you accomplish both since the global one will also appear in the INVC? A conditional statement is suggested like:
<mvt:if expr="g.Screen EQ 'INVC'">
// Invoice Code Goes Here
</mvt:if>
The pixel code itself is easy to implement but any suggestions on how to write the conditional statement for a conversion event using Miva code? Facebook gives this example:
fbcode.JPG
In other words how can you accomplish having the base code on all pages other than the INVC page, and, have the Purchase event only on the INVC page? Thanks.
<mvt:if expr="g.Screen EQ 'INVC'">
// Invoice Code Goes Here
</mvt:if>
The pixel code itself is easy to implement but any suggestions on how to write the conditional statement for a conversion event using Miva code? Facebook gives this example:
fbcode.JPG
In other words how can you accomplish having the base code on all pages other than the INVC page, and, have the Purchase event only on the INVC page? Thanks.
Comment