The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Google Analytics by MonsterInsights
Custom code adds \ every time you save settings (1 post)

  1. WordPress Fan
    Posted 3 years ago #


    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?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by MonsterInsights
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.