WP-Click-Track
wp-click-track is a WordPress plugin, started in January 2009, that adds automated link tracking to your posts and pages. It initially started out as a simple plugin for my own personal usage but has since evolved into a full module all its own.
Features
Usage
Future Releases
Change Log
Installation
Requires at least: 2.6
Tested up to: 2.9stable
Stable tag: 2.9
Tracks link clicks from hrefs in posts and pages.
Description
The click tracker works in 2 modes:
1. Scans posts and rewrites them to include a tracking element.
2. Enables users to create stand alone trackable links that can be embedded in posts or offsite.
Features
Automatically converts links in posts, pages and sidebar to allow for tracking.
Extensive reporting area:
- Link Report
- Daily Report
- Admin Widget
Usage
The click tracker works in 2 modes:
1. Scans posts and rewrites them to include a tracking element
2. Enables users to create stand alone trackable links that can be embedded in posts or offsite.
Links should include a title paramater in the href to have the reference name be automatically created. Ex:
<a href=”http://url.com” title=”Link Title”>link copy</a>
Links without a title attribute will have a default name created.
Future Releases
- advanced reporting
- localization
- export data
Changelog
0.7
- Modification: Improved tracking cookie management.
- Modification: Added setting to disable the tracking of internal (same URL) links
- Modification: Changed Configure page to use tab ui
- Bug fix: Fixed ssl (https) => flash issue
- Bug fix: Fixed sidebar.css 404 error
- Bug fix: Added “nowrap” to table template headers
- Bug fix: Fixed Day Pie chart for thousandths
0.6
- Modification: Added Top Clicks Sidebar Widget
- Modification: Added Todays Clicks Sidebar Widget
- Modification: Added Link Search (requires MyISAM table type)
- Modification: Began localization phase
- Modification: Improved admin interface and menu
- Modification: Improved tracking mechanism
- Bug fix: Fixed ‘label’ in Exclude IP field on configure page
- Bug fix: Fixed “self” link tracking/FireFox issue.
- Bug fix: Fixed “https” being ignored during sanity check.
0.5.1
- Modification: Added Miscellaneous Settings (Sarah Mod)
- Modification: Changed admin widget date range to match WordPress.com Stats widget
- Bug fix: Fixed ‘label’ in configure page form
0.5
- Modification: Added ignore IP address for click tracking
- Modification: Added link statistics reset
- Modification: Changed graphs to Open Flash Chart
- Modification: Added additional line chart vectors to display unique clicks
- Modification: Added link parsing of next and prev template tags
- Modification: Added link parsing of categories in posts/pages as well as sidebar widget
- Modification: Added link parsing of tags links template
- Modification: Improved title extraction to reduce No Name Given auto-label
- Modification: Added global history and report page
- Bug fix: Click graph date descrepancy issue
- Bug fix: Added bypass for external links being double tracked when entered in page
- Bug fix: Fixed backwards tracking flags
- Bug fix: Changed admin widget ordering to list most clicked to least click
0.4.2
- Modification: Admin widget links to click admin
0.4.1
- Improvement: Added admin widget
- Bug fix: Fixed “Division by zero” bus
0.4
- Improvement: Added configuration page
- Improvement: Added “Add Link” mod. Admins can create standalone links for placement on external sites.
- Improvement:Added “Edit Link” mod for editing names or stored links.
- Improvement:Enable or disable individual parsing sections
- Improvement:Enable or disable individual parsing sections
- Improvement:Moved google api js call to only fire on click track pages (was slowing down some areas of the admin).
- Bug fix: fixed spelling of days of week
- Bug fix:fixed pathing issue for tracking call (Logan and Gary’s Bug)
- Bug fix:fixed comment body parsing (wasn’t grabbing links)
- Bug fix:fixed memory issues (FINALLY
0.3
- Improvement: Added Indexes on tables for better performance
- Improvement: Updated Install system
- Improvement: Added pie charts for clicks by day and hour
- Bug fix: hour click report formatting
- Bug fix: blank link haunting
- Bug fix: option saving
0.2.1
- Bug fix: include usage of both quotes (“) and single-quotes (‘) for attributes
- added parsing / tracking of Archive links
- added parsing / tracking of Bookmark links
- added parsing / tracking of Comment Author URL links
- fixed option updates
0.2
- Add report area– List of referrers– Clicks by day– Clicks by hour– View individual clicks
- Manage Google Analytics Wordpress Plugin incompatibility
- Add upgrade notification
0.1.1
- Bug fix js Image() issue
0.1
- Initial Release
Bugs
- admin panel doesn’t keep state
- Incompatibility with Google Analytics Wordpress Plugin with Track Outbound enabled
Installation
- Create backup.
- Upload the zip file to the `/wp-content/plugins/` directory
- Unzip
- Activate the plugin through the ‘Plugins’ menu in WordPress
Please let me know any bugs, improvements, comments, suggestions.
Download Click Tracker



Email

Hi !
I installed the plugin on my site.
But the links in posts are not counted, but the plugin is configured to count the posts-links.
Take a look at : http://specialpress.net/demo5/nachrichten/rene-adler-und-jerome-boateng-der-souveran-und-der-debutant/
There are a lot of links (like “FAZ.NET – Homepage”) wihtout the tracking code.
Any ideas ?
Regards
Ralf
Hi Ralf,
I just checked your site and the plugin appears to be working every except on the links you’ve specified. Are those links, by chance, not in the actual post content (body) but added through a plugin or similar?
Also, sorry for the delay; I had a family emergency.
Thanks,
Eric
Hello!
Great plugin! Once I start generating money and counting clicks I will donate!
ONE QUESTION:
how do I list what IPs click what URLs?
Jason
Hi Jason,
When you’re looking at a link, in the admin area, you can see the IP addresses with the total and unique click counts per IP address.
Eric
it’s possible use it outside from post (etc: themes template or widget) ?
Hi Abdul,
Definitely! There’s a stand alone link creator in the administration panel.
Eric
Plugin giving me an issue with proplayer video plugin and flexability theme. It works fine on another theme and with proplayer. I can’t understand why it is giving me this issue. I am hoping you can help me figure this out.
Thanks Eric
Robert
Hi Robert,
That is weird man; can you get me a link so I can take a look?
Thanks,
Eric
‘Ello,
If I understand this correctly I can set up my own tracking codes so that specific links are tracked rather than having the plugin add in it’s own tracking code. How do I go about doing this if this is possible?
I just worked this out, almost straight after posting the question even though I’d spent a good while before hand trying to figure it out.
Something that doesn’t seem to work though is automatically detecting links in my posts and replacing them.
Hi Neil,
Can you post a link to your site? I’m curious why the plugin isn’t parsing the links…
Thanks,
Eric
‘Ello,
I will try and get it online within the next hour as I’m developing the site currently on a local machine. Just thinking about that could developing on a local machine have an effect?
‘Ello,
I’ve put the link to the site online, or what has been developed so far. The link is below most of the links I’ve manually setup on there using your plugin, but it would be much better if this would pickup all the links automatically. There is a link I’ve just added in as a test in the centre of the page and under the title “Why choose M&S Insurance?” If you could help me it would be a great help
http://www.directinsurance.uk.com/wordpress/?page_id=3
Hi Neil,
I was a little confused about your issues man; the plugin does track links automatically. That’s what’s so cool about it
There is no reason to create special click tracked links for posts (and a crapload of other areas too) unless it’s going to be hosted offsite. No, it doesn’t replace links with a tracked link; the system uses JavaScript to handle that so the canonical relationship of the link to source are kept intact (something that the created links don’t do).
Check the HTML source on the “Test” link and you’ll see the onclick event in the href code. I clicked it and confirmed it is tracking; you can verify this in the admin panel of the plugin.
Take a look at the configure page to get an idea of what sections are automatically parsed for links; there’s quite a few areas.
Eric
‘Ello,
I just had a look and it’s working fine, although I tried what you just suggested when it was running on my local machine and it didn’t seem to register the clicks on my local machine, although now it does appear to be doing so. All I can think is I was doing something really weird and stupid and it didn’t work.
Thank you alot for the reply and helping me solve this non-problem.
No worries man; there’s always something when working locally then moving to the host
[...] WP-Click-Tracker [...]
‘Ello,
Been using this Click Tracker for a few days now and the people who manage the sites love it and this it’s great I like it even more as well because it’s so easy to setup.
The only extra feature that I think this could do with is being able to select a date range, so at the moment the reports page shows all the statistics for the current date but being able to select another date or range of dates would be good.
Other than that great work, you’ve helped a lot.
I had to disable the plug-in because my images wouldn’t display. Instead an href with the text onclick= was displayed instead. Any ideas?
Hello,
You have a great plug in here. I recently downloaded it and installed it on my blog ( wp 2.8.6). The problem i have is when i activate the plugin it somehows breaks the CSS of the theme. When i disable it the the blog is back to normal. Any ideas why it does that?
I wrote a “lite” version of this that uses javascript to rewrite the links (Outbound-Click-Tracker). If I had known about your plugin I might not have gone to the trouble. It seems very comprehensive.
Hi Keith,
Thanks man; I’ve been working on it steadily for the last year so I’m glad it’s appealing. I checked out your code and I like how you offloaded the link parsing to the client instead of how I’m doing it with filters and such. Might just have to “borrow” that technique
Don’t stop development on your plugin though. It’d be cool to have some competition to help drive the possibilities. Both plugins are open source after all.
Eric
Eric
I noticed a few comments back that you asked a poster whether their links had been created by a plugin.
Does the click tracker work with links created by reviewazon or phpbay?
Regards
clway
[...] but trust me, you will want the reports from this plugin. You can find out more information from WP Click Track’s description by the author. To install it on your site, go to the Install New Plugins portion in your Wordpress administration [...]
[...] WP-Click-Tracker 0.7 (combien de clics et sur quelques liens) [...]
I get an error message on the ‘list all’ tab
Division by zero in …/plugins/wp-click-track/admin.inc.php on line 417
Any idea?
How do I get it to “scan” my sites and automatically add the tracking link. Also, is there a way to narrow it down so I can see the links clicked on certain pages or posts.
Any help will be great,
Mike