chevron_right
chevron_right
Ezoic WordPress Plugin JavaScript Integration Guide For New Publishers
How-To/Instructional

Ezoic WordPress Plugin JavaScript Integration Guide For New Publishers

Last Updated a month ago
Article Navigation
Introduction
Instructions
Contact Information for Further Assistance

Introduction

This guide walks you through how to set up your site using the Ezoic WordPress plugin with JavaScript integration. This method does not require DNS changes or Cloudflare and is ideal for new publishers getting started with Ezoic.

Instructions

Step 1: Install the Ezoic WordPress Plugin

  1. Log into your WordPress admin dashboard

  2. Go to Plugins > Add New

  3. Search for "Ezoic"

  4. Click Install and then Activate

Before proceeding, ensure your domain has been added to your Ezoic account. The plugin will automatically detect and connect your site based on the domain.

Once activated, you’ll see a new "Ezoic" option in your WordPress settings menu.

 

Step 2: Enable JavaScript Integration

  1. Go to the Integration tab inside the plugin

  2. Click "Turn On JavaScript Integration"

This injects Ezoic’s JavaScript into your site’s header. No manual edits or DNS changes are required. Once enabled, your site is considered fully integrated with Ezoic.

 

Step 3: Enable Automatic Ads.txt Management

  1. Go to the Ads.txt Setup tab in the plugin

  2. Enable Automatic Ads.txt Management

This will automatically generate and maintain your ads.txt file to ensure you’re properly connected to ad networks and compliant with industry requirements.

 

Step 4: Configure Placeholder Settings (Optional)

Ezoic’s plugin will automatically insert a baseline set of placeholders based on best practices. These will:

  • Be injected into your pages without manual coding

  • Adapt over time through Ezoic’s AI

You do not need to configure anything manually to get started. The system will begin learning and optimizing performance immediately.

Advanced users can explore the Ad Placements tab if they wish to manually customize placements.

 

Step 5: Update Your Privacy Policy

To comply with ad partner requirements, your site must disclose its relationship with Ezoic.

  1. Go to the Privacy section of your Ezoic Dashboard

  2. Follow the steps to update your Privacy Policy

This ensures transparency and compliance.

 

Step 6: Verify Integration and Let the System Optimize

To confirm that your site is integrated correctly:

  • Clear any site-level, plugin-based, or host-level caches to ensure the Ezoic script and placeholders are rendering correctly

  • Use the Ezoic Chrome Extension to verify that placeholders are rendering

  • Add ?ez_js_debugger=1 to the end of any page URL on your site (e.g., https://yoursite.com/?ez_js_debugger=1) to view real-time debugging information, including:

    • Whether the Ezoic script and privacy scripts are loading

    • The Ad Placement IDs that are being called

This is a helpful tool when troubleshooting ad visibility or integration questions.

 

Once all steps are complete:

  • Let the system run uninterrupted for 2–3 weeks

  • Your revenue and ad layout will optimize based on visitor behavior and data

You are now fully integrated with Ezoic using the WordPress plugin. No further action is needed unless you choose to customize your setup.

Contact Information for Further Assistance

If you need further assistance with JavaScript integration through the WordPress plugin, please log in via https://support.ezoic.com/ to make use of our dedicated resources for support. We're here to help!

× Enlarged Image

Loading ...