I've got an e-commerce site that loads a php when the order is placed/completed.
I am trying to add and make the
What Im doin so far is:
adding the pixel after the closing bracket ?> on the .php order confirmation placement page.
<script type="text/javascript" src="https://tracker.track/conversion.js?payout=value"/>
If it is a PHP file overall it's just like an HTML page, so just put the script code anywhere sensible (probably at the end just before </body>).
However, do not put it after the closing ?> of the entire file. Aim for before body as above as otherwise you may put it at a point where the PHP processor has basically closed off things.
Hi Zeno, thanks for your help man,
I was getting an error beforehand inserting the code on the php that loads the payment page. I have now inserted it in the html before the </body>, but Im still not getting the conversion registered in
The ecom site Im working with loads a php, that calls a .tpl to show the customer a money order info page. Heres where im trying to place the code (in this .tpl that has this html code)
However nothing has worked, I even tried putting it in the .php on top and failed as well.