I am attempting to add the additional code to capture Transaction Record Details and am confused as to what exactly should be put in the [Affiliation] variable and its purpose? Also, should the [Total] variable include shipping and tax? (posted: 8/8/2008)
The [Affiliation] field's intended use is to capture the affiliate responsible for generating the sale, however if you do not have an affiliation program, you can hard code a dash "-" in between the pipes or populate the field with some other set of data you would like to track.
If you decide not to use the field at all the form would look like this:
UTM:T|[order-id]|-|[total]|[tax]| [shipping]|[city]|[state]|[country]
UTM:I|[order-id]|[sku/code]|[productname]|[category]|[price]|[quantity]
The Total field can include any numeric value you wish. It's up to those looking at the data to know what the numbers mean. It depends on how you calculate Revenue for your business. For instance, shipping is not typically included it revenue calculations so you probably don't want to include shipping in the total.



