Home > Technical & Creative Skills > Tracking Campaigns

[Voluum] - Placing the tracking code and making it work (3)


10-06-2015 02:59 AM #1 afilia320 (Member)
[Voluum] - Placing the tracking code and making it work

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 Voluum tracking pixel fire but I've been unsuccessful so far.

What Im doin so far is:

adding the pixel after the closing bracket ?> on the .php order confirmation placement page.

Code:
<script type="text/javascript" src="https://tracker.track/conversion.js?payout=value"/>
However This is not reporting the conversion when I click on the campaign link and complete a checkout


10-06-2015 06:36 AM #2 zeno (Administrator)

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.


10-06-2015 04:47 PM #3 afilia320 (Member)

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 Voluum and I can't find the reason for it, probably Im doing something pretty stupid here but haven't realized.

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.


Home > Technical & Creative Skills > Tracking Campaigns