<%IF $ga_get_items THEN IF $OrderLog.currency_rate THEN $ga_currency_rate=$OrderLog.currency_rate ELSE $ga_currency_rate=1 ENDIF $ga_item_price_ex=$Price_Ex*$ga_currency_rate IF $google_analytics_tracker_name THEN $ga_tracker_name=$google_analytics_tracker_name+'.' ENDIF $gascriptitems+="ga('"+$ga_tracker_name+"ecommerce:addItem', { 'id': '"+$orderno+"', // Transaction ID. Required. 'name': '"+$[J]Size+"', // Product name. Required. 'sku': '"+$[J]SKU+"', // SKU/code. 'category': '"+$[J]GroupName+"', // Category or variation. 'price': '"+$[R2]ga_item_price_ex+"', // Unit price. 'quantity': '"+$[R$decimals]Qty+"' // Quantity. });" POP $ga_item_price_ex ENDIF IF $ga_get_ordersum THEN IF $OrderLog.currency_rate THEN $ga_currency_rate=$OrderLog.currency_rate ELSE $ga_currency_rate=1 ENDIF $ga_revenue=($sum_ex-$ship_price_ex)*$ga_currency_rate $ga_shipping=$ship_price_ex*$ga_currency_rate $ga_tax=$tax*$ga_currency_rate %> <%ENDIF%>