Google analytics Shows on top of page


I don´t know if this has to do something with the theme, but my Google Analytics code is visible over the header, on top of my page. I used the plugin by dFactory to put the code according to Cookie notice. Then the code became visible in live view on top of my page. When going in the Theme Editor, in header.php, I couldn´t see the code. I don´t know if this is a theme, or wordpress overall issue.

Thank you & Best regards


I think that it’s that plugin issue. You might want to check this link:

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Hello Roman

It was my mistake, I did not put the correct form of the Google Analytics (GA) code in the Cookie Notice plugin by dFactory. I have resolved this issue, and GA is working perfectly, in accordance to GDPR.

Thank you for your help & Best reagards.

Okay, you are welcome!

Kind Regards, Roman.