How to track all the products

Discussion in 'Google Analytics' started by kanubhai, Nov 24, 2010.

  1. #1
    Hi,
    I have set up tracking for all products, how I know on which page user comes on inquiry page.
    E.g.
    1. suppose I have "Quick Contact" Form on everypage, how should I know on which page that "Quick Contact" forum filled.

    2. I have e commerce site, that has many of products1, product2...4,5,6.. How we track for all products in Google Analytics, how to set up goal setting?

    Thanks advance. plz PM if u have best solutions.
     
    kanubhai, Nov 24, 2010 IP
  2. imperialDirectory

    imperialDirectory Peon

    Messages:
    395
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The "Quick Contact" form, you can add a "Custom Event" when user click onto the submit button.
    Sample code:
    
    <input type="submit" onclick="_gaq.push(['_trackEvent', 'Quick Contact', 'Submit', 'the_page_name']);" />
    
    Code (markup):
    For reference, here's the link:
    http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html

    As for e-commerce tracking, you can use this link as reference:
    http://code.google.com/apis/analytics/docs/tracking/gaTrackingEcommerce.html

    You will first need to enable e-commerce tracking under your Google Analytics profile.
    Then, setup e-commerce tracking at your "checkout" page. You will be able to see which products being sold, the transaction ID, total profits from which traffic source etc. You can even track the tax, shipping charges etc.
     
    imperialDirectory, Nov 24, 2010 IP
  3. kosmosin

    kosmosin Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you put analytics code on html page.
     
    kosmosin, Nov 24, 2010 IP