Jump to content

CJ.com tracking issue in Prestashop


Recommended Posts

I am having problems with adding the Commission Junction tracking pixel correctly.

 

CJ.com indicates this is the syntax to use:

<img src="https://www.emjcd.com/u?AMOUNT=<AMOUNT>&DISCOUNT=<DISCOUNT>&CID=XXXXXXX&OID=<OID>&TYPE=338442&CURRENCY=<CURRENCY>&METHOD=IMG" height="1" width="20">

 

This is what we have added to order-confirmation.tpl as well as guest-tracking.tpl

<img src="https://www.emjcd.com/u?AMOUNT=$(total_products)&CID=XXXXXXX&OID=$(id_order_formatted)&TYPE=338442&CURRENCY=USD&METHOD=IMG" height="1" width="20">

 

(the XXXXXXX is our ID at CJ, obscured)

 

Must <AMOUNT> be anything else but this? $(total_products)

Must <AMOUNT> be anything else but this? $(id_order_formatted)

 

Any help would be highly appreciated.

Edited by contempoweb (see edit history)
Link to comment
Share on other sites

  • 11 months later...
×
×
  • Create New...