Jump to content

[SOLVED] Counting external link clicks whilst maintaining ease of navigation


stubarny

Recommended Posts

Good evening,

 

I'm writing some php code to count the number of clicks that a link receives. Once the extra click has been counted it will redirect the user to the target webpage.

 

However - it must also allow the user to click the back button once on her browser in order to return to the first page (as oposed to going back to the redirect page which will then instantly send the user to the website that I'm linking to).

 

Sounds tricky to me but indeed.com have managed it. If you click on one of the jobs links on the following webpage you will be taken to a redirect page and then the target webpage. And... if you then use the back button in your browser you will go straight back to the search results, bypassing indeed's redirect page and so keeping navigation easy for the user:

 

http://www.indeed.co.uk/jobs?q=engineer&l=

 

How do they do that?! :confused::D

 

Thanks everyone,

 

Stu

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.