How To Implement Separate Header Tags Using Ad Inserter

Ad Optimization
Last updated: September 10, 2020 | by Kean Graham
How To Implement Separate Header Tags Using Ad Inserter

This post was most recently updated on September 10th, 2020

In this post, we want to show you how to implement separate header tags when you are using the Ad Insert WordPress plugin. If you have multiple Ad Maps, you’ll have to separate the header tags accordingly, so you don’t keep sending null ad requests to bidders. This strategy ensures not only faster page load times but also helps to maintain a good long-term relationship with bidders.

For example, if you run different sets of ad units for the home page versus content pages, then you’ll have two header tags: 1 for home page and 1 for content pages.

home page vs content pages

Here’s how to set it up with Ad Inserter:

Step 1: On WordPress, click Settings > Ad Inserter

Step 2: Click (Ad Inserter General Settings)

Step 3: Go to the Hooks tab.

Step 4: Create a hook with action: wp_head

ad inserter hooks option

Step 5: Click Save Settings

Step 6: Open an unused ad block and deploy the header tag.

Step 7: Select the page category where you’d like it to show up (example: the home page only), and select the Hook you created.

hook code ad inserter

Step 8: Open another unused ad block, deploy the other header tag.

Step 9: Select the page categories where you’d like it to show up (example: other pages except the home page), and select the Hook you created.

select categories

Step 10: Save Settings

Want more information on Ad Inserter and Advanced Ads? See this article: https://www.monetizemore.com/blog/advanced-ads-vs-ad-inserter/

Conclusion

Ad Inserter is a versatile plugin and great for publishers who use WordPress as there CMS. If you haven’t installed it yet, download it here. Need help setting up ads, implementing header tags, and making important ad optimization decisions? No sweat, let MonetizeMore take care of it all for you! We’ll help you get your ad revenue to new levels! Sign up today!

"NET RPM increased 61.3% compared to our yearly average before working with MonetizeMore, and NET Revenues increased 54.8%. There is no doubt that turning over the day-to-day management of our ad inventory to MonetizeMore's team of experts has been the right move for our business."

$100M+

Paid to Publishers

3B+

Ad Requests Monthly

1500+

Happy Publishers

Recommended Reading

leaderboard-ads
AdTech Industry Definitions
February 29, 2024

What is a Leaderboard ad? How does it bring more revenue?

Read More
ad-blocker-monetize
Ad Blocking
February 28, 2024

Ad Blocker Monetization: How publishers can still make money

Read More
ad block
Ad Blocking
February 28, 2024

How Google Chrome Plans To Evolve And Overcome Ad Blocking Copy

Read More

Trusted by 1,500+ publishers worldwide

10X your ad revenue with our award-winning solutions.

Let's Talk

Close

Ready to 10X your ad revenue with the #1 ad management partner?

Start Now