Quick Adsense
Use Quick Adsense "quick tags" outside the post (1 post)

  1. Ashutosh
    Posted 1 year ago #

    Is there any way Quick Adsense can detect its tags when they're used outside the content area (like in a widget)? If not, are there any plans to add this functionality in a future update?

    Support for tags in widgets would help me in conditionally loading different ads based on viewport size (or not loading ads at all). For eg.,

         if (window.innerWidth > 1024) { document.write("<!--Ads1-->"); }
     else if ((window.innerWidth < 1024) && (window.innerWidth > 480)) { document.write("<!--Ads2-->"); }
    //this way no ad code is loaded for width less than 480px

    I have no coding skills, so I am not sure if the above case is even technically possible. If it is, it'd be nice to be able to use it. :)



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quick Adsense
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic