Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

AdWords e-commerce transactions


Recommended Posts

I'm following the instructions at https://adwords.google.com/support/bin/answ...py?answer=74984

for adding a hidden form to the checkout_confirmation.php page that will send stats for each sale to Google AdWords to be displayed in my reports.

<form style="display:none;" name="utmform">
<textarea id="utmtrans">UTM:T|[order-id]|[affiliation]| 
[total]|[tax]| [shipping]|[city]|[state]|[country] UTM:I|[order-id]|[sku/code]|[productname]|[category]|[price]| 
[quantity] </textarea>

All I need is the variable names to insert into the textarea field that return the values in [brackets], can anyone tell me where to find these?


For example:

<textarea id="utmtrans">UTM:T|<?php echo $orderID; ?>||<?php echo $orderTotal; ?>|<?php echo $orderTax; ?>|

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...