<aside> đź’ˇ Understanding: This document guides you to seamlessly integrate the Traffic Cop script and ensure that AdSense, GAM, Ad Exchange, and all other third-party ad network codes are compliant and fully functional.

Looking for Measure Mode installation instructions? Use Installation SOP: Traffic Cop Measure Mode for Ad Tech Vendors without In-house Script

</aside>

<aside> 👉 Action: Implement the Traffic Cop script into the appropriate section of your publishers’ websites, ensuring it loads asynchronously to prevent blocking page rendering. Check for errors, verify the script that it is working, and then the third-party ad network ad codes to ensure compliance.

</aside>

<aside> ⛔ Pitfalls: Ensure that you also adhere to the guidelines of implementing Traffic Cop Block Mode with your third-party ad codes. It can result in performance issues if those are not followed. If the snippets below don’t match the code that you have, please reach out to your MonetizeMore POC.

</aside>

Setup

1. Implement Traffic Cop Script

Request your publishers to implement the Traffic Cop script provided by your MonetizeMore POC as far down as possible before the closing </body> tag on their domains. The Traffic Cop script should appear intact and in the exact syntax, it was provided to you.

Example code:

<script type="text/javascript" async src="//c.pubguru.net/pg.site-config.js"></script>

Example implementation:

Untitled

2. Implement Block Mode

The examples below show how the code for different third party monetization setups should look like before and after the Traffic Cop Block Mode implementation.