How to add Google Analytics code in my blog

  • Unknown's avatar

    My requirement is, I need to add google analytics code to my blog. Is it possible to add this. Please suggest an option to add google analytics code.

    I’ve checked the editor tab to edit the footer.php file and also I can’t able to find an option.

    If possible, please help me to add the code.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You cannot add Google Analytics to a WordPress.com blog.

  • Unknown's avatar

    Google Webmaster Tools

    Log in to https://www.google.com/webmasters/tools/ with your Google account.
    Enter your blog address (without http:// or https:// in front)
    Click the Add a Site button
    You will be presented with several verification methods. Choose the Alternate Methods tab.
    Select the option: Add a meta tag to your site’s home page
    Copy the content value of the meta tag. The content will appear like this:
    ‘/>
    Copy the content value by itself. In the example above, you will only copy: dBw5CvburAxi537Rp9qi5uG2174Vb6JwH
    Leave the verification page open and go to your blog dashboard (in a new tab/window).
    Open the Tools –> Available Tools Page and paste the content value in the Google Webmaster Tools field under the Website Verification Services header.
    Tools
    Click on Save Changes.
    Go back to the verification page and click Verify.

  • Unknown's avatar

    You cannot add Google Analytics to a WordPress.com blog. He didn’t ask how to get Verified.

  • Unknown's avatar

    Why can’t you add Google Analytics to a blog? What is the reasoning? I have an instructor who has done so, (we did it in a class) is this a recent change??

  • Unknown's avatar

    Not a recent change at all – always been that way

    For more on the difference: http://support.wordpress.com/com-vs-org/

  • The topic ‘How to add Google Analytics code in my blog’ is closed to new replies.