Title: Error code in footer
Last modified: September 27, 2021

---

# Error code in footer

 *  Resolved [Bojan Denić](https://wordpress.org/support/users/evilmc/)
 * (@evilmc)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/)
 * Hey, i just install plugin and get this code in footer:
 * `},4000);});`
 * How to fix?

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

 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/#post-14913791)
 * Looks like something related to Custom Code Manager. We will retire that feature
   next month but also release a separate plugin called Custom Code Manager to help
   SBP users transition. Until then, you can use another plugin called Insert Headers
   and Footers to move your custom code there.
 *  Thread Starter [Bojan Denić](https://wordpress.org/support/users/evilmc/)
 * (@evilmc)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/#post-14913888)
 * No, this happened when I add google analytics in footer through Custom code manager.
   How to fix that problem? I need only GA in custom code manager. Thanks!
    -  This reply was modified 4 years, 8 months ago by [Bojan Denić](https://wordpress.org/support/users/evilmc/).
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/#post-14914355)
 * There is a warning when you paste scripts into the Custom Code Manager:
 * > Paste the inline JavaScript here. DON’T include the `<script>` tags or else
   > you might break it!
 * Google Analytics works with two `<script>` tags, which can’t be added via Custom
   Code Manager. Can you paste a screenshot (using imgur.com) of the setting screen,
   showing how you added the Google Analytics code?
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/#post-14928056)
 * [@evilmc](https://wordpress.org/support/users/evilmc/) how did it go?
 *  Thread Starter [Bojan Denić](https://wordpress.org/support/users/evilmc/)
 * (@evilmc)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/#post-14931069)
 * I add full GA code there and then i got that error in footer.
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/#post-14931087)
 * [@evilmc](https://wordpress.org/support/users/evilmc/) like I said, the full 
   GA code includes two `<script>` tags and it’s not supported by the Custom Code
   Manager.

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

The topic ‘Error code in footer’ is closed to new replies.

 * ![](https://ps.w.org/speed-booster-pack/assets/icon.svg?rev=2342732)
 * [Speed Booster Pack ⚡ PageSpeed Optimization Suite](https://wordpress.org/plugins/speed-booster-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/speed-booster-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/speed-booster-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/speed-booster-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/speed-booster-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/speed-booster-pack/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Optimocha](https://wordpress.org/support/users/optimocha/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-in-footer/#post-14931087)
 * Status: resolved