chevron_right
chevron_right
How To Wrap Header Bidding Ad Tags And Exclude Them From Testing
How-To/Instructional

How To Wrap Header Bidding Ad Tags And Exclude Them From Testing

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

Introduction

Are you working with header bidding partners and concerned about potential conflicts with Ezoic's ad testing system? In this article, we'll guide you through the process of wrapping your header bidding ad tags and excluding them from Ezoic's testing. This step-by-step guide will ensure that your custom header bidding features operate smoothly without interference from Ezoic's ad testing. Follow along to learn how to effectively 'comment out' your header bidding tags for a seamless integration.

Steps

1. Identify the tags or code snippets that you wish to exclude from Ezoic testing. Make a list of these tags to ensure you don't miss any during the process.

2. Locate the specific sections of your website’s code where these tags or snippets are implemented. You can typically find them within the header or other relevant sections of your HTML code.

3. For each tag or snippet you want to exclude, place the following commenting code around it:

<!-- EZOIC_REMOVE_BEGIN -->

-- Your Header Bidding Code Script Here --

<!-- EZOIC_REMOVE_END -->

4. Repeat step 3 for each tag or snippet that you have listed. Ensure that every tag is correctly wrapped with the comments to prevent conflicts with the Ezoic ad testing system.

5. Save and upload your modified code to your website.

6. Test your website to ensure that the tags or snippets are excluded correctly and that there are no disruptions to your ad setup or overall website functionality.

Troubleshooting

One common issue users might encounter is that the header bidding tags are still being tested by Ezoic after they have attempted to comment them out. This can happen if the comments are not properly formatted or placed correctly around the header bidding code.

To troubleshoot this issue, follow these steps:

  1. Verify Comment Tags: Ensure that the comment tags are correctly placed before and after the header bidding code scripts. Improper placement or typos within these tags can prevent the code from being properly excluded.
  2. Check for Nested Tags: Make sure there are no nested comment tags within the header bidding code. Nested tags can cause confusion in the script and lead to errors.
  3. Refresh Cache: Sometimes, changes may not take effect immediately due to caching. Clear your browser cache and reload the page to ensure the latest version of the site is loaded.
  4. Verify Header Bidding Partners: Confirm with your header bidding partners if they have any additional custom features or specific requirements for excluding their tags. Sometimes, additional steps or different comment tags may be needed based on their setup.

If these steps do not resolve the issue, it may be necessary to reach out to Ezoic Support or your header bidding partner's technical support for further assistance.

Need Further Assistance?

If you need further assistance with wrapping header bidding tags, 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 ...