This page demonstrates 2 ways to use the Google Analytics
_trackTiming
feature to track the time it takes to load resources asynchronously:
Checkout the JavaScript source code
to understand how each demo is implemented.
Use your browser's developer tools to see the JavaScript send __utm.gif
requests to
Google Analytics.
For more details on tracking time in Google Analytics, read the
Site Speed User Timing developer guide.
Click the button to asynchronously load the jQuery library from both Google and Microsoft content delivery networks.
Click the button to load a .txt file with Chuck Norris quotes.