Google AdSense anchor ads are a great way to put ads in front of your site visitors. However, AdSense anchor ads appear randomly in both the header and footer for your site, and Google doesn’t give you any way to restrict them to just appear on either the top or the bottom. Thankfully, with a minor code tweak, you can modify your code so AdSense anchor ads always stick to the footer. You should note that you can only do this if you manually insert the Google AdSense code into your WordPress site’s header, and you can’t do it if you’re using the Google Site Kit plug-in. Additionally, before making any changes to your WordPress site’s theme you should always back up your WordPress site so you can restore it in case you run into any problems. A link to download a Word document with the Google AdSense code you’ll need to use is included in the steps below.
Some of the images associated with the steps are included inline below. All images associated with these steps can be seen in the embedded YouTube video. Also, please note that you’re not able to leave a comment directly on this article. If you have a question or feedback, please leave it on the YouTube video.
Steps to Stick Google AdSense Anchor Ad to Footer in WordPress
- Navigate to your WordPress dashboard, click to expand “Appearance” in the menu on the left side of the screen, and then click “Theme File Editor.” The file editor for your WordPress theme is displayed on the right side of the screen.
- Find the “Theme Files” section on the right side of this screen, and then click “Header.php” in this section. Your theme header code is shown on the left side of this window. Again, before we start making any changes to your theme file editor, I want to strongly encourage you to back up your WordPress site so that if anything goes wrong you can restore your site from that backup.
- Find the open and closing Head tags in this code. The Head tags will look like <head> and </head>.
- Click here to download a Word document with the code you need to use, and make sure to replace the existing placeholder Google AdSense Publisher ID with your Google AdSense Publisher ID.
- Paste the Google AdSense code in between the Head tags in the Header.php section. I’d recommend pasting it after the last line of code prior to the closing Head tag, like I’ve done in the example on the screen.
- Click “Update File” to save the changes to your WordPress theme. Now, with Google AdSense enabled and anchor ads turned on, AdSense anchor ads will only display on the bottom of your screen.
Reasons to Stick a Google AdSense Anchor Ad to the Footer in WordPress
1. Increased Visibility
By sticking a Google AdSense anchor ad to the footer of your WordPress site, you ensure maximum visibility for your ad. This is because the footer appears on every page of the site, providing a consistent location for the ad to be displayed. Increased visibility leads to more clicks, resulting in a higher potential for revenue.
2. Consistent Revenue
With a footer AdSense anchor ad, you can count on a steady stream of revenue. Increase potential advertisers’ exposure and clicks by displaying the ad on every page of your site consistently. By having a reliable source of income, you can focus on growing and improving your website.
3. Better User Experience
Placing the ad in the footer instead of in a prominent location on your site provides a better user experience. The ad won’t obstruct their view or detract from the content of your site. A positive user experience can result in higher engagement, repeat visitors, and a strong reputation for your site.
4. Mobile Optimization
The majority of internet users now access websites on mobile devices. Optimize your AdSense anchor ad for mobile viewing by placing it in the footer for easy access by on-the-go users. By providing a seamless mobile experience, you can attract more users and potential advertisers.
5. Easy Implementation
Implementing a footer AdSense anchor ad is a simple process, and a great option for website owners new to monetization. The process can be completed in a few steps, without the need for advanced technical knowledge. With an easy implementation process, you can quickly start earning revenue from your site.