Google Analytics by MonsterInsights
Backslashes being added in latest version also (4.2.8) (3 posts)

  1. mjawadsheikh1
    Posted 3 years ago #

    Everytime I update my settings it add backslashes in my custom code.

    I added _gaq.push([\'_setSiteSpeedSampleRate\', 50]);

    It is now turned to: _gaq.push([\\\'_setSiteSpeedSampleRate\\\', 50]);

    It is claimed on plugin owner site that the problem is solved in latest version (4.2.8), I am using thsi one but it is not solved yet. Please reply. With this problem this plugin is useless


  2. drachenzauberei
    Posted 3 years ago #

    I can reproduce the mentioned behaviour, it breaks GA functionality and renders it useless here. We re-pasted a clean version of the code into the input field and are going to stay the hell away from there now.

    I'm not sure, but plugin updates might possibly cause more backslashes in addition to saving the settings.

  3. dannib
    Posted 3 years ago #

    I've also reproduced this behaviour and the solutions for now is to save the custom code and re-paste it every time we need to 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.