Connect site with Google AdSense

Posted in: Newspaper
Post count: 11

Hello,

I am trying to sign up with AdSense and in order to connect my site to Google it asks that I add some javascript code right after the head tag. Is there an easy way to add this code? I do not see this option in the Ad portion of the theme panel. I am on version 7.0.1 but I also do not see this in the latest documentation.

Thank you!

John

Post count: 11

This is not an ad code but per google “To complete the AdSense connection process, you need to connect your site to AdSense. It’s so we can make sure all sites using AdSense meet our policies.”

<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-000000000000000”,
enable_page_level_ads: true
});
</script>

Post count: 22421

hello,

There is no way of adding the code from the theme settings. you will have to access your files on the server and find the header.php file and place the code inside the head tag: https://www.screencast.com/t/WtJPdu0WFz

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.