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

Regarding the placement of GA, this is intentional. You don't want to count a visit before the page has actually been displayed to the user.



Actually the modern GA way is using the async javascript the snippit for which goes before the </head> but hey W3Fools wasn't about being accurate... oh wait, it was.

http://code.google.com/intl/en-GB/apis/analytics/docs/tracki...




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

Search: