7 ms·
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 th
by Roridge 16y ago
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?
- peol 16y agoRegarding 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.
- bentruyman 16y agoSauce: http://code.google.com/apis/analytics/docs/tracking/gaTrackingOverview.html#standardSetup http://code.google.com/apis/analytics/docs/tracking/gaTracki...
- Roridge 16y agoActually 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/tracking/asyncTracking.html#Snippet http://code.google.com/intl/en-GB/apis/analytics/docs/tracki...