How to add google analytics to blogger

How to add google analytics to blogger

This post is the second in a 4-part series on connecting your blog to Google Analytics. In the first post, we walked you through the process of creating a Google Analytics account step-by-step. You should do that prior to following the steps below, and you should also have your Google Analytics Tracking ID handy to copy & paste into your Blogger settings.

Below are step-by-step instructions for getting your Blogger blog properly connected to Google Analytics so that you can begin measuring, segmenting, tracking, and experimenting to grow and nurture your audience.

Connecting Google Analytics to Blogger

Since Blogger is a Google service, this setup is particularly easy. Follow these steps to connect your Blogger account to Google Analytics.

  1. Login to your Blogger account at
  2. On the left side navigation menu, choose “Settings”, which is the very last item on the menu.

How to add google analytics to blogger

How to add google analytics to blogger

  1. Under the Settings menu, click “Other”
  1. Then scroll to the very bottom of that page, where you will see the “Google Analytics” section. Copy that code you got from the Google Analytics account setup, and paste it in the box.

How to add google analytics to blogger

  1. Click “Save settings” at the top right of the page, and you’re done. Wait 24 hours for your Google Analytics account and Blogger account to sync up.

Since Blogger is Google’s blogging platform, this process is very simple, and you only have to do it once. However, please note that Blogger does come with its own “stats” package (shown below). So why would you want to connect Blogger to Google Analytics? That’s a great question, and it has a straightforward answer that will create several more questions that only Google can answer. Unfortunately, Google does not officially and directly address this issue. The answer is that Google Analytics and Blogger’s “stats” will rarely, if ever, agree. Usually, Blogger’s stats are inflated, sometimes even double the numbers that Google Analytics shows.

How to add google analytics to blogger

Here’s a good discussion on the matter, which is summarized by the following statement: “blogger stats and analytics are not the same and do not “talk” to each other.” That’s one reason we recommend using Google Analytics. The main reason is that Blogger’s stats, in addition to not agreeing with Analytics, are very simple, and don’t allow you to do any sort of comparison or segmenting.

About Kevin Sandlin

Kevin Sandlin is a serial entrepreneur and 7-time startup veteran, including one IPO and two acquisitions. Kevin founded CWNP with $500, and grew the company into the industry standard for vendor-neutral WiFi certification & training through great digital, email, and content marketing. Kevin is the founder of Atlanta Tech Blogs and Pitch Practice and teaches General Assembly’s part-time Digital Marketing course in Atlanta. Follow Kevin on Twitter @kevsandlin.

Or, How to find out that no one is reading your blog posts

So I decided to add Google analytics to my blog and now I can blog about it, so very meta of me 🙂

The blog is hosted by Github Pages using Jekyll by the way.

Get Google Analytics account

Get the account

The first thing you have to do is to get a Google analytics account: Google analytics. This is pretty self explaining (+ I forgot to take a screenshot) so I will not elaborate on this.

Copy some stuff you will need to setup Jekyll

After you have create an account you will receive a Tracking Id that looks like this: UA-XXXXXXXXX-X. If you for some reason forget the Tracking Id it is available at: Admin/Tracking info/Tracking code

You will also need the code snippet in Global Sit Tag:

If you copy paste from this post, please remember to replace UA-XXXXXXXXX-X (two places) with the Tracking id for your site.

How to add google analytics to blogger

Setup Jekyll

Update _config.yml

Add the following row:

How to add google analytics to blogger

You now know the drill about replacing UA-XXXXXXXXX-X with the Tracking Id from Google analytics, I will not mention it again (but you will have to do that in the next step as well).

Add google-analytics.html

Create a new file called google-analytics.html in the _includes directory (I also had to create the directory)

How to add google analytics to blogger

And then add the code snippet from Google Analytics like this:

And that’s it, the setup is completed!

Head back to Google analytics

Time to celebrate and observe that the blog has zero visitors, but hey: it’s in realtime!

How to add google analytics to blogger


Ok, so now that you have added google analytics to your blog, why not stay for a while, relax and maybe read a couple of blog posts about covariance, contravariance or even functional bliss? There will be quotes from Lord of the rings, funny gif’s and much more.

There are many Analytics tools like AWStats, ShinyStat, SiteMeter, StatCounter and so on, well-acquainted to the website owners or bloggers. They are being used as inevitable equipment to handle visitors’ tracking activities.

But as a free tool, I think, there is no alternative to Google Analytics which deserves standing out as the first option for all types of websites. Setting up a Google Analytics account is easy and more simple is to connect it with a website to make it Report-trackable.

Here we’re going to focus on the process of adding Google Analytics to Blogger blog that will come to use to a great extent especially, for the beginners.

Pre-words to adding Google Analytics to Blogger blog

There are multiple ways to connecting a site with Google Analytics. The common theory is that—

  • You sign in to Google Analytics with your Google ID
  • Setting up an Analytics Account and defining a Property (your site/blog) under that account
  • Collect Tracking ID and Tracking Code of that Property.
  • Put that Tracking Code between and tag in every page of your site

How to add google analytics to blogger

But this theory goes in context of those sites that are built based on basic language and have separate html file for each page.

Then, what about the others— different blogs, framed sites and CMS (Content Management) based sites. Google says, in each case there might have a special module to insert Tracking ID or Tracking Code. So are there. In WordPress, the World’s most popular CMS, you can insert that ID or Code by editing Theme’s html file or by installing a related plugin.

If you are interested to enjoy knowing how to integrate Google Analytics with WordPress easiest way; follow this link.

Blogger’s blog structure has also built-in module to add Tracking ID to connect it with Google Analytics.

Many bloggers stepping into the world of site-building starts blogging standing on BLOGGER platform Powered by Google. They are hardly aware that site can also be added to Analytics that opens before them a new horizon of probability to track visitors’ activities and behavior with unimaginable control over target-setting and analytical function free of cost.

This tutorial is for those BLOGGER bloggers and here are the easiest processes to materialize that.

Stop at Google Station for a while

To add Google Analytics to Blogger blog, As we mentioned earlier, you first need Google Analytics account and its subordinate Property setting to collect Tracking Code and Tracking ID. For that, you have to go through following steps—

  • Sign in to Google Analytics by using your Google Account information (Username, Password)
  • On Analytics Dashboard, click Admin (left below)
  • On Admin Panel, select Admin tab and click Create New button beside Account name (first column, upmost option). Provide your Account Name and other information and complete the process.
  • Now your account is created and it will show in your Account Name list (checkable by clicking the down arrow). Now Select your account and go to Property (Second column). Click Create New under Property (upmost option). Provide your blog’s or website’s name and URL and complete the process.

Contextually, if you like to get clarified of all about Google Analytics account, Property and View setting with soothing picturesque presentation, read up the following article first—

  • Now that you’ve an Account and Property, select the Property under that Account (second column)
  • Click Menu .js Tracking Info.
  • Click Sub-menu Tracking Code

You will be sent to a page containing your Tracking ID above and Tracking Code is located under ‘Global Site Tag’ option below ID. Copy from here when you need.

Two ways to adding Tracking ID/Code of Google Analytics to Blogger

Now it is time to insert the Code and ID in the relevant field of your Site. You can do this two ways—

  • Through Setting page
  • By changing html of Blogger theme

In this process, you need only to insert the Tracking ID in the relevant part of Setting page. Follow the steps below—

  • Log in to Blogger Dashboard
  • Select your site by clicking down arrow from upper left corner
  • Click Setting→Other
  • Find Google Analytics (below the option list)
  • Input your Tracking ID in the field next to Analytics Web Property ID.
  • Save Settings
  • You’re done
  • Log in to your Blogger Dashboard
  • Select relevant site by clicking down arrow from upper left corner
  • Click Theme from Admin Panel left
  • From this page, get your blog theme backed up as cautionary measure by clicking Backup/Restore button on upper right.
  • Click Edit HTML
  • Now from HTML file, find the tag
  • Paste your Tracking Code just below
  • Click Save Theme
  • And you’re done

Now your site has got connected with Google Analytics and GA is ready to track your visitors’ activities in your site. It may take 24 to 48 hours to start this functioning and showing reports.

That’s all. Hope this step-by-step tutorial has clarified everything to connect Google Analytics to Blogger Blog without facing any hassle. Feel free to bring out any problem or share any experience.

How to add google analytics to blogger

To add Google Analytics to Blogger, you need to add your blog home page to your Analytics account just like you add any other websites or domains to Google Analytics. Then you need to insert Google Analytics tracking code to your Blogger account. In this guide, we will show you two different ways to add Google Analytics to Blogger accounts.

How to add google analytics to blogger

Add Google Analytics to Blogger via Analytics Web Property ID

Since both the blogging and analytics services are powered by Google, Blogger offers very good support to the Analytics. To add Google Analytics to Blogger, you can simply input your Google Analytics tracking ID to your Blogger account. Log on your Blogger account, go to Settings, then Other, at the very bottom of this page, you will find a Google Analytics section with a Analytics Web Property ID box. See below screenshot.

How to add google analytics to blogger

Insert your Analytics Web Property ID into the field as shown above, click Save Settings button on the top. Then your Google Analytics and Blogger accounts are integrated. You can start tracking and analyzing your blog’s traffic using Google Analytics.

How to find out my Analytics Web Property ID?

Log on your Google Analytics account, you can find Google Analytics Web Property ID from the Admin page >> Property column, see below screenshot.

How to add google analytics to blogger

The above method is the easist way to add Google Analytics to Blogger blogs. Just like adding Google Analytics to other websites or CMS, such as adding Analytics to WordPress or Joomla, you can also use the same way to add Google Analytics to Blogger blogs or sites, very similar instructions for different websites or platforms deployment.

How to add google analytics to blogger

Add Google Analytics to Blogger by Editing Template

Firstly go to get your Google Analytics tracking code from Admin >> Property >> Tracking Code. See before image.

How to add google analytics to blogger

Then log on the control panel of your Blogger account. Click Template on the left menu, your current blog template open on the right. Click Edit HTML below your Blogger template preview image.

How to add google analytics to blogger

Your Blogger template file opens. You can copy and paste Google Analytics tracking code into your Blogger template, right before the closing head tag or the closing body tag, it’s your preference. Save the template when you are done.

How to add google analytics to blogger

Google Analytics and Blogger Integration Tips

Your blog URL on Blogger would be something like:,, or, etc. You can add it to Google Analytics just like you add your own domain name or website URLs.

A shortage of integrating Google Analytics with Blogger blogs via editing template file is that, you may need to upgrade your Blogger template or change Blogger templates in the future. You may lose many of the changes you previously made to your template, including the inserted Google Analytics tracking code. In such case, you need to repeat above steps to add Google analytics tracking code to Blogger template again whenever a template uprade or a new Blogger template change. Thus adding Analytics Web Property ID is the safe way to add Google Analytics to Blogger blogs.



Thanx for this post… U made my job simple… I searched this submission blog at many site but thanx to your blog that i got the clear way for template editing…!! Thanx again. 🙂

Every successful blogger is constantly keeping an eye on their visitors, but I’ll be honest, there are tons of different plugins, trackers and web applications that all say that they can track your blog visitors/stats. However, the most accurate one is without a doubt – Google Analytics.

Table of Contents

Google Analytics for bloggers: what it does

The short answer is – A LOT.

  • Real data (see who’s on your site – LIVE)
  • Number of visits per hour/day/month
  • Demographics
  • Countries
  • Referrals, resources
  • And much more…

You can even compare their time spent on your blog and pages. What’s more, it’s completely free for everyone to use. Gotta love Google…

However, setting it all up can be a bit difficult for a beginner – that’s the reason I’ve put together this tutorial.

You might also like:

Our #1 Choice For Hosting Blogs

62% Off Exclusive Offer Applied at Checkout



Starting From


  • Free 1 Year Domain Registration on Select Plans
  • FREE SSL Certificate
  • Drag-and-drop Website Builder
  • E-commerce Ready
  • 1-Click WordPress Installation

How to add google analytics to blogger

How to add blog analytics

How to add google analytics to blogger

There are two ways to do this. One way is to get a plugin and place the Analytics code there, another way is to place the tracking code manually.

Either way, you’ll first need to sign up with them and do some configurations.

There are three steps to installing Google Analytics on your blog:

  1. Sign up for Google Analytics
  2. Copy the tracking ID for your account
  3. Install the code on your WordPress blog with a plugin

Let’s walk through each step in more detail.

Signing up with Google Analytics

How to add google analytics to blogger

Log in with your Gmail account. If you don’t have one – create it (it takes 5 minutes).

Click on the “Admin” link in the top menu and fill in the information about your blog.

Account name: Can be anything
Website name: Your blog name
Website address: Your blog URL/address
Industry/category: Should be relevant to your blog topic
Make sure you also tick the recommended options to get the Tracking ID.

How to add google analytics to blogger

How to add google analytics to blogger

Install Google Analytics blog plugin to your WordPress blog

If you don’t want to manually insert your Google Analytics tracking code inside your WordPress blog template, there’s an easier way.

All you need to do is install a plugin named – Google Analytics for WordPress.

Once you’ve installed and activated it, go to “Settings” -> “Google Analytics” and just enter your Tracking ID:

How to add google analytics to blogger

The fun part – start checking your visitor statistics

In the first 24 hours, you won’t see much. Google Analytics can take a while when it fully starts to work, so don’t worry.

But once it’s fully working, you’ll see real live data:

How to add google analytics to blogger

How do I see my blog posts in Google Analytics?

To find your blog posts, go to Behavior -> Site Content -> All Pages. It looks like this:

How to add google analytics to blogger

If you click on the “advanced” link next to the search box on the top of Google Analytics, you can also filter out your non-blog pages, like the contact page. Make sure to change “include” to “exclude”.

How to add google analytics to blogger

If you want to save this filter, go to the admin tab in the sidebar (bottom left). Then under “view” you can create a new filter and save it. In addition to that, you’ll be able to do a lot with it. Below here, I’ve gathered some great posts about tracking your blog visits with Google Analytics:

    – – –

Our #1 Choice For Hosting Blogs

62% Off Exclusive Offer Applied at Checkout



Starting From


  • Free 1 Year Domain Registration on Select Plans
  • FREE SSL Certificate
  • Drag-and-drop Website Builder
  • E-commerce Ready
  • 1-Click WordPress Installation

How to add google analytics to blogger

  • Blogging mistakes
  • Facebook blog page

How to add google analytics to blogger

7 thoughts on “Blog Analytics: How to Set Up Google Analytics Blog Tracking”

Great article about how to add google analytics in wordpress blog..You have explained all points easily..
Thanks for sharing….

Google analytics is a service offers by Google, to know statistics detailed information about a Daily monthly yearly tracking details of a website visits But, i was not knowing that how to use it in WordPress its a great article which gives step by step process details how to use it in wordpress today i learnd how to do it first step we need to sign in for a google analytics and then we will get ID, save id, and install google analytics plugin once its installed go to settings and activate and enter tracking id that’s it i can now start my google analytics in wordpress its Really great article thanks for sharing this information.

I think that Google Analytics is essential so that you can track the performance of your blog. It can also track traffic and conversions.

Hi, I’m Paulina and I think that your article is great and full of useful information. Thanks!
I would like to add a few things of my own. There are some alternatives to Google Analytics. In my opinion, Press Pad Analytics Dashboard is better for WordPress blogs. It’s just easier. This platform makes blog management easy, convenient and more effective.

Hey Karen! Loved your blog while reading it, really informative & in a layman language. I hope you will pen down your next blog soon.

Hey there! Today I wanted to share something that some new bloggers might have trouble with. I’m definitely an advocate of using Google Analytics to track your analytics. Unfortunately, the in-house analytics for Blogger isn’t the best, it doesn’t filter out bot traffic and just isn’t always accurate. Google Analytics is the best analytics tracking software for bloggers.

Now, I know that installing something on your blog can be scary, you don’t want to mess it up. Installing Google Analytics on your Blogger blog is actually very easy. When I first started, you had to install a tracking code in your HTML and it was a hassle. Now, you just have to add your tracking ID to your settings, no HTML touching needed!

I’m going to show you through pictures, how to add Google Analytics tracking ID to your Blogger blog!

So, first, you open Google Analytics and it’ll take you to the homepage. Click on settings/admin at the bottom:

The go to your property and click Tracking Info and click Tracking Code:

Then, you will see your Tracking ID, it starts with UA (UA-XXXXXXXX-X). Copy that to your clipboard. Leave this page open.

Head over to Blogger and click settings.

Click “other” and then scroll to the bottom where you’ll see “Google Analytics”. Paste the code that you copied into the box and then hit save settings and there you go! All set!

I would head back to the tracking code page and hit “send test traffic” just to make sure that it’s working. If it is, you’ll show that you have one active user, back on your home page.

Now, it can take up to 24 hours for regular traffic stats to start showing up, so don’t worry if you don’t see anything right away.

Again, I highly recommend Google Analytics. Native analytics trackers, (like Blogger’s) don’t filter out any of the data. You could have bot and spam traffic in your data, making it look better than it may actually be. With Google Analytics, you get a more accurate picture, bot traffic is filtered out and you can exclude spam websites from your data. There is a lot you can do with Google Analytics. Plus, it is free to use. There is no monthly fee or anything to pay, you just need to have a Google account.

I hope you enjoyed this post! Do you use Google Analytics? Let me know in the comments!

There is probably not a more interesting real-time or site statistics tool than Google Analytics. If you haven’t used it before you’ll find that it blows away the Blogger stats tool in the Blogger editor. I haven’t added it to Blogger Tips Pro earlier since I’ve been intending to create the tutorial – but kept putting it off for other reasons. I do use it for my other sites, however.

Let’s get started. If you don’t have a Google Analytics account yet you just need to sign into your Blogger Google account to start. Now, if you have a large number of blogs under a parent name or company then I would suggest you monitor all of your sites from a single account. You be the judge.

Creating a Google Analytics Account

Once you’re logged in, simply go to – you should see a page like this. Just select ‘create an account‘:

You’ll now be presented with a number of options to get your account started. I chose ‘Website‘ and ‘Universal Analytics‘ as my options to start. I felt that the benefits of the Beta would be good to try out.

There are some more options near the bottom of the sign-up screen called ‘Data Sharing Settings‘ and I will let you pick and choose if you want to opt-in on those. Once you’ve done that just click on the ‘Get Tracking ID‘ prompt at the bottom of the page, accept the Terms and Conditions and you’re ready!

Adding Your Analytics ID to Blogger

You’ll be brought into the main page with the ‘Tracking ID‘. One point to remember is that the ID is tied to a specific blog. If you have more that one blog be sure to go back in and create another ID for a different blog.

I’ve highlighted the ID below – this is the ID you’re going to want to copy and paste into Blogger. Be sure to copy this ID right now by highlighting it and using a mouse click copy:

Now, go back and log into Blogger – open your specific blog – and choose the ‘Settings‘, ‘Other‘ menus and scroll down to the bottom of the form to find the ‘Google Analytics‘ entry field like this:

Add your analytics ID in the empty field as I have above and press ‘Save Settings‘ in the upper right of the screen. Your blog is now ready and monitoring all users hitting your site.

Viewing the Google Analytics Data

The best part of the analytics screens is just the overall breadth of what data is provided. My goal in this tutorial is not to give you an in-depth view. You can take a look at this step-by-step tutorial. However, go back into your Analytics account to get to the reporting data.

The main page you want to look at is the ‘Reporting‘ screens where you’ll see your traffic and other analytical information:

My favorite view in the Analytics page is the real-time view of who’s hitting the site. Here is literally minutes after I added the ID:

You can see that a desktop, mobile and tablet hit the blog and what pages are being access. That is a very cool view of your site’s traffic. There’s so much more you can do with what Google provides. Enjoy!!

Today we’re going to look at adding google analytics tracking to a blogger blog. This will allow blog owners that use blogger or blogspot to quantify the way that their visitors behave on your site.

Follow Randal in our latest video tutorial below. The video transcript is available to read underneath the video.

For example, blogger already provides data on how many page views your blog receives but it doesn’t display how many of those views are unique visitors. Adding Google Analytics will enable you to measure how many unique visitors you’ve received over a specified period of time in addition to how they arrived.

There is a far more in depth analysis that can be done with the vast amounts of visitor data that Google Analytics collects but for now we’re going to show you the first step, which is how to implement it through blogger.

Quick Guide to Adding Analytics to a Blogger Blog

Let’s start by signing in to Google Analytics. You will need to have a Google account set up in order for you to access this Google product, which you should have if you are already using blogger.

Note: you can choose to use a different Google account for analytics but for simplicity I’ll be using the same one that I have blogger set up on.

Next, click on “sign up” and you will be presented with two types of analytics tracking to choose from. Use universal tracking.

Under the heading “Setting up your account” complete the following fields:

Account Name – if you want to create a group of tracking IDs then name this with a group name e.g. if you have several brands this should be labelled with your group brand name. For now we will simply label it with the name of the blog.

Website Name – complete this field with your blog’s name.

Website URL – put the homepage url of your blog in here without the http:// (google already includes this).

Industry Category – select the category that best suits your blog. In this case I will be selecting “News”.

Reporting Time Zone – choose the country time zone that is most relevant to you. If you are reading this article in the UK then do as I have done and select “United Kingdom”.

Below the fields there is a bunch of data sharing settings that you can edit if you are not willing to share particular aspects of data that will be collected by Google on your site with Google’s HQ who say that they are using it to improve the platform, etc. Once you are happy, click on “Get Tracking ID” and click on “I Accept” after reading through the Terms of Service.

Getting Hold of Your Tracking ID

After following the previous steps you will be presented with your unique tracking ID. Highlight and copy this ID then head over to your blogger account. Navigate to the “Settings” area and click on the “Other” sub-category.

Scroll down to the bottom of the page until you arrive at “Google Analytics” and paste the tracking ID into the blank box next to “Analytics Web Property ID”. Then click on “Save Settings”.

And that’s it! You have now implemented Google Analytics on your blogger blog.

To view your visits, referrals, etc you must navigate to “Reporting” inside of Google Analytics. You won’t see any data immediately after adding it to your blog because not enough time has passed for Analytics to capture any visitor data. Go back to it the following day and you should begin to see some data if your blog attracts readers.

In this post, I will show you, How to add/install google analytics tracking code to your blogger blog, so you can track how your visitors are interacting with your blog, so let’s first free signup on Google Analytics.

Go to the Google Analytics Webpage, and click on Signup button.How to add google analytics to blogger

Now, you need to enter your website details. Don’t worry Google Analytic did not provide a different kind of dashboard if you selected any other industry category for your site. Here, standard time zone gives you accurate reports in hours, so do not forget to choose the right time, as per your country name.
How to add google analytics to blogger

Then, Click On Get tracking ID.How to add google analytics to blogger

Now accept terms of service. (If you don’t see “accept button” then press CTRL + – (CTRL and Minus) button, to minimize your browser screen size).

Now, you will see a tracking code window, like this.
How to add google analytics to blogger

Now you can follow any of one method to add Google Analytic in your blogger blog. The first method might not work for you if you’re using custom blogger template from third party website.

Method 1: Add Google Analytic Tracking ID directly in Blogger Setting.

This method is very simple if you’re using Blogger official theme. Because in this method you just need your tracking ID, and blogger will place complete JavaScript code automatically in your theme.

Go to the setting menu and then click on other option.
How to add google analytics to blogger

Now, scroll down a little bit, and you will see Google analytic option, so just place your Analytics ID (for example UA-70093885-1), and click on save settings.

This method sometimes does not work with custom/third party blogger theme, so check your source code to know whether the analytic code is implemented successfully or not.

How to Check Google Analytics code is implemented successfully or not?

First of visit any of your blog URL, and right click on anywhere, and select view page source from browser option. Now press CTRL+F(To find codes) and search your analytic ID, like this.

How to add google analytics to blogger

So if you found your analytic ID, it means you have successfully implemented Google Analytics code. And if you did not find it, it means something is wrong with your blogger theme, and you need to follow the second method.

Method 2: Add Google Analytics Codes Manually in your Blogger Theme.

  1. First of go to the template option and click Edit HTML option.
  2. Now, Press CTRL+F from your keyboard and find the tag in your template, and paste your analytic codes just above it. Refer below screenshot for better understanding.

Now, check out your source page again to make sure, you have implemented code successfully or not. Make sure there are no twice codes. Otherwise, you’ll see double/wrong reports in your Google analytic dashboard.