How to Track More Pageviews with Google Analytics

By Updated   BloggingGoogleTutorials

Track more pageviews and site traffic by adding Google Analytics Code in the HEAD  tags of your site. Probably your code is just before closing of the BODY tag.

Webmasters and bloggers usually like to place javascripts at the end of the page so that the site loads completely and the analytics js code loads last. But then this javascript code is different.

Track More Traffic with Google Analytics

I was browsing across Google Analytics setup article, where they advised to place the analytics code just before the closing HEAD tag!  This is against standard practice, but then the new Google Analytics code is a  asynchronous script, which means it will not interfere with the loading of your webpage. So it can be placed before closing the HEAD tag in your html file.  [Wordpress users can shift it from footer.php to header.php]

So what is the advantage? Since the Analytics code will be loaded (or at least will start loading) before the page is loaded, there is higher chance of tracking visitors who click back or click links before your page loads and reaches to the bottom of your page. This is especially important for heavy pages with images, and lots of scripts and widgets, where the visitor will click before the the full page (and the analytics code at the bottom) is loaded.

This will help track many more visitors who click fast or click back, and you will see your traffic statistics rising. Works for us. Shift your anaytics code from the footer to the header today.

5 comments on “How to Track More Pageviews with Google Analytics

  1. Tech Crates says:

    Great resource… I prefer using a plugin for this purpose

  2. Preethi says:

    Actually, its one of the best way to get the high traffic with the good support.Great job, keep doing.

  3. Praveen says:

    I have in-built feature in my theme to add analytics code. I guess it’s before the closing head tag :)

  4. Avi says:

    a very thnx dude….I luv QOT blog.

  5. Graphicorn says:

    Thanks for the info buddy it will be very useful for my blog because of heavy pages with images

Leave a Reply

Your email address will not be published. Required fields are marked *



 
css.php