How do I add Google Analytics Tracking code in WordPress.com?
-
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!
-
GA cannot be used on wordpress.COM. See toward the bottom of this support document.
-
There are other third party visitor tracking programs we can use as well.
http://onecoolsitebloggingtips.com/2009/10/02/visitor-tracking-on-wordpress-com-blogs/
http://onecoolsitebloggingtips.com/2009/10/24/real-time-visitor-tracking-non-javascript-for-blogs/ -
thesacredpath, thanks for the prompt, direct, and clear answer. timethief, thanks for noting some other options.
-
-
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?
-
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.
-
@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 ?
-
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.
-
-
The code isn’t allowed for security reasons for one thing. It’s javascript.
-
-
- The topic ‘How do I add Google Analytics Tracking code in WordPress.com?’ is closed to new replies.