prevent Adblock blocking tracking pixel

旧街凉风 提交于 2019-12-14 03:52:36

问题


I'm currently working at a platform that delivers banners. But these are not those annoying banners that you see on every website. They are interactive banners which expand only if you click on it. The problem is that adblock is not blocking the banner itself, it's blocking the tracking pixel that I'm injecting into the banner.

Why I want to solve this? Well, it will cost me money to deliver that banner, you'll see it and I will not be aware of that.

I'm currently trying to find a method of tracking the banners without a tracking pixel. Any good ideas for this? Thank you guys.


回答1:


Depending on how you serve your imaging pixel, One possibility is to set up a proxy in front of your images and use the logs to track the banners that you serve. Alternately, you can use the proxy to perform some logic and trigger an insert into a database of sorts (although that would likely make the proxy a bit slow).

You can also use the proxy to alias the tracking pixel's name so that it does not have the "ad" text in the filename. This may get it around the adblocker all by itself and can be done with simple pattern matching logic

You can use a proxy like nginx or HA proxy



来源:https://stackoverflow.com/questions/29889304/prevent-adblock-blocking-tracking-pixel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!