Posted by gaijinu on June 1, 2008 at 5:06pm
| Project: | Path redirect |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Hi, thanks for this great module!
I was wondering is it possible to increment a counter every time a redirect link is clicked?
Thanks!
Comments
#1
A counter would be very useful and informative. I wonder, that no one else would like to have this feature.
+1 for this idea
#2
New features should be made for the current version. Someone write a patch if you want the feature, otherwise I'm leaving this postponed.
#3
I have implemented redirect counter support. Find attached the patch for 5.x-1.2 version.
#4
5.x is closed for feature requests
#5
can this be implemented in 6.x?
#6
ok this is my first patch for 6.x-1.x dev
but you have to manually create the counter field in the database. int(10)
so far it seems to work
sorry if the patch are wrong.
#7
can someone help how to patch #6 the module so it can add the database changes when running in update.php ? I don't have a lot of drupal programming experience yet. It only has to add an Int field named counter.
#8
I think I have done the Git patch correctly.
This is for latest 1.x dev
Adds counter field to the database. You must use update.php.
Increments the counter field each time the redirect is used.
Displays counts in the redirect listings.
Please review.
#9
#10
I tried it. Seems to work properly
#11
This is cool. Could this same concept lead to further reportage beyond counter, for instance, date, time, unique IP? I currently glean most of the redirect reportage from the core reportage (Top Pages), but it is tedious. I have specific redirects that go to external URLs and I am trying to capture and report back to my team not only how many have passed through the redirect but also individual date/time and IP. Suggestions?