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

Would it be wrong to point out that the missing parts of the source for w3fools.com ? Or observing that placement of things like the google analytics code at the bottom, instead of the head?

Or would that make me pedantic?



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: