Test Event Tracking Quickly

Discussion in 'Google Analytics' started by poxc2006, Oct 28, 2010.

  1. #1
    I'm wondering what is your preferred method of testing if you set up Event Tracking in Google Analytics, besides waiting 24 hours for the data to show up?

    One article I found recommending using firebug and looking at parameters in the NET tab after you trigger the event, click on the Google Analytics entry and then "param" and look for the event fields you entered. However, so far I have been unsuccessful in seeing my event this way - I'm just trying to measure clicks on a particular image. Here is the code I currently have:
    <p><a onClick="_gaq.push([_trackEvent','homepagebuttons', 'click', 'featuredpropertyhome']);" href="http://www.planwithtan.com/Properties/FeaturedProperties/WildwoodNewJersey.aspx"><img height="139" width="274" alt="" src="/Portals/0/EsplanadeHOME.png" /></a></p>
    Code (markup):

     
    poxc2006, Oct 28, 2010 IP
  2. MrChuckTaylor

    MrChuckTaylor Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For me event tracking takes about 15 minutes to show up in my Analytics account - are you sure it's not showing up?

    Plus it's pretty hard to get it wrong...just check the JavaScript error console in Firefox and it'll tell you if there's anything terribly wrong.
     
    MrChuckTaylor, Oct 28, 2010 IP
  3. fee_kyu

    fee_kyu Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for share
     
    fee_kyu, Oct 30, 2010 IP
  4. waxler007

    waxler007 Member

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    Nah I just wait 24 hours, it's not like you have to now right now. Give it some time.
     
    waxler007, Nov 1, 2010 IP
  5. poxc2006

    poxc2006 Greenhorn

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    13
    #5
    Is there a difference between the Asyc event tracking code and the old .js code? It's not clear to me after reading Google Code article on the subject
     
    poxc2006, Nov 1, 2010 IP