Title: Tracking code should be in head
Last modified: February 27, 2017

---

# Tracking code should be in head

 *  [Emil](https://wordpress.org/support/users/emilfrisk/)
 * (@emilfrisk)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/tracking-code-should-be-in/)
 * Hi!
    Thanks for a nice and easy to use plugin. To make the plugin even better,
   please place the tracking code inside the head element. Today the plugin uses
   the wp_footer action. I discovered the problem when I tried to verify my website
   on Google Search Console with the Analytics code. In order to do so, the code
   needs to be inside the head element.
    -  This topic was modified 9 years, 3 months ago by [Emil](https://wordpress.org/support/users/emilfrisk/).

The topic ‘Tracking code should be in head’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/analytics-code_ffffff.svg)
 * [Analytics](https://wordpress.org/plugins/analytics-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/analytics-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/analytics-code/)
 * [Active Topics](https://wordpress.org/support/plugin/analytics-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/analytics-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/analytics-code/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Emil](https://wordpress.org/support/users/emilfrisk/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/tracking-code-should-be-in/)
 * Status: not a support question