Support » Plugin: Google Analytics for WordPress by MonsterInsights » Custom code adds \ every time you save settings

  • Hello,

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


    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?


  • The topic ‘Custom code adds \ every time you save settings’ is closed to new replies.