WordPress.org

Ready to get started?Download WordPress

Forums

utility
Google analytics code (2 posts)

  1. coloradoauthorsleague
    Member
    Posted 7 months ago #

    I am trying to paste the google analytics code into the proper PHP file for this theme to have analytics on the visitors to our home page. Can you tell me where I need to post that - which file and before or after which code?

    Or do I need to use a plugin for analytics instead of a direct tracking?

    Thank you!

  2. bravokeyl
    Member
    Posted 7 months ago #

    You can place it in the header.php or footer.php but it gets lost when the theme updates ..so try using plugin.
    check here and install whatever suits to you
    http://wordpress.org/plugins/tags/google-analytics

Reply

You must log in to post.

About this Theme

About this Topic