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 怎样才能让鼠标沿着线条的中心线轨迹移动
  • ¥60 用visual studio编写程序,利用间接平差求解水准网
  • ¥15 Llama如何调用shell或者Python
  • ¥20 谁能帮我挨个解读这个php语言编的代码什么意思?
  • ¥15 win10权限管理,限制普通用户使用删除功能
  • ¥15 minnio内存占用过大,内存没被回收(Windows环境)
  • ¥65 抖音咸鱼付款链接转码支付宝
  • ¥15 ubuntu22.04上安装ursim-3.15.8.106339遇到的问题
  • ¥15 blast算法(相关搜索:数据库)
  • ¥15 请问有人会紧聚焦相关的matlab知识嘛?