Adding AdSense code in header
-
So, I am trying to verify my website on Google AdSense, since they don’t offer support, I am not sure what to do. In their instructions it says to put the code inside <head> </head>, but I made all my pages on Elementor canvas so I added plugin Insert Headers and Footers and added code there. When i try to verify it says it couldn’t find the code. Another thing, on their page it says to put this code:
<script data-ad-client=”ca-pub-**********” async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
but in the e-mail they sent it says this one:
<script async src=”//pagead2.googlesyndication.com/
pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “pub-********”,
enable_page_level_ads: true
});
</script>so I am not sure which one or they are the same.
If you could anyhow help I would really appreciate it.The page I need help with: [log in to see the link]
- The topic ‘Adding AdSense code in header’ is closed to new replies.