PDA

View Full Version : Google Analytics


harry ganz
08-Nov-2006, 01:22 PM
I have set up Google Analytics, and it works brilliantly, other than incorrectly importing the sales figures.
It adds a "3" in front of all the e-commerce sales (so a sale for £122.00, becomes £3122.00 etc.) It also includes the shipping in the calculation.

The script on the receipt page is:

<!-- Google E-commerce tracking -->
<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script>
_uacct="UA-xxxxxx-x";
urchinTracker();
</script>

<body onLoad="javascript:__utmSetTrans()">

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

<!-- /Google E-commerce tracking -->


Can anyone help?

cdicken
10-Nov-2006, 09:09 AM
Hi Harry

Try using NUMERICORDERTOTALCGI for the order total value, and this knowledge base article (http://knowledge.actinic.com/cgi-bin/ss000007.pl?PRODREF=KB513&NOLOGIN=1&ACTINIC_REFERRER=http://knowledge.actinic.com/acatalog/) gives instructions on removing the shipping/tax from this value.