Support » Plugin: Wordfence Security - Firewall & Malware Scan » I got Bloced for unsafe operation after injecting google analytics coded

  • Resolved deffectrix

    (@deffectrix)


    HI I got this warning and block when I tried to insert code for Google analytics into WP Global Site Tag Settings plugin, I got this message from Wordfence plugin https://prnt.sc/t8urdj
    The code I was copied from google analytics so the script is good.
    Is this false positive or is there any vulnerability?

Viewing 1 replies (of 1 total)
  • Hi @deffectrix,

    This is indeed a false positive, and you were right to whitelist this action. Wordfence blocks any attempt to inject any type of script, but in your case you were just trying to inject a Google Analytics script into your site.

    You don’t need to do anything else, as you have already whitelisted that plugin.

    Dave

Viewing 1 replies (of 1 total)
  • The topic ‘I got Bloced for unsafe operation after injecting google analytics coded’ is closed to new replies.