Hey everybody I want to let you know that I have undertaken the grueling task of getting the heck away from WordPress. I was so sick of the problems and updates I had to do all the time. I am now using my ezbloo system and I am integrating all my old posts into the new system. It sucks, but in the end, I will save bundles of time. I needed to keep things simple and that is why I created ezbloo. I'll have more on this later for you guys after I am done with the total integration of my old posts here. So if you are looking for a post and need it faster, shoot me an email and I will make it a priority. [email protected]

The Google Analytics tracking code placement needs to be in the header. DO NOT believe those guys that tell you to put in before the closing body tag.</body>

Why Should I Place The Google Analytics Code In The Header?

The Google Analytics code loads in order with the rest of the code. So if you have your code at the bottom of your web pages it will NOT load until the last part of your page loads.

Why Is It Bad To Load The Google Analytics Code at The End Of The Webpage?

Because it will take longer to report a visit and you will not get accurate data. Sometimes if the code is at the end of a webpage the reader has already read everything that you had to say and clicked off of the page and Google Analytics reports it at 00:00 time and your bounce rate goes through the roof! Look at this screen shot below in the column that reads Avg. Session Duration. Those numbers should be a lot bigger. Google Analytics Tracking Code Placement   I did a test where I put the analytics code to the  in my sidebar and footer. Then I went to the real time data and it was upwards of 2 minutes before Google started tracking my visit. This is bad because as you see it will increase my bounce rate! Putting your Google Analytics code at the bottom of the webpage can make you miss visits altogether because the script will never get a chance to load!

Where is the best place to put the Google Analytics Code?

WordPress, Joomla, Drupal or any other Dynamic content management system should have a header.php file. You want to look for the opening body tag <body> and place the code directly after it! If you are on Blogger or on any other template system you want to be sure that you get the code in the same place, right after the opening <body> tag. Google Analytics tracking code placement is important because by it we determine what to write about so don't play around. get the code where it needs to be!