Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



Very good point! Just be careful...

- 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.

http://support.google.com/analytics/bin/answer.py?hl=en&...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: