chevron_right
chevron_right
Excluding Ezoic Ads for a WordPress Category
How-To/Instructional

Excluding Ezoic Ads for a WordPress Category

Last Updated a day ago
Article Navigation
Introduction
Steps
Troubleshooting
Need Further Assistance?

Introduction

Managing ad density across different content types is a key part of maintaining a high-quality user experience. While Ezoic’s AI typically optimizes placements automatically, you may have specific categories where ads are not appropriate. This process involves creating a "Meta Tag" within your WordPress settings that the Ezoic engine recognizes as an instruction to suppress ad delivery for every post in that category.

Steps

1. Configure Meta Tags in WordPress

First, you must tag the specific categories within the Ezoic WordPress plugin:

  1. Navigate to Settings > Ezoic in your WordPress admin dashboard.

  2. Go to Ad Settings and click the Cog icon in the top right corner.

3. Locate the Meta Tags section and click + Add Meta Tag.

4. Under Display Locations, select Post Categories.

5. Choose the specific category or categories you wish to exclude.

6. For Select Attribute, choose Custom Meta Tag.

7. Define a Name and Content value.

    • Example: Name: ExcludeAds | Content: 1

2. Set the Restriction in the Ezoic Dashboard

Once the tags are applied in WordPress, you must tell the Ezoic engine how to interpret them:

  1. Log in to your Ezoic dashboard and navigate to EzoicAds > Ad Restrictions.

  2. Scroll to the Page Rules section and select Meta Tag from the dropdown menu.

  3. Click New Restriction.

  4. Enter the exact Name and Content you created in Step 1 (e.g., ExcludeAds and 1).

  5. Click Create Rule.

Note: It may take up to one hour for these changes to propagate globally across your site.

 

Troubleshooting

Ads Still Appearing in the Category

  • Verification: Check the page source (Ctrl+U) of a post in that category to ensure the meta tag is present in the HTML.

  • Matching: Confirm that the Name and Content values in the Ezoic dashboard match the WordPress plugin settings exactly. They are case-sensitive.

  • Caching: If the tag is present but ads still show, clear your site and CDN cache to ensure Ezoic is reading the most recent version of your pages.

Missing "Meta Tags" Section

  • Plugin Version: Ensure you are running the latest version of the Ezoic WordPress plugin.

  • Integration Check: Verify that your site is successfully integrated and that the plugin shows a "Connected" status.

Need Further Assistance?

If you need further assistance with excluding ads, please log in via support.ezoic.com to make use of our dedicated resources for support. We're here to help!

× Enlarged Image

Loading ...