Officially Announced: Use Google Analytics web property id in blogger

Introduction

Yes, You can now (From: 14th October 2011) integrate your Google analytics account directly from blogger control panel. You just need to follow steps shown below. This newly added feature will work only on latest Layouts and "Dynamic Views" templates and is not supported on classic and custom templates that were designed by Non-Official web designers. But, you need not to worry about it because Google has taken care of them by providing a code snippet that can be added in those templates (Right before ending "</body>" tag) to enable this feature, which is shown below.

Custum Code that need to be added in Custum and Classic Templates

<b:includable id='google-analytics' var='blog'>
  <b:if cond='data:blog.analyticsAccountNumber'>
    <script type='text/javascript'>
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', '<data:blog.analyticsAccountNumber/>']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script');
        ga.type = 'text/javascript';
        ga.async = true;
        ga.src = (document.location.protocol == 'https:' ?
                  'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(ga, s);
      })();
    </script>
  </b:if>
</b:includable>

Procedure to follow

If you're using latest layout and "Dynamic Views" templates than you'd doesn't have to mess up with HTML and add above XML code snippet in it. You just only have to procedure shown below but you need to switch on latest blogger "Control Panel" interface.

  • Go to http://www.blogger.com/home,
  • Then, go to settings tab of one of your blog (In Case, If you own multiple blogs) as shown below in image.

Step 1 & 2 : Blogger Homepage and Dropdown Menu

Click on image to view full image
Click on image to view full image | Source
  • Then, go to Settings > Other,
  • Then, Scroll down to bottom of page.

Step 3 : Control Panel of Selected Blog

Click on image to view it's full size
Click on image to view it's full size | Source

Step 4 : Editing "Settings > Other" of selected blog

Click on image to view it at full size
Click on image to view it at full size | Source

Procedure to Get Analytics ID (Web Property Id)

  • First, Go to Google Analytics Homepage http://www.google.com/analytics/,
  • Then Click on Access Analytics,
  • If you're not logged in, then, you'll be redirected to login page, otherwise, directly inside it.
  • You'll see the screen as show below.

Click on image to view full size
Click on image to view full size | Source
Click on image to view full size
Click on image to view full size | Source
  • Now, This form will appear on screen,
  • Fill out the details and then, click on "create account" button at the bottom of form.

Click on image to view full image
Click on image to view full image | Source
  • After clicking on "create account" button, you'll land on final page, where you can get your analytics ID (known as web property ID). See the screenshot below.

Click on Image to view its full size
Click on Image to view its full size | Source
  • Now, You just only need to paste this "web property id" in the field referenced above in blogger dashboard.

Hope, You did not found any difficulties in navigating through this web article.

Thanks for reading, Johnny D Bravo (My Another Nickname).

More by this Author


Comments 7 comments

poshcoffeeco profile image

poshcoffeeco 4 years ago from Cambridgeshire

Vote up /awesome itech. Have bookmarked this and will have a go. Thanks


brandonlee7 profile image

brandonlee7 4 years ago

Fantastic improvement on Blogger!


frle profile image

frle 4 years ago

Finaly! Was waiting this for a long time...


itech profile image

itech 4 years ago from New Delhi, India Author

Thanks @poshcoffeeco, @brandonlee7 and @frle for posting feedback's... Feeling good to see that my article helped you in something.


Bader H Al Rayyes profile image

Bader H Al Rayyes 4 years ago from Cairo, Egypt

thats awesome :)


Conor 4 years ago

I have done this, but the stats dont seem to be coming through to my blog?


itech profile image

itech 4 years ago from New Delhi, India Author

hello @Conor, Wait a day or two to see updates in your analytics account becoz it works so only.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working