1.3 C
Paris
Monday, March 8, 2021

Sir Alex Ferguson has revealed he had an 80% chance of dying following a brain haemorrhage

Legendary football manager, Sir Alex Ferguson has revealed he had an 80 percent chance of dying following a brain haemorrhage in May 2018. The former...
More

    Latest Posts

    How to Add Google AdSense Verification Code to the WordPress Header

    Google AdSense is a great way to start monetizing your website. Inserting ads on your website definitely has its pros and cons, but it’s a great way to start earning income online.

    Read on to learn how to add the AdSense verification code to your website. Or, if you’re the YouTube type, check out the video walk-through below.

    What is Google AdSense Verification Code?

    After providing some basic information to Google during the AdSense sign-up process, Google will ask you to insert a short snippet of code into the <head></head> tag of your website.

    The code will look something like this:

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

    In order to get verified and start showing ads on your website, you’ll need to copy and paste your verification code into your website so that Google can verify that you are the website owner.

    Step 1: Install the “Head, Footer and Post Injections” plugin

    Head over to your WordPress Dashboard and navigate to Plugins -> Add New.

    In the search box, type “Head, Footer and Post Injections”. Install and Activate the plugin.

    Head, Footer and Post Injections plugin

    Step 2: Paste in your Google verification code

    Once the plugin is activated, navigate to Settings->Header and Footer.

    Paste the Google AdSense code into the top left text box.

    Add code to head section

    Scroll down to the bottom and click the Save button.

    That’s it!

    Your site should be verified with Google AdSense within a few minutes, and you are one step closer to monetizing your website.

    By Victor C.

    Latest Posts

    Don't Miss