Need help? Check out our Support site, then


How do I add Google Analytics Tracking code in WordPress.com?

  1. While signing-up for Google Analytics, I was requested to "Copy the following code [an html code provided], then paste it onto every page you want to track immediately before the closing </head> tag." I am using the Twenty Ten theme hosted on WordPress.com. When I open a page and click the HTML tab, I do not see the </head> tag. I'm not sure where to place the code. Please help.

    Thanks!

  2. GA cannot be used on wordpress.COM. See toward the bottom of this support document.

    http://en.support.wordpress.com/stats/

  3. thesacredpath, thanks for the prompt, direct, and clear answer. timethief, thanks for noting some other options.

  4. You are welcome.

  5. No Google Analytics anymore on WordPress blogs? That doesn't seem possible. Would WordPress really shut out a popular tracking tool like that?

    Is there any kind of work-around?

  6. If you are self-hosted then you can put whatever you want on your blog, but if you are hosted here at wordpress.COM, then no GA.

  7. @thesacredpath thanks for your answer!

    I am using wordpress.com for my blog, but have put my blog on a .com domian. Does wordpress host the blog on the server of this domain automatically ?

  8. If you have mapped a custom domain name to your blog here, then your blog is still hosted here at wordpress.COM and you are still under the TOS here and all the restrictions.

    You would have to self-host a wordpress.ORG blog on a third-party hosting service such as godaddy, bluehost, etc., to be able to use GA.

  9. Anyone knows the reason wordpress is not compatible with GA ?

  10. The code isn't allowed for security reasons for one thing. It's javascript.

    http://en.support.wordpress.com/code/#javascript

  11. thanks so much. i've been going insane trying to figure this out.

  12. By the way, timethief, thanks for the suggested alternatives.

Topic Closed

This topic has been closed to new replies.

About this Topic