doudu22272099831 2013-07-18 14:17
浏览 16
已采纳

跟踪从odesk工作申请到个人网站的过渡

Here's the deal: I do freelancing jobs at odesk.com and I want to track transitions from my profile or the job applications that I left to my personal website.

For clients the url of the job application page is https://www.odesk.com/applications/xxxxxxxxx, where xxxxxxxxx is the id your job application.

So I thought I would just use $_SERVER['HTTP_REFERER'] to retrieve the previous url and take the job application id from it.

But guys from oDesk first redirect you to a page like this: https://www.odesk.com/leaving-odesk?ref=yyyyyyyyyyy. And only then users get redirected to my website.

My question is: is there any way to know from which page (which job application) the visitor of my website came?

  • 写回答

1条回答 默认 最新

  • dtukyb8095 2013-07-21 16:56
    关注

    HTTP_REFERER in this case only tracks back to one page from where you came.

    So you can't really on it. For example, when a user clicks an ad on a site which is orginated from OSIpage, quick access application, the http_referrer contains OSIpage as the source page.

    But on the other hand, when a user click the ad on the second page, the http_referrer becomes the same site.

    HTTP_REFERER is therefore unreliable indeed. It might not be there, it might be forgotten, you just can't trust it if it's for security reasons.

    Just try with cookies which gives you better control from where your site originated.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?