how-to-add-google-adsense-in-wordpress

How to Add Google AdSense to Your WordPress Site

Do you want to add Google AdSense to your WordPress site? Google AdSense is a free, simple way to earn money from your website by displaying targeted Google Ads on your site.

In this article, we’ll show you how to properly add Google AdSense to your WordPress site along with a quick guide on how to track the performance of your ads with Google Analytics.

What is Google AdSense?

Google AdSense is a popular advertising network run by Google that allows you to easily add Google advertisements to make money from your website. It’s a cost-per-click (CPC) program in which you’ll get paid for every click users make on your site’s ads.

Google AdSense provides the easiest way to monetize your site; you just need to insert a small code snippet on your site, and Google will do the rest.

First, AdSense spiders will crawl your site to detect what your site content is about and then they’ll put related ads onto the ad blocks on your site. When people start to click on the ads, you’ll start making money.

The process of getting payments is hassle-free because you don’t need to deal with advertisers. Google deals with the advertisers, collects payment from them, and sends you a percentage of the collected money. Google takes a small percentage of the money as their management fee.

Now, let’s see how to add Google AdSense to your WordPress site in 3 easy steps.

Step 1: Create a Google AdSense Account and Connect It with WordPress

First, you’ll need to sign up for a Google AdSense account by going to the Google AdSense website. Click the Sign Up Now button to start signup process.

signup-googleadsense

On the next page, you’ll need to enter your website URL and email address. Then, choose whether you want to get helpful AdSense info to your email address by selecting your preferred option and click the Save and Continue button.

create-adsenseaccount

Next, you’ll need to choose your home country and check the Terms and Conditions box to proceed. Finally, click the Create Account button.

If you can see your Google AdSense homepage that means you’ve created your AdSense account. After this, the next step is to activate your account.

On your AdSense homepage, you’ll find 2 tasks to complete to activate your AdSense account:

  • First, you’ll need to provide your payment address.
  • Second, you’ll need connect your WordPress site to AdSense.

To connect your site to AdSense, you’ll need to add a piece of HTML code to your WordPress site’s header. You’ll find this code on your AdSense homepage. Copy the code.

connect-wordpress-to-adsense

To add the code, you’ll need log into your WordPress dashboard and install the Insert Headers and Footers plugin. The plugin lets you insert code into your theme’s header and footers safely, without having to edit your theme’s file.

After you install the plugin, you can go to Settings » Insert Headers and Footers and paste the HTML code into the header field.

insert-header-withplugin

Now that you’ve added the code to your site’s header, return to your Google AdSense account homepage and click the I’ve pasted the code into my site box. Then, click the Done button.

adsenseactivation-process-complete

Next, you’ll see a short notice from Google AdSense that they’re reviewing your site. This is perfectly normal, but it does mean you’ll have to wait. Usually it takes a day to complete the activation process; however, it can take up to a couple of weeks for some sites.

adsense-activation-review

Note: Sometimes, Google can’t activate your account if your site fails to comply with the AdSense program policies.

Step 2: Creating Google AdSense Units

Once your Google AdSense account is activated, you’ll get access to all the AdSense options which were grey before. Now you can start creating ad units.

To get started, you’ll need to the click My Ads tab and select Content. Next, click on Ad Units and the New ad unit button.

add-new-ad-unit

Next, you’ll need to give a name to your ad unit and select the ad size, type, style, and colors you prefer.

create-ad-unit

From Ad size, you can choose your ad dimensions. When choosing, make sure to choose one listed under Recommended for the best results.

Next, you can select an ad type from Ad Type option. You’ll see Text & display ads by default. You can simply stick with that.

Another option within Ad style lets you customize the look of your text-based ad units. Mainly, you can change their design and color.

The next option, Custom channels, allows you to better track the ad performance based on sites. This feature is optional, so you can skip this if you don’t want to use it.

The last option, If no ads available, allows you to set what you’d like to show if Google can’t find any relevant ads.

Once you’re done with this setup, simply click on Save and get code button.

It’ll provide you with an ad code:

ad-code

Copy the ad code and save it somewhere safe because you’ll need it in the next step.

Step 3: Adding Google AdSense Ads to WordPress

Now that you’ve successfully created your ad unit, you’re ready to add Google AdSense ads to your WordPress site.

Advertisements are commonly displayed in the sidebars and other widget areas like your site’s footer. You can easily add the Google ad code to your site’s sidebars and other widget areas using the Custom HTML widget.

First log into your WordPress site. Then, navigate to your Appearance » Widgets page from the dashboard. Next, drag and drop the Custom HTML widget to your selected widget area, like your Right Sidebar. Paste the Google AdSense code that you copied in the earlier step into the box. Don’t forget to click the Save button.

add-code-to-customhtml-widg

That’s it! Now you can visit your website’s front-end and check out how the ad looks.

If you want advanced options for placement and tracking, you can check out the best ad management plugin on the market: AdSanity.

Tracking Your AdSense Banner Ads in Google Analytics

Using Google AdSense, you can make decent earnings without putting in much effort. So, a little extra effort in improving the way you display ads can really boost your earning potential.

Tracking the performance of your AdSense ads gives you comprehensive data on how your site’s visitors interact with your ads. Using this data, you can improve your ad strategies and increase your earnings.

To properly track your Google AdSense ads, we recommend you use the MonsterInsights plugin.

monsterinsights-best-ga-plugin-for-wordpress

MonsterInsights is the best and most beginner-friendly powerful Google Analytics plugin available on the market. It comes with a powerful Ads Tracking addon to help you track the performance of your AdSense ads properly.

With MonsterInsights ads tracking, you can track click-through rates to see how many clicks each banner ad is receiving. Then, you can identify the most effective placements on your website.

To be able to track your AdSense ads, you’ll need to set up Google Analytics in WordPress using MonsterInsights. Then, you’ll need to install the Ads Tracking addon and enable Google AdSense tracking.

activate ads addon

For detailed instructions, check out our step-by-step guide on how to track AdSense in Google Analytics.

After you’ve set up ads tracking in WordPress, you can view your AdSense performance reports in Google Analytics.

We hope this article helped you to learn how to add Google AdSense ads to your WordPress site. You may also like to read our post on 3 website types that earn most money with Google AdSense.

Also, don’t forget to follow us on Twitter and Facebook for more Google Analytics tutorials.

Comments

Congratulations, you have the opportunity to be the first commenter.
Have a question or suggestion? Please leave a comment to start the discussion.

Leave a Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.