MyBB Community Forums

Full Version: Google Analytics Code Placement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I was searching for my google analytics code, and found it was towards the bottom of my footer.

Is that the best spot for the code?
Providing analytics are showing up in Google Analytics, that's fine.
Quote:Copy the following code, then paste it onto every page you want to track immediately before the closing </head> tag

Place it at the very end of your headerinclude template (under Ungrouped Templates)
(2012-10-08, 04:53 PM)Paul H. Wrote: [ -> ]Place it at the very end of your headerinclude template (under Ungrouped Templates)

pavemen disagrees with that. He argues for placing the code in the footer, to speed up page load.