WordPress.org

Ready to get started?Download WordPress

Forums

Where to enter Google Analytics code? (5 posts)

  1. ricknlida
    Member
    Posted 5 years ago #

    The code needs entered just before the close body tag.

    I read here that it should be at the end.php file, but I'm not finding that file anywhere.

    Where do I find the close body tag for all of my pages using the Magazine Basic Theme?

    Thanks!

    ...and please forgive me in advance if I've just not looked hard enough :(

  2. ricknlida
    Member
    Posted 5 years ago #

    I'm sorry I forgot to say. I'm using the Magazine Basic 2.2 Theme.

  3. c.bavota
    Member
    Posted 5 years ago #

    Hey ricknlida,

    There is no end.php file, but there is a footer.php file. You can add your Google Analytics code right before the closing body tag in that file.

  4. ricknlida
    Member
    Posted 5 years ago #

    Sweet! Thanks, tinkerpriest! :)

  5. c.bavota
    Member
    Posted 5 years ago #

    No problem. Good luck.

Topic Closed

This topic has been closed to new replies.

About this Topic