Expected UTM, but found “undefined”. Here’s how to fix it.

This post was most recently updated on August 17th, 2022

UTM tracking is not working as expected. The expected UTM is not found and instead returns an “undefined” value.

Our engineering team has been notified but try the following troubleshooting steps:

Step 1: Try upgrading your PubGuru Header Bidding configuration version

Expected UTM, but found "undefined". Here’s how to fix it. MonitizeMore

Step 2: Save and publish. Re-run PubGuru Ad Inspector and see if the error persists.

Step 3: Re-check UTM in Google Ad Manager to make sure it exists (Inventory > Key-values)

Expected UTM, but found "undefined". Here’s how to fix it. MonitizeMore

Step 4: If UTM in question is not found, have it added manually.

Step 5: Clear your browser cache and re-run the site and append with one of your UTMs (e.g. buzzdrives.com/?utm_source=google)

Step 6: Right click > Inspect > Reload the page > click on “Network” tab > search for “securepubads”

Step 7: Click on the one that starts with “ads?”

Expected UTM, but found "undefined". Here’s how to fix it. MonitizeMore

Step 8: Click on ‘Headers’ and under ‘Query String Params’ > “iu” shows which ad unit it is triggered for

Expected UTM, but found "undefined". Here’s how to fix it. MonitizeMore

Step 9: “scp” shows the parameters being passed

Expected UTM, but found "undefined". Here’s how to fix it. MonitizeMore

 

 

Need more help? Send us an email at support@monetizemore.com or log in to PubGuru App and use the Chat widget for immediate support.

Stop letting RPM drops stress you out

Let our AdOps Experts do the hard work. Sign up today and unlock your revenue potential.

Maximize my Ad Revenue

It’s your turn to take the ad monetization game to the next level

  • No credit card required
  • No DNS transfer
  • Cancel any time

Get started