drupalfun.com
Clicked Link Tracker...
Submitted by dallas.ramsden on Mon, 05/11/2009 - 08:06
Status:
Solved Question:
I am in need of a links-clicked tracker. I cannot find an existing module that does that specifically. I don't need to track ads, all I need is to log relevant data every time a user clicks on a link within my site.
Since I cannot find a module (please share if you know of one) I am developing my own module. I will use AJAX and Javascript to communicate from the client side.
The module does not need a block and I am not sure which hook to use in the .module when calling the function:
drupal_add_js( ... );
Any ideas?
Cheers and thanks much!
Related Questions
Responses
2. Just a shot in the dark
Submitted by charos on Mon, 05/11/2009 - 09:58.
Maybe check the Google Analytics .module file to see how is doing the whole tracking. Just an idea!
3. Spot on... thanks buddy!
Submitted by dallas.ramsden on Mon, 05/11/2009 - 23:30.
Spot on... thanks buddy!


1. FYI, hook_init is where I
FYI,
hook_init
is where I placed the call.