Event Tracking

Discussion in 'Google Analytics' started by smartamit04, Sep 30, 2010.

  1. #1
    Hi to all,
    please suggest me what is event tracking in GA,
    how we can use it.
     
    smartamit04, Sep 30, 2010 IP
  2. imperialDirectory

    imperialDirectory Peon

    Messages:
    395
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Event tracking is very useful to track things like how many clicks to external sites, opened PDFs. For video sites you can track how many people watched 1 min or 10 mins of a video, or event how many people mouse over your logo etc.

    To use, assuming you installed the newest Google Analytics asynchronous tracking code. And assuming you want to track how many people clicked on a link that leads to an external site. You can use it like:
    
    <a href="some_external_url" onClick="_gaq.push(['_trackEvent', 'Link', 'External', 'some_external_url']);">Go to the external site</a>
    
    Code (markup):
    Full document can be found at: http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html

    Or you can reply on this post if you need further instructions
     
    imperialDirectory, Oct 2, 2010 IP