php - Tracking transitions from odesk job application to the personal website -
here's deal: freelancing jobs @ odesk.com , want track transitions profile or job applications left personal website.
for clients url of job application page https://www.odesk.com/applications/xxxxxxxxx, xxxxxxxxx id job application.
so thought use $_server['http_referer'] retrieve previous url , take job application id it.
but guys odesk first redirect page this: https://www.odesk.com/leaving-odesk?ref=yyyyyyyyyyy. , users redirected website.
my question is: there way know page (which job application) visitor of website came?
http_referer in case tracks 1 page came.
so can't on it. example, when user clicks ad on site orginated osipage, quick access application, http_referrer contains osipage source page.
but on other hand, when user click ad on second page, http_referrer becomes same site.
http_referer therefore unreliable indeed. might not there, might forgotten, can't trust if it's security reasons.
just try cookies gives better control site originated.
Comments
Post a Comment