监控用户对广告的点击活动(adsense 或其他网络)
我正在考虑跟踪我网站上的广告(包括 adsense 和其他网络)上的所有用户点击,
您认为这可能吗?也许可以添加一个带有 jquery 的事件侦听器,在用户打开广告商页面之前发送 ajax 调用?
I am thinking to track all user clicks on the ads I have on my website (including adsense and other network)
Do you think this would be possibile maybe adding an event listener with jquery that sends an ajax call before the user can open the advertiser page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您将所有广告都封装在带有
ad
类的容器中,您可以这样做:我不太确定这是否适用于 Flash 内容,但您可以尝试一下。
Assuming you have all ads wrapped in a container with class
ad
you could do:I'm not quite sure, if this works with flash content, but you could give it a try.