Jump to content

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


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.