面试题求解,做过 ad tracking 或者 chrome dev tool 玩的溜的请进

2016-09-09 03:06:28 +08:00
 halden

Using Chrome ’ s Developer Tools or Firefox ’ s HttpFox plugin, please look at the network calls when you click on the following two creatives. The MediaMath click tracker is working correctly if you see a call beginning with http://pixel.mathtag.com/click

Creative #1: https://creative-preview.mathads.com/p/bjQnKwgb

Creative #2: https://creative-preview.mathads.com/s/mWdP6keN

Is the click tracker firing on both ads? If not, examine the tag code of both creatives to identify where the problem might lie. Explain your findings.

以上是某家公司的面试题,然后根据我的分析,并没有从 http request 里面找到直接访问 http://pixel.mathtag.com/click 的请求,但是通过分析 timeline 他在跑 js 的时候通过跳转的网址中包涵了下面的内容 {"pid":7199,"tid":1295,"ts":227361902822,"ph":"X","cat":"v8,devtools.timeline","name":"v8.compile","args":{"fileName":"https://bs.serving-sys.com/BurstingPipe/adServer.bs? cn=brd&Page=&PluID=0&Pos=32223305210475495&EyeblasterID=35067080&clk=0&sct=1&dg=8504866&dgo=5079662&rtu=http://www.mediamath.com&di=0&pc=&sessionid=7774604282335317787&usercookie=u2=113fb65d-0e98-4537-88f3-67f41aeeb180&OptOut=0&ncu=http://pixel.mathtag.com/click/img%253Fmt_aid%253D0%2526mt_id%253D0%2526mt_adid%253D0%2526mt_sid%253D0%2526mt_exid%253D0%2526mt_inapp%253D0%2526redirect%253D&ebReferrer=https://creative-preview.mathads.com/s/mWdP6keN","data": {"columnNumber":154,"lineNumber":1,"url":"https://bs.serving-sys.com/BurstingPipe/adServer.bs? cn=brd&Page=&PluID=0&Pos=32223305210475495&EyeblasterID=35067080&clk=0&sct=1&dg=8504866&dgo=5079662&rtu=http://www.mediamath.com&di=0&pc=&sessionid=7774604282335317787&usercookie=u2=113fb65d-0e98-4537-88f3-67f41aeeb180&OptOut=0&ncu=http://pixel.mathtag.com/click/img%253Fmt_aid%253D0%2526mt_id%253D0%2526mt_adid%253D0%2526mt_sid%253D0%2526mt_exid%253D0%2526mt_inapp%253D0%2526redirect%253D&ebReferrer=https://creative-preview.mathads.com/s/mWdP6keN"}},"dur":298,"tdur":293,"tts":11647079},

所以我不确定这算不算是访问了 http://pixel.mathtag.com/click ,还有这道题究竟应该怎么解

1975 次点击
所在节点    Chrome
2 条回复
20150517
2016-09-09 05:48:58 +08:00
我是你同行.
1. be aware, 你把他们这处 trackingpixel 放出来,他们可能 会知道有 V2EX 上人看过这个,就等于你泄露的面试题
2. 我没点你链接,你点开 creative 后,如果有 click 在 timeline,那就是 click tracker fire 了,这看看 timeline 就知道了,很简单,根据你帖的,click tracker fire 了,他完全可以 capture 这个
halden
2016-09-18 02:10:13 +08:00
@20150517 啊。。我今天才看到你的回复,这个是我朋友问我的,我做前端的,对广告部署不太了解。。然后我想既然他都这样问了,而且他给了我完整的面试题的 pdf ,我也就想试试自己能不能做出来

然后我并有在 timeline 里面找到"直接访问" http://pixel.mathtag.com/click 的 http request ,而是你看他 link 带的参数中包涵有这个 tracker 的跳转,但有没有真正跳转到我并不知道

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/304955

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX