Slide show

How to setup Google Analytics for your blog

Google Analytics is a free web analysis and hit-counter service provided by Google. We recommend it if you don’t already have any analysis functionality set up. You can set up an account by going to and setting up a free account.

Step 1: Sign up for Analytics

  1. Sign up for an Analytics account.
  2. Find your Analytics tracking ID.

Turorial: Signing up for the first time

After you have logged in to your Google account, click on the “Sign up” link on the analytics page (

Adding a new domain name to an existing analytics account

After logging in to your analytics account, click the “Admin” link in the upper right corner.

Add a new account or a new property to an existing account.  Which you choose depends on how you want your analytics account organized.

Adding a new account
Adding a property to an existing account

Finding your tracking code

Whether you are signing up for the first time, adding an account or adding a property to an account, you will now set up your new tracking ID.  First select “Web Site.”
Then select your tracking method.  Because of the increased options the “Universal Analytics” provides, we recommend selecting this option.
Set up your web “property.”  Your website name can be whatever you want.  Obviously the url should be one you own.

If you are setting up a new account, you will name that as well.  If you are setting up just a new property then you won’t see this option.

Finding your tracking ID

Click “Get Tracking ID”

Accept the the terms of service.
Copy the entire tracking code.

Finding your tracking ID for a site that is already in your Analytics account

  • Go to the “Admin” area of your Analytics account.
  • From the “Property” dropdown, select “Tracking Info” then “Tracking Code.”

    Clicking this link will take you to the screenshot above where you can copy the tracking code.

    Enter your tracking code

    Go to “ProPhoto” > “Customize” > “Site Settings” > “Analytics” and paste the entire tracking code in the box for Google Analytics.

    Activating your tracking code:

    When using the “Universal Analytics” option, it can take up to a couple of days before Google reports that it is receiving data. So before you determine that you did not set it up correctly, wait a few days.
    After a few days, go back to your “Admin” area of Google Analytics dashboard at  For your chose property return to the “Tracking Code” screen, as described above, and look for the “Receiving Data” message, indicating that your site is successfully linked with Google Analytics.
    Note: ProPhoto will not count your own views of your blog when you are logged in, so the numbers reported by GA are not artificially inflated by your own views of your blog.

    Step 2: Add Analytics tracking to your Google blog

    The google blogs have already build in blog analitycs but if you need more there are 2 ways to install Google analytics in Blogger Platform. Either utilizing the whole JavaScript Code, or by using the "Tracking ID".

    ID Method

    1. Sign in to Blogger.
    2. Click the blog you want to analyze.
    3. In the left menu, click Settings and then Other.
    4. Under “Google Analytics,” type the Analytics tracking ID. It should use this format: UA-XXXXX-XX.
    5. In the top right corner, click Save settings.
    It can take up to 24 hours for data to show up in Analytics.

    Analytics Code Method:
    Add the following code in your Template right above the </body> tag. Remember: Don't forget to insert your tracking ID in the coding. Replace UA-XXXXX-Y with your tracking ID. Once every thing is done, Save the template.

    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-XXXXX-Y']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

    No comments:

    Post a Comment