Website

5 Easy Steps to Add Adsense to Your Website

Disclosure: Our content is reader-supported, which means we earn commissions from links on Crazy Egg. Commissions do not affect our editorial evaluations or opinions.

Disclosure: This content is reader-supported, which means if you click on some of our links that we may earn a commission.

You have a website up and running, and even better, people are visiting it. The problem is, you’re not making money yet.  

Fret not. 

Google AdSense is one of the best ways to monetize your site, and adding it doesn’t have to be as complicated as you might think. 

Our guide below will show you how to add AdSense to your site so you can start turning those visitors into dollars. 

Why Adding AdSense to Your Website Is Worth It

Adding AdSense to your website is more than worth it.

First of all, while there are other ways to monetize your site, few are as reliable as the somewhat steady income that AdSense can provide.

Don’t get us wrong, you’ll need a lot of engaged visitors to make enough money to live on your earnings, but it’s not unusual to make a good amount of passive income from AdSense in the right circumstances.

Plus, AdSense can easily be coupled with other monetization forms, such as affiliate marketing and sponsored posts. In other words, it’s another reliable way to make money from your website, and without it, you’re not getting the most out of all the effort you put into building your site in the first place.

AdSense is largely hassle-free too.

You don’t have to deal with advertisers yourself or even worry about collecting the money at the end of the month. Google does all of that for you by maintaining relationships with advertisers and paying your earnings each month. There are very few questions asked.

Finally, AdSense is a reputable way to earn money from your site without resorting to methods like inserting links on behalf of others for little pay—something that typically violates Google’s guidelines anyway.

The Investment Needed To Add AdSense to Your Website

You may be wondering how much investment is needed to add AdSense to your website. The good news is that it probably isn’t as much as you might have anticipated. 

Timewise, we’re looking at anywhere from a few short hours to a few weeks. A few weeks sounds like a lot, but most of that is wait time, as you’ll need to wait to be approved by the Google AdSense team. 

What’s more, while it’s true some ad publishers have to wait a few weeks, others have been approved in a matter of hours. 

Implementing AdSense on your site once you’ve been approved isn’t a long process either. 

There is some difference in time here depending on whether you want to manually place the code for each ad or use auto-ads instead. Manually placing the ads takes longer, while using auto-ads is quicker. 

It’s important to mention that ads using both methods will likely not appear immediately on your site. There is a wait for them to show, and this can be between 24-48 hours. 

But even with these different time factors, it really won’t take forever to set up AdSense.

On the financial side of things, it doesn’t cost you anything to sign up to AdSense. 

AdSense is about paying you for your work, not the other way around. The only cost is the existing maintenance and hosting of your site—something you’ll already have sorted. 

Throughout this guide, we’ll go over how to do the following:

  1. Sign up for Google AdSense
  2. Generate the manual ads code
  3. Place the manual ads code into WordPress
  4. Generate the auto-ads code
  5. Place the auto-ads code into WordPress

5 Easy Steps To Add AdSense to Your Website

Here are the five steps you need to follow to add AdSense to your site. Let’s begin.

#1 – Sign Up for AdSense

Before anything else, you’re going to need to sign up for Google AdSense. Of course, if you’ve already been accepted and want to know how to place the ads themselves, feel free to skip to step two.

For everyone else, start by heading over to the AdSense homepage.

Click the blue Get Started button once there, like so:

You’ll be taken to a page like this where you need to put in some details:

Fill in the URL of your site, your primary email address, or one related to your site, and we recommend clicking Yes where it asks for customized help from AdSense.

Once done, click Save And Continue to proceed.

The next page will ask you to select your country and to accept some terms and conditions. Fill in all of that, and then click Create Account:

That will have created your account.

Now we need to fill in some basic payment details and your address. Fill these in as required, and then verify your phone number for enhanced security, like so:

Don’t forget the format required for the number is based on your location and area.

Upon successfully doing that, you’ll be given an AdSense code that you’ll need to paste into your site’s HTML.

This sounds complicated, but it’s not as bad as you might imagine—there are two ways to paste in the AdSense code.

First of all, you can add it to a WordPress site through the Theme Editor under Appearance on the dashboard:

Be sure to paste the code between the <head> and </head> tags like so:

If you’d prefer the plugin route, go to Plugins, Add New, and search for Insert Headers and Footers. Install and activate the plugin:

Almost done.

Now all you need to do is go to the Settings of the Insert Headers and Footers plugin and paste your code into the first box:

The header box looks like this:

Save everything up on WordPress, and then head back to the AdSense page. It will look something like this:

Click that you’ve pasted the code into your site, and then click on Done.

Google will now review your site and will let you know when you’ve been approved. This can take anything from three days to three weeks. You will have to be patient as Google has to review your entire site for ad suitability.

To increase your chances, be sure to leave the pasted code where it is, and ensure your site looks presentable, well-organized, and has some high-quality content on display. Ideally, you should complete the latter before submitting it to Google. 

You’ll also need to confirm you have some traffic coming to your site daily—there need to be people available to view the ads.

#2 – Generate the Manual Ads Code

So, let’s imagine a few days or weeks have gone by, and the good news is that Google has approved you for AdSense.

Alternatively, you were already approved and now want to place the ads on your site.

Either way, we can now start placing ads on your website. The first way to do this is through manual ads.

Start by going to the AdSense dashboard, and look for where it says Ads, click there, and then click where it says By ad unit.

Click the type of ad you want—let’s start with Display ads.

You’ll be taken to a page overlay where you’ll need to name your ad. This is just for internal purposes, so don’t worry too much about it:

You’ll also need to choose the ad’s size and whether you want it to be responsive or fixed.

Once chosen, click the Create button.

You’ll be presented with the HTML code and the AMP code for the ad you picked, like so:

If your site is ready for AMP, you can copy these codes for your mobile pages.

For now, let’s focus on the HTML code.

We’ll need to copy this into WordPress, so be sure to keep it handy.

#3 – Place the Manual Ads Code Into WordPress

You’ll now need to think about where you want the ad to appear on your site. For example, ads in sidebars are typical and can be achieved through the use of widgets.

So, on your WordPress dashboard, navigate to Widgets under Appearance like so:

Once done, you’ll want to click on the Custom HTML widget and drag it to where you want the ad to show on your site.

Inside this widget, we’re going to paste in the manual ad code from before, as shown below:

Paste the code in, and be sure to save everything by clicking the Save button down below.

That’s all it takes, and your ads should start showing up in the sidebar in a matter of hours. Although, expect it to take longer than this. There’s no exact time.

Place different ad units around your site using this method, but be sure not to overload your site with ads either.

In terms of the best placement for them, you need to think about where people are most likely to look. Sidebars are a reliable option, certainly alongside gripping written content.

Header ads can work well, but a lot of this depends on your pages’ design and content. Ads need to be easily viewable but not intrusive enough to frustrate visitors.

Of course, most of all, it’s helpful if your ads are relevant to your site content.

For now, enjoy having ads on your site and adapt your strategy over time.

Next, we’re going to cover another way of placing ads on your site.

#4 – Generate the Auto-Ads Code

The second option is to use auto-ads. The idea behind these ads is that you don’t have to think about placements, and you’ll save time using them too.

Of course, you won’t be picking where the ads go, so it may be better to use the manual ads approach for some.

To use auto-ads, go to your AdSense dashboard again and go to where it says Ads and click By Site.

You should see something like this:

You want to click Get code here to generate your auto-ads code. AdSense will now create a code for you, allowing you to use auto-ads.

An overlay like this will appear:

We want to click where it says Copy code snippet.

We will be pasting this into your site in the next step.

#5 – Place the Auto-Ads Code Into WordPress

We have the auto-ads code: now we need to put it into your WordPress site as we did before with the manual ad codes.

There’s a slight difference here, though. Our auto-ads code will generate ads everywhere on your site, so you’ll need to place the code on all of the pages where you want them to appear.

A quick way of doing this is to paste the code into the Theme Editor between the <head></head> tags of your site, but any update or change to your site will remove this code.

Over time, a site goes through many changes, and you can expect this code to disappear. It can be tedious to keep putting the same code back into your site.

Luckily, there’s a better solution here.

We’re going to use our old friend, the Insert Headers and Footers plugin. If you’ve followed this guide through each step, you should already have this plugin installed and activated on your site. If not, feel free to install it with a quick search.

We want to go to Settings again and click on Insert Headers and Footers:

You’ll be taken to a page that looks like this:

We need to paste that auto-ads code in the Header box. Be sure to save everything.

You’re done! Ads will now appear automatically on all of your site pages, although it may take a while for them to show.

Give it a few hours before you check.

Next Steps

There we go, that’s how to add AdSense to your website.

You’ll now have a reputable way of earning money from your creation.

This is just the beginning, though—you’ll need to tweak your strategy and ensure traffic keeps coming to your site.

If you’re thinking about the next steps, we recommend checking out these guides:


Make your website better. Instantly.

Over 300,000 websites use Crazy Egg to improve what's working, fix what isn't and test new ideas.

Free 30-day Trial