How to create and implement a pixel tracking code

后端 未结 4 675
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 07:36

OK, here\'s a goal I\'ve been looking for a while.

As it\'s known, most advertising and analytics companies use a so called \"pixel\" code in order to track websites vi

4条回答
  •  独厮守ぢ
    2021-01-30 08:05

    First of all, the *.gif doesn't need to be that file type, the only thing that is of interest is the Content-Type http header. Set that to image/gif (or any other, appropiate type) in the beginning, execute your code and render some sort of image to the response body.

提交回复
热议问题