Home>Support>How to add Google Adsense Code to Homepage

How to add Google Adsense Code to Homepage

Hello,

In order to use Google Adsense on my website, Google first needs to review my website. In order to review my website, they instruct me to paste the following code into the html of my homepage:


  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-8518441329770725",
    enable_page_level_ads: true
  });

They specifically ask for me to “Paste it into the HTML of http://pursuingfulfillment.net, right after the <head> tag.” When I try and look for the html section of my homepage, I cannot find it.

Does the Page Builder plug in somehow prevent me from viewing my HTML code?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Pursuing,

    No. We don’t do anything to prevent you from viewing the source.

    To add this code please install Insert Headers and Footers and then navigate to WP AdminSettingsInsert Headers and Footers and add verification code given to you by Google to the Scripts in Header text area.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More