It would be nice to have an optional field that would track the number of times the link was clicked.
For instance, I wanted to include this field in my "Download" Content Type, which consists of a screenshot and a link. User's would be able to sort by the number of times the link was clicked to see which download was popular.
Comments
Comment #1
hedac commentedyes that would be fantastic !!!
something similar to the weblinks module...
Comment #2
summit commentedStatistics module and the popular content view may be what you are looking for?
greetings,
Martijn
Comment #3
hedac commentedI think Statistics module doesn't count the click on cck url fields... just node visits.
Comment #4
jptarantoI need to have text links on nodes (hard coded through cck theming) counted when clicked. And have each user counted as well so I know who is clicking what. Each link has the node id coded into it, so they are all different. Any ideas?
Comment #5
latte commentedAny new work on this. It is perfect for what I am doing.
Latte/
Comment #6
quicksketchTracking clicks is (IMO) outside the scope of this module. This module focuses on inputing links into CCK and getting them back out again through Views. Building in link tracking would likely double the size of the module (at least). Instead I'd suggest that a link-tracking module provide a CCK formatter that link module can use to display links. Take a look at the CCK Extras module and the various formatters it provides.
Comment #7
caitiff commentedHello,
I'am doing just the same, i need a click counter for links in text area (node) link field of CCK (link CCK) and banners in the site (with my own banner module), by the way, track all the links in the website :)
if i can solve the trouble, i will put here but... i thinks this will be hard..
Joan from catalonia.
Comment #8
ron_mahon commentedI needed this capability a few years ago and used this module, Jnode.
README.txt file
===============
$Id: README.txt,v 1.6 2006/09/15 14:55:16 karpuz Exp $
This is a node type that allows you to create a library of http://
links to other resources on the Internet. Each node has a title, the
matching url and a description. The node can be allocated to a
taxonomy in the normal way.
You can use Janode to create your own webdirectory. Janode also
periodically checks each http:// link for 404 errors. Any Janodes
with a 404 error are put into a moderation queue for investigation.
To install simply go to "admin >> modules" and enable.
The 4.7 (and above) system automatically creates the database table
required for this module.
Don't forget to go to "admin >> access control" to setup
which roles can create/modify own janodes.
Limitation: currently only "http://" links are permitted.
Cron is used to attempt an "HTTP GET" of your link. If an
invalid http header (say 404) is detected, the janode is
placed back into the moderation queue and unpublished. The
site admin should decide what to do with it.
Note, in order for cron to check a link, your server must be
able to make HTTP (TCP Port 80) outgoing requests. Firewalls
may block this thus sending all ur links back into the
moderation queue. If this is the case and you are unable to
chamge any external firewall rule sets but wish to continue
using Janodes then you can disable the automatic link check
facility as show below.
Settings
========
Display the link on teasers
Does what it says on the tin
Display the link on main node body
Does what it says on the tin
Use "inward" redirection to external link
Setting this checkbox will make the link first visit
a local "redirect" page before sending the browser Good for Affiliate sites
on it's way to the link. This allows for a) recording
the user click in the watchdog log b) bumping the
stats "node counter displayed" value if the module stats
module is "active" and c) bump the local janode internal
click through counter;
Open new browser window
The site admin can force all janode links to open a new
browser window if they desire. Just check this box if
you want the feature.
Content type display name
This allows you to change the "content type" from "Jan's node"
to something a site admin might prefer. It was a feature request
that seemed reasonable.
How many janodes to 404 test
Does what it says on the tin. Don't set this too high.
The module batch tests the links.
Enable link checking by cron
You can disable the link checking feature by unchecking
this checkbox and saving.
The class name applied to the link's HREF
If you want a specific style class applying to the
link enter the class name here. A blank input here
means the HREF link will not have a class applied
Link prefix
Link suffix
Again, you may want to "wrap" the link in say a
Regards
Ron