Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I would suppose you are using Jquery to illustrate my idea , I would track both success and error function of jquery using google analytics events </p> <pre><code> example : pageTracker._trackEvent(category, action, opt_label, opt_value ); Guide : http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html $.ajax({ ......... some jquery code here ..... success:function(){ ......... Jquery code ........... /*lets show some magic */ pageTracker._trackEvent("JSON", "SUCCESS", "Loaded" , 1 ); }, error:function(){ .......... Jquery code ........... pageTracker._trackEvent("JSON", "FAILD", "why it faild " , 0 ); } }) </code></pre> <p>at the end of the day , go to Events on you GA Account you would see handy results as you would expect :) you can track ( click , AJAX Request , Page load time , Banner &amp; many other smart ideas ) </p> <p>another tip : you might use what GA Marketers used to do </p> <p>this is the most easiest one to make <a href="http://www.google.com/support/analytics/bin/answer.py?hl=en&amp;answer=55578" rel="nofollow">http://www.google.com/support/analytics/bin/answer.py?hl=en&amp;answer=55578</a> just append it to your AJAX request and watch the magic :)</p> <p>Twitter using this idea in the mailing notification example : </p> <blockquote> <p><a href="http://twitter.com/" rel="nofollow">http://twitter.com/</a><strong><em>*</em>**<em>*</em>**<em>*</em>**</strong>?utm_campaign=newfollow20100823&amp;utm_content=profile&amp;utm_medium=email&amp;utm_source=follow</p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload