Google analytics code

  • Author
  • #894055


    I am wanting to put Google analytics code into my log to track traffic, etc. can this be done on my blog?


    The blog I need help with is


    Not at The type of code that Google uses isn’t allowed here for security reasons. See the first entry on this support page under “additional information.”



    On your dashboard, go to Tools > Available Tools. You’ll see there is a text input box where you can enter an HTML element that will demonstrate to Google that you are the webmaster for this site. You ask Google to provide the “content” part of this element.

    I haven’t done this yet at WordPress, but I have done something similar on a Drupal-hosted blog.


    @trekohio, that is for google webmaster tools, NOT for Google Analytics. Google Analytics cannot be used here. The code is javascript and javascript is not allowed here for security reasons.


    Hi mummysknee, doesn’t support Google Analytics directly but you can get it working by using an intermediate service. I’ve mentioned this in the forum before so I’ll just link to an earlier post that you can check out if you’re interested in more details:

The topic ‘Google analytics code’ is closed to new replies.