1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Ecommerce Setting

Discussion in 'Google Analytics' started by lorenhoward, Sep 26, 2011.

  1. #1
    How to set Ecommrce setting in Google anlaytics.
     
    lorenhoward, Sep 26, 2011 IP
  2. sisatel

    sisatel Active Member

    Messages:
    1,391
    Likes Received:
    10
    Best Answers:
    1
    Trophy Points:
    90
    #2
    Go to the new version of the Google Analytics > click on the Gear Icon on the right top of the site > click on advanced segment ( selecting the Goal Tab) > set your Goals > check the Goal Funnel > set the Goal Funnel with your ECommerce URLs (i.e. register, purchase , shipping etc.)
     
    sisatel, Oct 1, 2011 IP
  3. jtir

    jtir Active Member

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    It depends how you're using the Google Checkout (ie, buy it now buttons or their shopping cart or a custom shopping cart).

    If you're using their auto-shopping cart-thing, the following URL tells you how to set things up:
    http://code.google.com/apis/checkou...Annotating_Pages.html#Include_JavaScript_Code

    I actually have a related question though. I have set things up according to the above instructions, but it only actually reports a sale in Google Analytics around 50% of the time. Anyone know why this might be?
     
    jtir, Oct 1, 2011 IP
  4. afitzone

    afitzone Member

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #4
    get the code and copy paste to your site ecommerce...
     
    afitzone, Oct 29, 2011 IP
  5. martinshane

    martinshane Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Click the gear icon at the top right of any screen in Analytic.
    If you are not already on the Account Administration screen, click the All Accounts link at top left, just below the orange bar.
    Click the account that contains the web property and profile for which you want to enable ecommerce.
    Click the web property that contains the profile for which you want to enable ecommerce.
    Use the Profile menu to select the profile you want.
    Click the Profile Settings sub-tab.
    Under E-Commerce Settings, select Yes, an E-Commerce Site. once you done with this you will get code that you have to submit to Google when order placed.

    Sample Code is here :

    Signal Product to order, make sure you pass order id and other field as well as category...if you don't pass category order will not shown in ecommerce tracking so please keep this in mnd.

    for multiple products you just have to run loop for each and every skq that is added in to order using add item method once all product are added then execute push method to sent detail to google that's it .

    <html>
    <head>
    <title>Receipt for your clothing purchase from Acme Clothing</title>
    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-XXXXX-X']);
    _gaq.push(['_trackPageview']);
    _gaq.push(['_addTrans',
    '1234', // order ID - required
    'Acme Clothing', // affiliation or store name
    '11.99', // total - required
    '1.29', // tax
    '5', // shipping
    'San Jose', // city
    'California', // state or province
    'USA' // country
    ]);

    // add item might be called for every item in the shopping cart
    // where your ecommerce engine loops through each item in the cart and
    // prints out _addItem for each
    _gaq.push(['_addItem',
    '1234', // order ID - required
    'DD44', // SKU/code - required
    'T-Shirt', // product name
    'Green Medium', // category or variation
    '11.99', // unit price - required
    '1' // quantity - required
    ]);
    _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>
    </head>
    <body>

    Thank you for your order. You will receive an email containing all your order details.

    </body>
    </html>
     
    martinshane, Nov 14, 2011 IP
  6. murthyseo

    murthyseo Active Member

    Messages:
    159
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #6
    In this ecommerce tracking i have little confuse is that, the order id section put "1234". is this use default as per any ecommerce website? Pls explain those details. bcoz we have to track multiple products with multiple sku code. So how to track dynamically get order tracking.

    thanks in advance

     
    murthyseo, Jun 27, 2012 IP
  7. Jasveer Singh

    Jasveer Singh Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    this tracking code apply for all otherwise, it is example for us...
     
    Jasveer Singh, Jun 28, 2012 IP