Should Google Analytics go in the head or bottom of an HTML page?
问题 Google advises putting the google analytics script right before closing the </head> . However, I would prefer to combine it with the rest my javascript that are now all together in a cached, external file, which is loaded at the bottom of my HTML file. Can I do it my way? If so, what am I risking then/what's the cost of putting the below code not in the head but at the bottom of the HTML? <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-22180365-1']); _gaq