How to track back 'first page seen URL' of any visitor coming on to your website

You would need to create the code as I provided an outline only.