Title: Add code to header
Last modified: December 14, 2018

---

# Add code to header

 *  Resolved [anikitin35](https://wordpress.org/support/users/anikitin35/)
 * (@anikitin35)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/add-code-to-header/)
 * Please add support to loading tracking code to header (not footer)
 * Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/add-code-to-header/#post-10990181)
 * Hi [@anikitin35](https://wordpress.org/support/users/anikitin35/),
 * Yeah, maybe we should add an option for hooking `wp_head` or `wp_footer`
    or 
   directly move on the `wp_head` as I see, Yandex recommend that too.
 * Thanks!
 *  Thread Starter [anikitin35](https://wordpress.org/support/users/anikitin35/)
 * (@anikitin35)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/add-code-to-header/#post-10990520)
 * I think we should use wp_head by default, else webvisor not correctly work, because
   it begins to work later, after full page loading. And we cant see true statistics.
   Thank you for understanding and thanks for great module. Best regards. Im wainting
   for update very much.
    -  This reply was modified 7 years, 6 months ago by [anikitin35](https://wordpress.org/support/users/anikitin35/).
    -  This reply was modified 7 years, 6 months ago by [anikitin35](https://wordpress.org/support/users/anikitin35/).
    -  This reply was modified 7 years, 6 months ago by [anikitin35](https://wordpress.org/support/users/anikitin35/).
 *  Plugin Author [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * (@m_uysl)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/add-code-to-header/#post-11219752)
 * Hi [@anikitin35](https://wordpress.org/support/users/anikitin35/)
 * I just released the version 1.8 and from now on the plugin uses `wp_head` instead`
   wp_footer` for the placing tracking code.
 * Thanks for feedback and hope you update soon.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Add code to header’ is closed to new replies.

 * ![](https://ps.w.org/yandex-metrica/assets/icon-256x256.jpg?rev=2980886)
 * [Yandex Metrica](https://wordpress.org/plugins/yandex-metrica/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yandex-metrica/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yandex-metrica/)
 * [Active Topics](https://wordpress.org/support/plugin/yandex-metrica/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yandex-metrica/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yandex-metrica/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mustafa Uysal](https://wordpress.org/support/users/m_uysl/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/add-code-to-header/#post-11219752)
 * Status: resolved