Best place to place Google Analytics Script (3 posts)

  1. ssor
    Posted 8 years ago #

    Hello, can anyone recomend the best place to place the Google Analytics Script for collecting site stats?

    I have placed in in the header.php of my active theme. Is this the best place to use it? I want to cover my whole .co.uk incuding the forum I use.

    Thanks in advance,

  2. onocrotalus
    Posted 8 years ago #

    Mine's in my footer, and it seems to work fine. I think that Google recommend it being put immediately before the </body> tag.

    Update: I've just come across this.
    Perhaps I should be doing it differently!

  3. xinfo
    Posted 8 years ago #

    You can get plugin from download section or edit footer.php

Topic Closed

This topic has been closed to new replies.

About this Topic