Title: Custom Code Error
Last modified: August 20, 2016

---

# Custom Code Error

 *  [ClubMagellano](https://wordpress.org/support/users/clubmagellano/)
 * (@clubmagellano)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/custom-code-error/)
 * Hi there,
    I’ve found a big problem in this plugin: if you add a custom code,
   like `_gaq.push(['_setSiteSpeedSampleRate', 100]);` the plugin adds automatically
   slashes before ‘. Nothing wierd you say. But if you resave the page it adds another
   two slashes and so on causing 500error when loading page.
 * Can you please fix this?
 * Thank you and regards.
    Riccardo
 * [http://wordpress.org/extend/plugins/google-analytics-for-wordpress/](http://wordpress.org/extend/plugins/google-analytics-for-wordpress/)

The topic ‘Custom Code Error’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ClubMagellano](https://wordpress.org/support/users/clubmagellano/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/custom-code-error/)
 * Status: not resolved