WordPress.org

Forums

utility
Google analytics code (2 posts)

  1. coloradoauthorsleague
    Member
    Posted 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic