WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Custom code adds \ every time you save settings (1 post)

  1. WordPress Fan
    Member
    Posted 1 year ago #

    Hello,

    could you please update this plugin so that it does not add a / to custom code every time you save settings?

    Example:

    I add the custom code "_gaq.push(['_trackPageLoadTime']);" to the field. It works and in the source-code of the website this code appears 100% correct.

    So... maybe you update some settings in GAW - suddenly the custom code changes to "_gaq.push([\'_trackPageLoadTime\']);" so that this code will no longer work (because of the automatically added \ in the code.

    The next time you save settings the code will be like this "_gaq.push([\\\'_trackPageLoadTime\\\']);" and more and more \ appear with every time you save settings.

    This makes no sense, so could you please update the plugin?

    Thanks!

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.