WordPress.org

Forums

Google Analytics
code inserted in footer, not head. embedded links in plugin (3 posts)

  1. cnymike
    Member
    Posted 2 years ago #

    code is not inserted in head as per Google.

  2. Kevin Sylvestre
    Member
    Plugin Author

    Posted 2 years ago #

    Hi cnymike,

    Thanks for the comment. The plugin is a bit older, and was maybe originally written before the asynchronous code (when Google used to recommend placing before the footer). I don't think the placement of the script tag makes a big difference (see http://stackoverflow.com/questions/6824095/best-place-to-insert-the-google-analytics-code). If you'd like to submit a code fix for it however, I'd be happy to review it.

  3. Kevin Sylvestre
    Member
    Plugin Author

    Posted 2 years ago #

    This is now moved to the head (as per Google). Check out 1.0.5!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.