Each user on my site have an external url leading to his home page. Is it possible to track number of clicks to this url and provide it to user page on my site?

Comments

ayesh’s picture

I haven't seen any module that can do this, unfortunately.

steeph’s picture

Without writing any code, the first thing that comes to my mind is using Rules. Modify the link to point to a URL like http://example.com/outgoing?link=THEREALLINK and use the Rules module to a redirect to the real link and add 1 to a variable.

Of course writing your own module would be a cleaner solution. There is one module that I think should have this feature: http://drupal.org/project/external_redirect
It doesn't count the clicks, but maybe you want to open a feature request.