Problem (seen on SD 2013 and 2014): If you don't charge taxes then layout Google Analytics Transaction Details passes an invalid value of NETQUOTEVAR:TAX1 to Google.
Reason: this line in Google Analytics Transaction Details needs sanitised:
Fix:
Change the above line to:
Note that this will also apply to the Shipping line as well, so it may be worth changing:
To:
Reason: this line in Google Analytics Transaction Details needs sanitised:
Code:
var act_tax = "<actinic:variable name="Tax1" />"
Change the above line to:
Code:
var act_tax = "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsIncludeTax1%22%20%2f%3e"><actinic:variable name="Tax1" /></actinic:block><actinic:block if="%21%20%3cactinic%3avariable%20name%3d%22IsIncludeTax1%22%20%2f%3e" >0</actinic:block>";
Code:
var act_shipping = "<actinic:variable name="Shipping" />"
Code:
var act_shipping = "<actinic:block if="%3cactinic%3avariable%20name%3d%22ShippingChargesAreMade%22%20%2f%3e"><actinic:variable name="Shipping" /></actinic:block><actinic:block if="%21%20%3cactinic%3avariable%20name%3d%22ShippingChargesAreMade%22%20%2f%3e" >0</actinic:block>";
Comment