As you already know Adsense give you a code to insert into head tag when applying for adsense. My site is using WordPress CMS. I tried using two plugins to do it, Header And Footer Insert Plugin and then Advanced Ads.
In case of Header And Footer Insert Plugin, you need to manually put the code.
I pasted the code into the plugin which Adsense gave.
<script data-ad-client=”ca-pub-*************” async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
However, when I checked the code through the inspect option of chrome browser, it has addition text into it. It looked like
<script data-ad-client=”ca-pub–*************” ” async=”” src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js” data-checked-head=”true”></script>
As you see data-checked-head=”true is additional in the code.
I also tried Advanced Ads plugin, it’s also showing same.
Since both plugins are doing it, I think it’s some other issue.
Please help me.
- The topic ‘Additional data-checked-head=”true” attribute being inserted into script’ is closed to new replies.