WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Backslashes being added in latest version also (4.2.8) (3 posts)

  1. mjawadsheikh1
    Member
    Posted 1 year 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

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

  2. drachenzauberei
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.