Here are two of my favorite tricks. You can do this just after you set your account ID: var _gaq = _gaq || []; _gaq.push(['_setAccount', 'YOUR ANALYTICS ID GOES HERE']); _gaq.push(['_trackPageview']); //******************* // Trick #1: Track page load time in Google Analytics // (note: only works for HTML5 browsers) //******************* _gaq.push(['_trackPageLoadTime']); (function() { var ga = document.createElement…
As others have noted, _trackPageLoadTime is depreciated. However, Google Analytics only automatically samples the page load time for 1% of visitors. To change this call _gaq.push([‘_setSiteSpeedSampleRate’, 100]); before tracking the pageview. This will sample 100% of users for the site load time. https://developers.google.com/analytics/devguides/collection...
- Google will take a lot longer to report your data if you do this. - Google also has data limits. If you're experiencing 10k+ pageviews a day, you will probably run into the limit and it will stop reporting stuff.