• Resolved simon444

    (@simon444)


    With the latest plugin version anonymize_ip is wrapped with " instead of ” speech marks which is causing a JS error on the frontend of websites that have this plugin installed. We are faced with any other JS installed no longer running due to this error.

    Below is example of the error message and offending code.

    We have had to disable the plugin on many sites due to this error, when will the problem be fixed?

    Uncaught SyntaxError: Unexpected token '&'

    gtag("config", "G-xxxxxx", {
    "anonymize_ip":true, "cookie_domain": "auto",
    "custom_map": {
    "dimension1": "user_id",

    ……
    }
    });

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support avinashconversios

    (@avinashconversios)

    Hi @simon444,

    I am contacting you with an update, we have resolved the issue you mentioned in our recent Version upgrades. Kindly make sure that you are in the latest version of the Plugin.

    Feel free to reach us at [email protected] if you have any further queries or concerns.

    Thread Starter simon444

    (@simon444)

    Yup, that JS error has gone now thank you fixing.

    We’re still facing the two DB/PHP warnings as below which you said not to worry about, will those be fixed also?

    Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder.?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New plugin version breaks JS on frontend’ is closed to new replies.