Announcement

Collapse
No announcement yet.

Google Analytics

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Google Analytics

    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?
    Harry Ganz
    harry@garden.co.uk

    #2
    Hi Harry

    Try using NUMERICORDERTOTALCGI for the order total value, and this knowledge base article gives instructions on removing the shipping/tax from this value.

    Comment

    Working...
    X