Title: Adding JS to footer
Last modified: August 21, 2016

---

# Adding JS to footer

 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/adding-js-to-footer/)
 * Hello,
 * Currently This plugin adds the JavaScript inside the wp_head hook. Is there away
   to set this to output the JS in footer?
 * [https://wordpress.org/plugins/google-analyticator/](https://wordpress.org/plugins/google-analyticator/)

Viewing 1 replies (of 1 total)

 *  [Josef Seidl](https://wordpress.org/support/users/blogitsolutions/)
 * (@blogitsolutions)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/adding-js-to-footer/#post-4929586)
 * I am also interested in this question. Because if the JS Code is in the head 
   you cannot use custom variables after it. E.g. if you want to track the author
   of a specific post.
 * It would be nice to include an option to decide whether to put the script in 
   the head oder foot.

Viewing 1 replies (of 1 total)

The topic ‘Adding JS to footer’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Josef Seidl](https://wordpress.org/support/users/blogitsolutions/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/adding-js-to-footer/#post-4929586)
 * Status: not resolved