WordPress.org

Ready to get started?Download WordPress

Forums

Best place to place Google Analytics Script (3 posts)

  1. ssor
    Member
    Posted 7 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,
    Ssor

  2. onocrotalus
    Member
    Posted 7 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
    Member
    Posted 7 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