Support » Plugin: GA Google Analytics » Unhidden code above page’s header

  • Resolved Yunis777



    After upgrading the Google Analytics plugin from Version 20190220 to version 20190501, the code is visible to the user. How can it be hidden from user?

    See screenshot:

    It’s a very good plugin but I’m dissapointed that with the latest versions it shows this code at the top of the page to the visitor.



    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr


    That happens when you try adding <script> tags to either of the following settings:

    – Custom Tracker Objects
    – Custom GA Code

    So double-check those settings to make sure there are no script tags and problem solved.

    I have the same issue, this is what shows at the top of the site:

    ); ga(‘set’, ‘forceSSL’, true); ga(‘send’, ‘pageview’);

    I did not add any additional <script> tags as indicated, only the Tracking ID and Google Site Tag.

    I deactivated the plugin until there is a resolution.

    • This reply was modified 1 year, 2 months ago by kavlito.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unhidden code above page’s header’ is closed to new replies.