Adsense code is not properly adding to the head tag.
-
Hello,
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. Is it normal?
The page I need help with: [log in to see the link]
- The topic ‘Adsense code is not properly adding to the head tag.’ is closed to new replies.