ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

Officially Announced: Use Google Analytics web property id in blogger

Updated on November 10, 2011

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).

Comments

    0 of 8192 characters used
    Post Comment

    • itech profile image
      Author

      Krishna 5 years ago from New Delhi, India

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

    • profile image

      Conor 5 years ago

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

    • Bader H Al Rayyes profile image

      Bader H Al Rayyes 6 years ago from Cairo, Egypt

      thats awesome :)

    • itech profile image
      Author

      Krishna 6 years ago from New Delhi, India

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

    • frle profile image

      Frle 6 years ago

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

    • brandonlee7 profile image

      brandonlee7 6 years ago

      Fantastic improvement on Blogger!

    • poshcoffeeco profile image

      Steve Mitchell 6 years ago from Cambridgeshire

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