Title: Code in header &#8211;&gt; Footer
Last modified: December 11, 2016

---

# Code in header –> Footer

 *  Resolved [Der-Bank-Blog](https://wordpress.org/support/users/der-bank-blog/)
 * (@der-bank-blog)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/code-in-header-footer/)
 * Hi
 * the JS code generated by the plugin appears inline in the Header. Is it possible
   to move it to the footer?
 * Cheers
 * Hansjörg

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

 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8539757)
 * Hi Hansjörg,
 * What you could do for now is go to the bottom of reduce-bounce-rate.php and change
   `
   add_action('wp_head', 'rbr_st_control_vars', 1);` into `add_action('wp_footer','
   rbr_st_control_vars', 1);`
 * I’m not sure why I put it in the head, but the reason could be that I wanted 
   to be sure that this script comes before the other plugin scripts. If you’re 
   going to change it check in Analytics in Real Time if everything is still working.
 * I’m planning to make some changes to the plugin. Maybe I could consider to move
   it to the footer.
 * It’s working on my side btw.
 * Regards
    -  This reply was modified 9 years, 6 months ago by [Okoth1](https://wordpress.org/support/users/okoth1/).
 *  Thread Starter [Der-Bank-Blog](https://wordpress.org/support/users/der-bank-blog/)
 * (@der-bank-blog)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8565177)
 * Hi
 * thanks for the code. I checked it now for one week and it seems to work fine.
 * My Suggestion is, to put it in the next update as a Standard.
 * Cheers from Germany
 * Hansjörg
 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8565325)
 * Thanks Hansjörg, I will consider it. I have to figure out why I didn’t do it 
   at from the beginning. I also like to have all scripts in the footer, so I don’t
   understand why I didn’t put it there.
 * I will look at it in January because I want to change some other things as well
   and maybe I can do it all in one go. Have to go on holiday first 🙂
 *  Thread Starter [Der-Bank-Blog](https://wordpress.org/support/users/der-bank-blog/)
 * (@der-bank-blog)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8681036)
 * Hi
 * did you Change this in the 4.2.0?
 * Cheers
 * Hansjörg
 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8681058)
 * Guess the holiday didn’t help much. Or I’m getting older…
 * Either way, I still need to change this. I need to test it , so you need to give
   me a couple of days more.
 * Anything else people? This is your chance! 😉
 *  Thread Starter [Der-Bank-Blog](https://wordpress.org/support/users/der-bank-blog/)
 * (@der-bank-blog)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8681133)
 * 🙂
 *  Thread Starter [Der-Bank-Blog](https://wordpress.org/support/users/der-bank-blog/)
 * (@der-bank-blog)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8776199)
 * Hi
 * in the new Version: Did you enable it in the footer or still in the Header?
 * Cheers
    Hansjörg
 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8776217)
 * Not yet, Hans. It was just a rollback to version 4.2. I know that you are waiting
   for it, but I really want to test it first. Just doesn’t have time at the moment
   to do it. But it’s on my list and as soon as I have time I will add it.
 *  Thread Starter [Der-Bank-Blog](https://wordpress.org/support/users/der-bank-blog/)
 * (@der-bank-blog)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8776279)
 * No Problem 🙂
 * If I do not use the MonsterInsight plugin, I do not Need to roll back, right?
 * Cheers
 * Hansjörg
 *  Plugin Author [Okoth1](https://wordpress.org/support/users/okoth1/)
 * (@okoth1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8776481)
 * No, just leave it. I really hope I can remove this from my todo list soon…

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

The topic ‘Code in header –> Footer’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reduce-bounce-rate_53adc5.svg)
 * [Reduce Bounce Rate](https://wordpress.org/plugins/reduce-bounce-rate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/reduce-bounce-rate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/reduce-bounce-rate/)
 * [Active Topics](https://wordpress.org/support/plugin/reduce-bounce-rate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reduce-bounce-rate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reduce-bounce-rate/reviews/)

## Tags

 * [js](https://wordpress.org/support/topic-tag/js/)

 * 10 replies
 * 2 participants
 * Last reply from: [Okoth1](https://wordpress.org/support/users/okoth1/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/code-in-header-footer/#post-8776481)
 * Status: resolved