Dear team
I have changed the theme in two sites to move to GP. Google Analytics did not work anymore. The GA code is added through a Hook Element in wp_head for the Entire Site.
I could disable plugins, but GeneratePress and those plugins work fine with GA on other sites. So there is nothing different than I have done in those two sites than in others wherein the same plugins work fine. I refer below in the “private information” box to these sites.
This post https://generatepress.com/forums/topic/why-does-the-google-analytics-code-keep-disappearing/ was about the topic but the original poster did not follow it.
Could you please help me with the issue?
Kind regards, Martin