How to Implement a Head Code in WordPress

How to Implement a Head Code in WordPress

After adding the ads.txt file to your site, the next step needed to serve ads is to add a slim piece of JavaScript code supplied by Adnimaton to the header of your site.

This can be done in three easy steps.

Step 1: Install Plugin

There are several plugins that can be used, but we recommend using the “Ad Inserter – Ad Manager & AdSense Ads” plugin.

If you are unsure how to add a WordPress plugin, click here.

Step 2: Access the Plugin

Once the “Ad Inserter” plugin is installed and activated, click the “Settings” option.

You can also access the plugin under the “Settings” menu of your WordPress sidebar.

Step 3: Add the Head Code

To add the head code, follow these steps:

  1. Click on the settings option (gear icon) and then on the “Header” tab.
  2. Click the green button to enable the code
  3. Paste the code
  4. Click “Save Settings”

Head code instructions

 

Book a Discovery Call!

Learn how Adnimation can help improve your long-term growth

Our vision is simple: for creators to thrive doing what they love. That’s why we’re dedicated to helping you achieve lasting growth through innovative ad management and personalized support, allowing you to focus on what you do best — create amazing content.

Share:

Read More

Get Started Today

What would you like to monetize?

Join the Hundreds of Creators Who Trust Adnimation

As an experienced company with seasoned monetization experts, we blend advanced technology with human professionalism.

How does that manifest in reality? It means that our experts review the data on a daily basis, speak with advertisers and exchanges, and make improvements for publishers like you.

With us, you can soon be selling the same ad space for higher prices.