How to Add Adsense Code to WordPress Using Plugin

In this article we will see how to add Adsense Code to WordPress by making use of a WordPress Plugin called “Insert Headers and Footers“.

Before submitting your site to Adsense for approval it is important that you should place/install the code on your website. Let’s have a look at some of the steps on how to add the Adsense code to your WordPress website by using the WordPress Plugin “Insert Headers and Footers

In order to add the adsense code to your WordPress website you should have the Adsense code. Let’s have a look at how to get the Adsense code.

Login to your Adsense account

Once you login to your Adsense account, navigate to the Ads section as shown in the below screenshot

Once you are on the above shown screen then click on “Get Code”

Once you click on Get Code you will get a screen similar to the one shown below

Add Adsense Code to WordPress

Now Install/activate the WordPress Plugin “Insert Headers and Footers” plugin by going to the Plugins section. 

In order to get this done, Login to your WordPress website and navigate to your WordPress Dashboard.

From the WordPress Dashboard –> Navigate to Plugins and when you mouseover on Plugins you will see this option –> “Add New

You can refer to the screenshot shown below to refer to the steps. 

How to Add Plugins in WordPress

Once you click on “Add New” you will get a screen similar to the one shown below. In the search box search for “Insert Headers and Footers” you will get the below shown screen. 

Add Insert Headers and Footers WordPress Plugin

Now Click on Install and Activate. Once you click on Install, the activate button will be visible. Click on Activate  

Once you click on Activate then go to “Settings” as shown in the below given screenshot and then click on “Insert Headers and Footers”

Now Click on Install and Activate. Once you click on Install, the activate button will be visible. Click on Activate  

Once you click on Activate then go to “Settings” as shown in the below given screenshot and then click on “Insert Headers and Footers” you will get a screen like the one which is shown below

Paste the Adsense Code

Once you come to this screen then grab the Adsense code which we saw in the 2nd screenshot of this article. You can get the Adsense code from your account. Below I have shown an example of the Adsense Code   

What Adsense Auto Ad Code Looks Like

Now paste this code in the top section of the “Insert Headers and Footer” which wew have seen in the previous step. You can refer to the  below screenshot. 

That’s it. We are done pasting the Adsense code in the header section of the “Insert Headers and Footers” Plugin. Now let’s go to the next step. Login to your Adsense and tick the checkbox 

Leave a Comment

Your email address will not be published. Required fields are marked *