问题描述
我目前在一个提供横幅的平台工作.但这些并不是您在每个网站上看到的那些烦人的横幅.它们是交互式横幅,只有在您单击时才会展开.问题是 adblock 并没有阻止横幅本身,而是阻止了我注入横幅的跟踪像素.
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.
推荐答案
根据您提供图像像素的方式,一种可能性是在您的图像前设置代理并使用日志来跟踪您提供的横幅.或者,您可以使用代理来执行一些逻辑并触发对各种数据库的插入(尽管这可能会使代理有点慢).
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
您可以使用像 nginx 或 HA 代理这样的代理
You can use a proxy like nginx or HA proxy
这篇关于防止 Adblock 阻止跟踪像素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!