There are a few modules out there which do click tracking of various competencies already:
http://drupal.org/project/click - Only available for 5.x and doesn't allow flexible landing URL's.
http://drupal.org/project/bouncer - has potential, but currently just a shell
http://drupal.org/project/landing_pages - allows extra features, like theming and click tracking, but doesn't provide an interface or export of the stats yet, and it adds it's own tables to the DB for it's custom content type, (i.e. doesn't use CCK at all)
And there ways to integrate Drupal into Bit.ly/Tiny.url, etc. (http://drupal.org/project/shorturl and http://drupal.org/project/shorten) and that some of the free URL shortening web services track click throughs of their urls in their admin interface, but most of the time I find that we want our own domain with an easy to remember URL for print or branding reasons, and not a hard to remember hashed-url.
With the basic node aliasing we can get the URL's we want, but the overhead of enabling the statistics module to count these is too much, and since we already have the Path Redirect module enabled it would be very handy if Path Redirect had the option of adding a 'click through count' when you add a redirect. i.e. some redirects are normal, others can be configured to simply count the number of times the redirect is hit. Then there is only a single admin UI to go to to configure and admin URL's.
Comments
Comment #1
dave reidSince we use the proper APIs, this sounds actually like something that would be much better as a separate module. It could easily be accomplished since
hook_exit($destination = NULL)is run for all redirects (if things use the proper APIs) and could track when things are redirected (since the $destination parameter would be provided).That way this feature could work for many other solutions and not just path_redirect.