2

Is there any option to find with javascript does user previous visit sites like booking.com , expedia.com and similar OTA's and find that link to use it into website?

Aleks Per
  • 1,549
  • 7
  • 33
  • 68
  • 1
    Duplicate of http://stackoverflow.com/questions/11556781/can-we-get-browser-history-by-using-javascript – Mohammad Jun 28 '16 at 10:19
  • 1
    Privacy issues mate, you can't collect my history or from other users with JS – node_modules Jun 28 '16 at 10:20
  • But is there any hack to know does user visit booking.com before come to my hotel website ? – Aleks Per Jun 28 '16 at 10:22
  • @AleksPer That's a _slightly_ different question - are you wanting to know if they've clicked a link and ended up on your site directly? Not that they've _ever_ been on a particular site? – James Thorpe Jun 28 '16 at 10:23
  • 1
    Possible duplicate of [How to get browser history javascript/Jquery](http://stackoverflow.com/questions/32089783/how-to-get-browser-history-javascript-jquery) –  Jun 28 '16 at 10:24
  • You can make use of the `Referer` HTTP header to see what site linked to your site. But this only works if they link directly from that site to yours. That is pretty much the most you can get. – Ivar Jun 28 '16 at 10:30

0 Answers0