Reputation: 2209
I have a blog in a basic-plan wordpress account. That means i dont have access to html or any plugins.
How I can I add google analytics script in my blog? Can I just export the blog, add the script and then import the blog back to wordpress? Will I loose any content (post, comments) If I do so?
Upvotes: 0
Views: 46
Reputation: 2915
You are unable to add Javascript code to a Wordpress.com blog.
As Google Analytics requires Javascript, this means you can't add it to pages or posts. If you want to use it with a Wordpress.com blog, you need to upgrade to the business plan, which offers this feature. Alternatively you could rent some cheap hosting, and install a copy of Wordpress. There you would have the freedom to run whatever code you want.
Upvotes: 1