I have set up Google analytics tracking on the eCom receipt page.
The Google script sends orderinformation and prices to analytics and it works.
Problem is that prices are output with danish separators like 12.111,00 and Google only understands american format 12,111.00 which means that the price is registered as 12.
I need a tag or extension or ? that formats all prices and numbers like Google wants it.
<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol ) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try{ var pageTracker = _gat._getTracker("UA-xxxxxxxxx-1"); pageTracker._trackPageview(); pageTracker._addTrans( "<!--@Ecom:Order.ID-->", "<!--@Ecom:Order.ShopID-->", "<!--@Ecom:Order.Price.PriceWithoutVAT-->", "<!--@Ecom:Order.Price.VAT-->", "<!--@Ecom:Order.ShippingFee.Price-->", "<!--@Ecom:Order.Customer.City-->", "<!--@Ecom:Order.Customer.Country-->" ); <!--@LoopStart(OrderLines)--> pageTracker._addItem( "<!--@Ecom:Order:OrderLine.OrderID-->", "<!--@Ecom:Order:OrderLine.ProductID-->", "<!--@Ecom:Order:OrderLine.ProductName-->", "<!--@LoopStart(AssociatedGroups)--><!--@Ecom:Group.Name-->,<!--@LoopEnd(AssociatedGroups)-->", "<!--@Ecom:Order:OrderLine.UnitPrice.PriceWithoutVAT-->", "<!--@Ecom:Order:OrderLine.Quantity-->" ); <!--@LoopEnd(OrderLines)--> pageTracker._trackTrans(); //submits transaction to the Analytics servers } catch(err) {} </script>