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!

Ad Ops Tips & Guides, Industry News, Latest Tech and Success Stories - right in your inbox.

We are committed to protecting you Privacy Data

Here’s the course that 300+ pubs used to scale their ad revenue.

Enroll today

Book Banner

"Working with MonetizeMore has been a transformative experience as they helped to increase my overall revenues by over 180%"

$100M+

Paid to Publishers

3B+

Ad Requests Monthly

1500+

Happy Publishers

Recommended Reading

fake-traffic
Traffic Cop
Last updated: March 22, 2023

The High Cost of Fake Traffic: $143 Billion Gone

Read More
google-ad-manager-advanced-guide-troubleshoot
DoubleClick For Publishers / Google Ad Manager Ad Optimization
March 20, 2023

Google Ad Manager Advanced Troubleshooting Guide for Display Ads

Read More
how-to-stop-invalid-adsense-activity
AdSense Policy, News & Updates
March 16, 2023

Invalid AdSense Activity: The Silent Killer of Your Online Revenue

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