WordPress.org

Forums

Header and Footer
[resolved] Where does Google Analytics code go? (5 posts)

  1. drlester
    Member
    Posted 12 months ago #

    Am I correct that it goes in this field:
    Code to be added before the end of the page

    Lane

    https://wordpress.org/plugins/header-footer/

  2. Stefano Lissa
    Member
    Plugin Author

    Posted 12 months ago #

    The new google analytics code goes on the "head" section of every page.

  3. drlester
    Member
    Posted 12 months ago #

    Thanks. It will be interesting to see what happens. One theme I use has a special field for Analytics code. For other sites I've installed Google Analytics for WP, and it takes care of fetching and placing the code itself.

    Lane

  4. emiliekelly
    Member
    Posted 1 month ago #

    Hi - I edited the google analytics code as instructed in the head section of each page under Settings>Header and Footer - then Page Head and Footer tab in section called "Code to be added on HEAD section of every page". I copied the exact code generated in my Google analytics accounts, and clicked "Save" at the bottom.

    When I go back into my Google Analytics page and look at property to verify it, it still says "Status: Tracking Not Installed
    Last checked: Apr 14, 2015 10:15:50 AM PDT
    The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website."

    Can you help?

  5. Stefano Lissa
    Member
    Plugin Author

    Posted 1 month ago #

    Have you a cache plugin active? Did you empty the cache?

Reply

You must log in to post.

About this Plugin

  • Header and Footer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.