Closed (won't fix)
Project:
External Links
Version:
5.x-1.6
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2008 at 19:14 UTC
Updated:
20 Dec 2009 at 01:09 UTC
giving a +1 every time it is click would be great for a popular link block or page.
Just an Idea.
Wes/
Comments
Comment #1
sikjoy commented+1 on this idea - I'm trying to implement this for the Drigg module (see #220242: Karma for clicking external links), and am struggling to find a SEO friendly way to do it. If I come up with a solution, I'll submit a patch for this module. Better yet, if any javascript gurus know how to do this, save me some time and post a solution.
Comment #2
sikjoy commentedHere's my problem:
Using the following jquery code:
Since jquery's get function loads the URL asynchronously, the clicker is already merrily on her way to the external site before the MENU_CALLBACK gets executed, and the click is not recorded.
Does anyone know how to cause jquery's get function to block, i.e. not return until its job is done? Or perhaps there's another function, that I don't know about, that would accomplish the task.
Comment #3
sikjoy commentedOK - I got it. The code should look like:
Give me a day or so, and I'll post a patch for this module.
Comment #4
quicksketchOnce again (I feel like this comes up every week). I do not want this as a feature of link module (which is a CCK field). Please create a separate project for these efforts.
Comment #5
sikjoy commentedOK - will do.
Comment #6
Encarte commentedSubscribing.
Comment #7
quicksketchMy previous post I thought this was in the "link" module issue queue (where I also get similar requests). Here's the on going effort to do link tracking within that project: http://drupal.org/node/236183
Comment #8
wwwoliondorcom commentedHi,
On a digg-like website, any idea how to make a list of the websites to which I send visitors ?
http://drupal.org/node/295425
Thanks.
Comment #9
quicksketchRegardless, this module should not be used to track link clicks because it is a JavaScript-only solution. However that hasn't stopped Google Analytics from offering the same thing, even though it's JS-only also. However I have no interest in implementing this functionality as it would easily double or triple the size of the module. Link tracking is best handled with a dedicated solution.