Hi,
Please change the code placement option to “Codeless”
Hi @duracelltomi ,
Thanks for the reply.
Unfortunately it is still not working. I get the following error:
The Google Tag Manager snippet on your site is in the wrong location on the page.
There is this line added by some script on your site after the opening body tag:
<script type="rocketlazyloadscript" data-rocket-type="text/javascript" id="wd-flicker-fix">// Flicker fix.</script>
I do not know how but this line has to me either removed or moved a but lower so that the GTM noscript/iframe tag can be the first element after the opening body tag. Currently, because of this script tag, it is only the second. And this breaks GSC verification.
@duracelltomi ,
Hmm, thanks. I can’t find the code anywhere in my theme. How can I be sure the GTM tag loads before this code?
The GTM noscript tag should be loaded above this code and below the opening body tag.
It might be added by WP Rocket and some option inside of it.