Discussions

Do peole use Google Analytics on their Blogs?

If so, where do you paste the script?

Reply

User Comments

  1. bnsullivan
    Paste it immediately before the "/body" tag at the bottom of your html/xml.
  2. acousticguitarist
    Thanks

    I'm looking in the Wordpress theme editor. Not sure on which file to use because blogs are made of of multiple php fles etc.

    any more info would be great.
  3. mawbooks
    If your self-hosting you can add a google analytics plug-in and then you just add your # in and you're set to go!
    1. acousticguitarist
      thanks self hosting

      so just add as a text widget? (but really the text is javascript) That makes sense.

      Does google analytics like blogs or do all the scripts confuse it?
    2. mawbooks
      Add this plugin:

      cavemonkey50.com/code/google-analyticator/

      Once activated, go to options, google analytics and then you can put in your code.

      I don't think you can put stats in your sidebar though. If anybody knows how you can, I'd love to know.
  4. bnsullivan
    Re the GA plug-in for Wordpress, check out:

    andywibbels.com/post/1394

    Maybe that will help.

    Bobbie
    1. acousticguitarist
      thanks Bobbie

      will check

      I threw the other script in there for the moment. I'll see if I can get a copy of both scripts and see what the difference is.
    2. acousticguitarist
      Oh...ok had a look...very different to what I thought
  5. jungl
    Just put it in the footer file.
    No need for plugins/widgets whatever
    1. acousticguitarist
      thanks jungl

      Is it useful????
    2. acousticguitarist
      I'm sort of wondering why it wouldn't go in the header, that would be the first place google looks????
    3. jungl
      I use statcounter.com 99% of the time so I guess I don't find Google analytics all that useful.

      But it's great if you want to look at trends over longer periods, keywords analysis and so on.

      Edit: If the you put in the header your site might not load if the script should hang.
    4. acousticguitarist
      Thanks, that's an interesting point about not loading
  6. veryheaven
    *
    a) the code is INVISIBLE to your readers -
    google don´t need to "see" the analytics-code on your blog,
    they "have you" by using their services .-)

    b) best to put it in the footer of your page.
    c) to display some cool stats i recommend -> hitstats.com
    d) google loves blogs :-) -> blogger.com
    e) guarantees you a quick and solid ranking on google - vvhy?
    f) google ovvns it, therefore they rank any blogspot.com content first ;-)
    g) example: search in google.de / google.com for "veryheaven" -
    h) you´ll be surprised - as i vvas :-)

    hope that helps you,
    sincerely veryheaven

    PS: KEYVVORDS are important for your ranking.
    to be easily found in googles searches just make up a nevv post vvith your sticky KVVs and publish it once for 24 hrs, so the robots can cravvl your content and feed the machines vvith your KVVs
    1. acousticguitarist
      Thanks very much for your info

      Yes, I know google loves blogs but there is some really bad scripting done by the makers of templates. e.g. If you place a header script in slightly the wrong place of the header it can send the web bots around in circles and they tire and go home. There's a nice script that goes in the header that enables google to scan your site immediately when you submit but placement of it is crucial, if you place it after a js file that is called externally it hates it..

      I don't want to display my stats, I was just curious so I could monitor certain details better. There are are lot of clunky blog scripters.

      Thanks Heaven
  7. Xight
    I just have a text widget and copied the code for statcounter, and google analytics in both. It doesn't show up on the sidebar.
    1. acousticguitarist
      That makes sense that it doesn't show up, there's nothing in the script to make it display.

      It's just a javascript file
  8. acousticguitarist
    The plot thickens

    I just noticed that Matt Cutts has his js in the header
  9. crkian
    You can use it in the header, or in the footer. So long as it is something that appears on all pages.
    1. acousticguitarist
      cheers
      ...emailed
  10. blackzedd
    You can put it in the footer.php

    Javascripts are better put on the bottom of the page while internal stysheets on top. These practices improve your loading time.

    Here check this out:

    developer.yahoo.com/performance/rules.html#css_top

    Hope this helps!
    1. acousticguitarist
      thanks Blackz
  11. Seabuckthorn
    I'm having trouble getting Google Analytics to recognise my self-hosted blog, so I'm going to try this suggestion. Anyone else want to chime in on this topic?

Add Your Comment

Login to leave a message.