Made of Everything You're Not

Professional(?!?!) blog of Eric Lamb.
  • Home
  • Projects
  • Portfolio
  • Resume

WP-Click-Track

NOTE THAT THIS IS UNSUPPORTED!

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.

Click Tracker Admin

Click Tracker Admin


Features

Automatically converts links in posts, pages and sidebar to allow for tracking.
Extensive reporting area:

  • Link Report
    Link Report

    Link Report

  • Daily Report
    Daily Report

    Daily Report

  • Admin Widget
    Admin Widget

    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

  1. Create backup.
  2. Upload the zip file to the `/wp-content/plugins/` directory
  3. Unzip
  4. Activate the plugin through the ‘Plugins’ menu in WordPress

Please let me know any bugs, improvements, comments, suggestions.
Download Click Tracker

Bookmark and Share

270 Comments

  1. Eric Lamb says:
    June 2, 2009 at 3:29 pm

    Hi Andy

    WP-Click-Track doesn’t do this by default; it tracks all links equally and there is no differentiation between visitor clicks and member clicks.

    I’d imagine this would be a simple mod but I’ve never done any work with the user system of wordpress so I don’t know for sure. I will look into though.

    Sorry, but I don’t know of any plugin like this one; which is why I wrote it :)

    Eric

  2. Voya says:
    June 4, 2009 at 7:40 am

    Just as a suggestion

    - Add option which will enable the links not to be tracked when someone is logged in. I believe the tracking will be made better. Anyways, a great plugin.

    Cheers,
    Voya

  3. Kai Wang says:
    June 4, 2009 at 5:50 pm

    Hello there,

    Very awesome plugin. Thank you very much.
    I just installed the plugin and added some links. When I clicked on “List Links”, I’m prompted with this warning message:

    Warning: Division by zero in /homepages/19/d272381798/htdocs/wp-content/plugins/wp-click-track/admin.inc.php on line 740
    No Links Found

    I was also prompted with a message saying that I have Google Analytics plugin for WP and was told to disable it. I don’t have that plugin but click “disable” regardless.

    I would like to know if there’s something I did wrong and how I can get it to work.

    Thank you,
    Kai

  4. Eric Lamb says:
    June 5, 2009 at 2:42 pm

    Hi Kai,

    It looks like you are might be using an older version of the plugin (this is an old/resolved issue) or you upgraded recently (which your post didn’t sound like).

    In either case, you should be able to just go to the click track settings (in your WP admin) and set the defaults under Admin Limits.

    Sorry for the issues man.

    Eric

  5. uzoma says:
    June 11, 2009 at 10:46 am

    good to see your plugin, hope it works and will be ideal for web users like me, I hope this will enable me track users to my website

  6. Blondie says:
    June 15, 2009 at 1:42 am

    I am having a problem with the plugin, is it possible to delete a link that you have created yourself? I can’t seem to find a delete button…

  7. Eric Lamb says:
    June 15, 2009 at 8:33 am

    Blondie,

    I didn’t build that in just yet; there didn’t seem to be much use for it since the tracked links are created automatically once they are clicked on.

    Since it’s now possible to create standalone links the system should allow the deletion though. This feature will be in the next release, 0.5, which I’m currently working on. It should be out by the end of the month (early July at the latest).

    Eric

  8. Blondie says:
    June 15, 2009 at 8:35 am

    Coolness nice to see that the plugin is under development :)

  9. Carlo says:
    June 22, 2009 at 2:13 am

    Hi Eric
    I’ve tried your fantastic plugin, but in WordPress 2.8 there is a problem: it won’t work.

    Plugin could not be activated because it triggered a fatal error.
    … plugins\wp-click-track\click-tracker.php on line 728

    Is it update to WordPress 2.8 ?
    Bye!

  10. Eric Lamb says:
    June 22, 2009 at 9:35 am

    Hi Carlo,

    That’s weird man; I just installed the plugin on a 2.8 install and it activated fine. Can you confirm you’ve installed the latest version (0.4.2)? If you installed through the WP plugin manager you should…

    Eric

  11. Carlo says:
    June 22, 2009 at 11:45 am

    Hi Eric,
    thanks for your response, I confirm latest version 0.4.2, I’ve tried to install via WP plugin manager and direct upload. The WP installation was made on localhost WAMP on Windows Vista, this can be a problem?

  12. Eric Lamb says:
    June 22, 2009 at 12:23 pm

    Carlo,

    I don’t think WAMP would be a problem; I’ve tested the tracker on both IIS7, Apache 2 and Lighttpd and all came through good.

    Can you confirm you have “short_open_tag” set to true in the php.ini? This is a bug that’s fixed in the upcoming 0.5 release but, off the top of my head, this setting being disabled could be the issue.

    Your issue is odd because click-tracker.php only contains 727 lines but your error is on line 728…

    Eric

  13. Carlo says:
    June 22, 2009 at 9:47 pm

    HI Eric,
    short_open_tag was the problem, it was setting on Off, when I put to On and restart WAMPServer, the plugin was activated fine… now all seems to work perfectly! Soon I will write a review on this amazing plugin, on my blog.

    Thanks. Best regards

    • Eric Lamb says:
      June 22, 2009 at 10:15 pm

      Good news Carlo. Pity I didn’t think of that problem until recently. I hope no one else has experienced that issue…

  14. Alex says:
    June 23, 2009 at 10:21 am

    Hello Eric.

    Thanks for the plugin. It is truly awesome.

    I have a problem though and I was wondering if you can help. I installed the plugin, but I don’t see any tracking code on the links. I have plenty of links on my blog. Some are with title, some without. But it installed the tracking code on just two links out of many. Take a look: http://www.alexonlinux.com/ram-content-lost-after-shutdown-not-exactly
    The only two links that has tracking code on them are links to “Interesting blogs” on the sidebar. But these are by far not the only links on the page. Some, link menu links, have title. What’s wrong?

    Thanks!
    Alex.

    • Eric Lamb says:
      June 23, 2009 at 10:42 am

      In version 0.4.2 the tracking is mostly relegated to the links in the posts, comments and a couple of the widgets.

      I checked the source and there is tracking code on the two links in the post you linked. I clicked on both of them; can you confirm the link was recorded?

      I will be releasing 0.5 in the next couple days which adds tracking to nearly everything so you should have full coverage soon.

      Eric

      • Alex says:
        June 23, 2009 at 10:58 am

        You’re right. I can see the clicks. Sorry about that. I guess I expected too much too early. I’ll be expecting 0.5.
        In the meantime, I spotted one more thing that may concern you. If you take a look at the front page of the website – http://www.alexonlinux.com. Open its source and check out line 319:

        This article explains how to implement performance critical reference counting in C/C++ program, using atomic variables and gcc. Enjoy it.
        Read the article here.

        This is seems to be broken. Am I right?

      • Alex says:
        June 23, 2009 at 10:59 am

        Oh, sorry for flooding. I forgot that WP understands html in comments per se. Please take a look at the html of my previous comment to see what I mean.

        • Eric Lamb says:
          June 23, 2009 at 3:39 pm

          Wow! That link is just plain WRONG man; my condolences.

          Can you post the raw HTML (or email it to me) so I can see what the original looks like?

          I’m thinking the format of the link is screwing with the parser in some unanticipated way.

          Thanks,
          Eric

          • Alex says:
            June 24, 2009 at 12:15 am

            Done.

  15. Alex says:
    June 24, 2009 at 4:20 am

    While we’re working to resolve an issue I reported earlier, I’d like to ask you to implement two features that I think may be very useful.

    1. At the moment, the plug-in takes the name of the link from ‘title’ element of the ‘a’ tag. I suggest that the name should come from the link text itself. At least on my blog, most of the links has no title. This leaves them anonymous. Because of that it is very difficult to find out where each link points to.

    2. I’d like to know how many times visitors has clicked on certain link that appears on different pages. For instance, I may be promoting a content with a link on the sidebar. In this case, I’d like to know how many people clicked on that promotion link, not from each URL, but overall.

    I have some ideas how to implement both of these. If you’d like to hear, let me know and I’ll email you.

    Thanks.

    • Eric Lamb says:
      June 24, 2009 at 8:55 am

      Hi Alex,

      Item 1 is in the upcoming 0.5 release. I noticed that a lot of people weren’t using title tags (though you REALLY should) so it was a definite issue.

      I’m not clear on what you have in mind for item 2. Can you elaborate?

      Thanks for the advice,
      Eric

      • Alex says:
        June 24, 2009 at 10:05 am

        Lets say I have a blog with three posts and a page called ‘subscribe’. I placed a link to subscribe page on the sidebar and it appears on each and every blog post (this is not something hypothetical – I did it on my blog).

        I’d like to be able to track clicks on subscribe link not only from each post, but also the overall number of clicks. I.e. I would like to know how many clicks occurred from post 1 and also, I would like to know how many overall clicks occurred.

        Tracking clicks from single post will allow me to see how that particular post good at redirecting traffic to subscribe page. Tracking overall clicks will allow me to track how good the overall campaign.

        • Eric Lamb says:
          June 24, 2009 at 10:16 am

          Alex,

          I think you’re looking for the referrer list.

          When you’re looking at an individual link in the reporting you get a list of how many clicks came from individual URLs. This allows you to correlate the link to different locations. Right now it doesn’t list the actual blog page but that could be something for a future release.

          Does that help?

          Eric

          • Alex says:
            June 24, 2009 at 10:43 am

            Yes, I think this is more or less what I was looking for. I guess I’ll have to become more experienced with the plug-in though :-)

          • Alex says:
            June 24, 2009 at 10:44 am

            Thanks.

  16. kuld33p says:
    June 25, 2009 at 2:11 am

    Its really a nice post. I appreciate your efforts.

  17. Jacob Share says:
    June 28, 2009 at 10:28 pm

    Sounds like a plugin I’d enjoy using, but I have some questions:

    Is it compatible with WPMU?

    Does it have an uninstall feature that will remove all the tracking elements one by one and the database tables?

    Does it work with WP Super Cache and other caching plugins?

    • Eric Lamb says:
      June 29, 2009 at 8:24 am

      I haven’t tested the plugin against WPMU so I’m not really sure what issues could come up (I would think there wouldn’t be any). If you try would you please let me know how it goes?

      It’s funny you ask about the uninstall; it used to remove all the tables when uninstalled. Now, it doesn’t because when you upgrade a plugin, WordPress first uninstalls it so users lost data when upgrading.

      The plugin does work with WP Super Cache and I can’t imagine why it wouldn’t work with other caching plugins.

      • Jacob Share says:
        June 29, 2009 at 8:56 am

        The main compatibility issue with WPMU is the database naming convention is different. If your plugin assumes any part of the database prefix, it’s not compatible for now.

        I don’t get what you said about the plugin upgrades; if I understood correctly, that would mean you lose your data with every upgrade.

        Regarding the uninstall, I actually care less about removing your db tables (that can be done manually), but I wouldn’t want to have to remove the tracking elements one by one by hand. Any plans for an uninstall mechanism to do those deletions automatically?

        • Eric Lamb says:
          June 29, 2009 at 10:15 am

          The plugin uses the “$wpdb->prefix” variable for table prefixes so you should be good on that. No hard coded prefixes here.

          You’re correct about the plugin upgrades. Previously, for one version only, the upgrade dropped the tables. This wasn’t good, since users lost all the history, but that has since been fixed. Now you have to manually remove the tables.

          The tracking mechanism is dynamically added on the page view side so the tracking element isn’t there until someone is looking at the post. The tracking is only added and never saved. There is nothing to remove; by hand or otherwise.

  18. Sarah @ Unplug Your Kids says:
    July 1, 2009 at 5:23 pm

    Hi Eric,

    I hope I am not just overlooking something obvious, but two days ago I installed version 0.5 (on WP v. 2.8) and I have no clicks recorded (I know there have been clicks). If I check the “list links” it says there are no links. There are TONS of links on my blog, both in posts, as well as sidebars, pages and such. Is there something else I need to do to get it to “see” the links? Thanks for the help and the plugin is amazing (or will be once I get it going!).

    Best,
    Sarah

    • Eric Lamb says:
      July 2, 2009 at 10:07 am

      Hi Sarah,

      Sorry for the delay in getting back to you; I’m just slammed with work right now.

      I’ve taken a look at your site and it looks like your blog is a little misconfigured (I think). The click tracker uses the settings data to determine the URL for the tracking “ping” and it looks like yours is wrong.

      Your site is:
      http://www.unplugyourkids.com/

      But your “siteurl” value is set to:
      http://www.unplugyourkids.com/blog

      It should be:
      http://www.unplugyourkids.com/

      You can change this under Settings->General in the WordPress admin.

      Please let me know if you have any further issues.

      Eric

      • Sarah @ Unplug Your Kids says:
        July 2, 2009 at 12:18 pm

        Thanks for the help Eric. I guess this is going to require moving some WordPress files around to avoid messing things up. I have the WP files in one directory and the blog in another hence the two different URLs. This is more than I can manage at the moment, but I’ll do it when I’ve got some time.

        Alternatively, is there any way I can specify “www.unplugyourkids.com/blog” instead as the address for Click Tracker to find links? This might be easier (and safer!) than trying to move my whole blog contents. Thanks again for the help!

        ~Sarah

        • Eric Lamb says:
          July 2, 2009 at 3:56 pm

          Hi Sarah,

          I have updated the plugin to allow the over-ride for the siteurl system variable for the click tracker.

          First, update your plugin to the latest 0.5.1 version
          Next, go to the Configure page and at the bottom is a text field for entering the correct URL.

          Be careful to enter a proper URL (http://yourwebsite.com); the system doesn’t validate it (yet) so it’ll accept anything.

          Let me know if you have any other needs/requests.

          Eric

  19. DL says:
    July 2, 2009 at 9:49 am

    Hi Eric,
    I have the same problem as Sarah. I am looking forward to hearing what I can do to fix it :) and then begin using it because it sounds like a great plugin! Thank you!!
    DL

    • Eric Lamb says:
      July 2, 2009 at 10:08 am

      DL,

      You didn’t put a link to your site so I couldn’t take a look. Can you please send me a link so I can troubleshoot?

      You also might want to take a look at Sarah’s issue and check you’re not set up the same way.

      Eric

      • DL says:
        July 2, 2009 at 4:09 pm

        Hi,
        I just checked my settings and the url is matching in my general settings so, I am not sure that is the problem. Thanks for checking for me :)

        • Eric Lamb says:
          July 2, 2009 at 4:24 pm

          DL,

          I went to your site and I can’t find any evidence the plugin is activated. I have confirmed the files are on your server but there’s nothing in your site’s HTML (there should be some javascript in there).

          Can you confirm the plugin is activated? Also, what version of php and WordPress are you using?

          Thanks,
          Eric

  20. DL says:
    July 2, 2009 at 4:30 pm

    WP 8.1 and PHP 5.2.6 I just reactivated the plugin after updating it to version 0.5.1

  21. Eric Lamb says:
    July 2, 2009 at 4:42 pm

    WP 8.1? The latest out is 2.8; can you please confirm this?

    I just went to your site and clicked on a couple links and have verified the site is placing the tracking cookie. Can you confirm this in your click tracker reporting?

    Also, you might want to clear your sites cache. The tracking code isn’t on a few of the pages but this is more than likely due to the cache.

    • DL says:
      July 2, 2009 at 4:48 pm

      Eric,
      I am sorry it is 2.8 I am so use to being 2.7.1 :) I just cleared the cache and it seems that
      The click tracker graph isn’t showing up any clicks :( but I do see that their were links clicked which seems to be working now. :) Does the graph only update every so often or is there something I can do to make it work? Thank you so much for your help in this!!!
      DL

  22. Eric Lamb says:
    July 2, 2009 at 5:07 pm

    The graphs are generated in real-time but on the first day it’ll be tough to notice a difference unless there are a ton of links. Give it about a day and hit me up if you’re not seeing any difference.

    • DL says:
      July 2, 2009 at 5:09 pm

      Ok will do! Thanks! I’ll actually let it run til Monday since it’s a holiday weekend starting tomorrow. So I will let you know then. Thanks for your help Can’t wait to see how this works out for me!
      DL :)

  23. Dave C says:
    July 3, 2009 at 8:04 am

    I’ve never been able to make this work properly as there seems to be a memory issue.

    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 48016622 bytes) in t\wp-content\plugins\wp-click-track\click-tracker.php on line 159

    I’ve set my php.ini to absurd amounts of memory and it still happens.

    URL is here: http://www.tiredofit.ca/index.php/equipment/

  24. Carl W says:
    July 3, 2009 at 11:59 am

    Create plugin fits a gap in the WordPress.com stats.

    Any chance of the wordpress site address, eg. http://fred.com/ being removed from the display of the destination link and the destination link being displayed to be longer? I have long links on my site and the important bit is too far right to be displayed.

    Thanks.

  25. Miguel says:
    July 6, 2009 at 1:40 am

    Hi!

    I’ve installed and activated WP-Click-Tracker 0.5.1 on my WP 2.8 blog but the plugin doesn’t seem to be tracking anything… :-(

    Any ideas why this may be happening? I know that people are accessing the blog.

    Thanks!

    • Eric Lamb says:
      July 6, 2009 at 6:38 am

      What’s the URL to the site?

  26. Miguel says:
    July 6, 2009 at 7:04 am

    Hi Eric!

    The URL is: http://www.EuroMoneyBack.com/blog

    • Eric Lamb says:
      July 6, 2009 at 8:52 am

      Odd; when I click on a link it’s adding a tracking cookie… it looks like it’s working. Can you take a look at the stats and see if it recorded a couple clicks on 2 different links?

  27. Alyse says:
    July 10, 2009 at 5:43 pm

    I tried to install this on my site – sporkfashion.com – via the auto-install option. My website no longer loads! I am running WordPress 2.7. I tried deleting the plugin file, which usually does the trick – this time it didn’t. Any suggestions?

    • Eric Lamb says:
      July 10, 2009 at 7:54 pm

      Alyse,

      I went to the site but it looks like it’s back up. What was the issue?

      Eric

  28. Paul says:
    July 14, 2009 at 6:06 am

    Hi,

    Fantastic looking plugin! looks good, offers a lot, only I get this error message below, any ideas Eric?

    Warning: setcookie() expects at most 6 parameters, 7 given in /home/sites/MYSITE.co.uk/public_html/wp-content/plugins/wp-click-track/click-tracker.php on line 289

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/MYSITE.co.uk/public_html/wp-content/plugins/wp-click-track/click-tracker.php:289) in /home/sites/MYSITE..co.uk/public_html/wp-content/plugins/wp-click-track/click-tracker.php on line 301

    • Eric Lamb says:
      July 14, 2009 at 8:19 am

      Hi Paul,

      The problem is because of php4; the click tracker only works with php5. It’s doing some security things that php4 doesn’t have support for…

      If you’re not faint of heart around code you can easily fix this issue by opening up the file mentioned above (/home/sites/MYSITE.co.uk/public_html/wp-content/plugins/wp-click-track/click-tracker.php) and editing line 289 so it looks like:
      setcookie("el_$link_id", $link_id, time()+86400, SITECOOKIEPATH, COOKIE_DOMAIN, false);

      instead of

      setcookie("el_$link_id", $link_id, time()+86400, SITECOOKIEPATH, COOKIE_DOMAIN, false, true);

      Sorry for the issue. you should totally have your host upgrade your server though; php4 is WAY old and php5 just adds too much value in security and functionality. A LOT of cool code is being written for php5…

      • Paul says:
        July 15, 2009 at 4:48 am

        Thanks!

        When you mentioned PHP4, I thought of a fix,

        SetEnv DEFAULT_PHP_VERSION 5

        added that into a .htaccess file so I dont have to mess with your aweseome code, script and plugin!

        Thanks eric, all works perfect now!

  29. Coco says:
    July 22, 2009 at 9:14 pm

    Hi Eric, it’s possible to include the output of the tracking to the blog page for visitors to view it? Basically I’m looking for a way to display the top 5 (or 10) outside links. Is that possible? If so, what do I need to do?

    Thanx in advance :)

    • Eric Lamb says:
      July 24, 2009 at 8:35 am

      Right now there isn’t a way to that; all the data is kept behind the admin wall.

      Can you give an example of how you want the “widget” to function? Sounds like it might be a good mod.

      Eric

      • Coco says:
        July 24, 2009 at 11:53 am

        Hi Eric, what I mean is basically what you could call a “top list”. I’m doing this for a client and I’m developing this theme using WP as a CMS. My client wants to display what people is clicking, like a top list of products. I managed a very dirty solution by defining for each store a new page, adding custom fields, and those pages would redirect to the store itself, so I can use a “Top Pages” top list. Of course, in this case, where there are only 7 stores it’s a viable (and again dirty) solution, but if he had many outisde stores it would be impossible to manage. Dunno if this makes sense, as you may see my English is pretty poor.

        • Eric Lamb says:
          July 24, 2009 at 1:27 pm

          Are you thinking of a sidebar widget? That would be pretty easy to do and it’s something I’ve been thinking about for a while (a few people have asked for that).

          If you’re wanting to put the data into a page it gets a little more complicated I’m afraid. If you just need to get something going for a client you could should just query the table directly.

          Take a look at the database for your wordpress install and look for a table called “tracking_links”. Each link contains a reference count for total and unique clicks. It should be trivial to figure the rest out.

        • Coco says:
          July 24, 2009 at 2:10 pm

          Yes, I mean a sidebar widget. When I searched for it, the only thing I could find was http://planetozh.com/blog/2004/09/click-counter-plugin-for-wordpress/ which isn’t working in 2.8 and it’s really buggy in 2.7. I found quite strange that this kind of plugin doesn’t exist since it’s a pretty common feature in many non-WP sites. Anyway, I already delivered the theme so it’s not big deal for me right now, so just take it as a suggestion for further releases.

          Either way, many thanx for the time to reply my questions, really appreciated :)

  30. Eddie says:
    July 23, 2009 at 2:36 am

    Hi Eric,

    is it possible to see impressions vs. clicks of a particular link in the stats?

    Thanks,
    Eddie

    • Eric Lamb says:
      July 24, 2009 at 8:36 am

      What do you mean by “impressions”? How many times it’s been viewed?

      • Eddie says:
        July 26, 2009 at 11:49 am

        Yes.

        I would like to use the plugin for trying to maximize click-throughs on certain articles. So it would be helpful to see how often a specific link was clicked in dependency of how often it “appeared”.

        Thanks for your work, it’s a great plugin.

        Eddie

  31. Nuno says:
    July 24, 2009 at 5:28 am

    Hi ,
    i have just installed the WP-Click-Tracker 0.5.1

    I could not see any track and monitoring regarding the links i have inserted to track.

    Am i doing something wrong? I have 80 unique visits to my blog , it’s a litle bit strange i can’t see any movements.

    Can you help me?

    Thanks
    Nuno

  32. Eric Lamb says:
    July 24, 2009 at 8:44 am

    Nuno,

    It looks like you have the google analytics plugin installed and set to track external links. This should be disabled in order to use wp-click-tracker instead.

    eric

  33. francesco says:
    July 27, 2009 at 8:12 am

    Hi I’m francesco, I install you plugin on my site but the list os links is empty…where is the problem for you?
    the site is http://www.endurodoc.net

  34. sky™ says:
    August 8, 2009 at 1:30 am

    hi there, great plugin :)

    Just want to propose another function,

    how about if we have some public page where user can view the statistics ?

    I mean, if user sign up an advertisement slot in our blog so they can track their advertisement performance.

    thanks

    • Eric Lamb says:
      August 8, 2009 at 1:38 pm

      Thanks for the suggestion Sky; I’ll think about it. Though, to be honest, it was never a goal of wp-click-track to be used as an ad manager. If more people want it I’m down though.

      In the upcoming 0.6 release I will be including a feature for a sidebar widget to display today’s clicks and the top links in a sidebar widget.

      • sky™ says:
        August 9, 2009 at 7:10 am

        thanks for considering my suggestion :)

        anyone want this function ? heh =)

        its good to have sidebar widget so it can be act something like popular post/page

  35. yoshiaki says:
    August 9, 2009 at 2:34 pm

    Hi. Elick.

    /wp-content/plugins/wp-click-track/reporting.php
    has some hard coding.

    s/wp_tracking_clicks/$wpdb->prefix.”tracking_clicks”/g
    s/wp_tracking_links/$wpdb->prefix.”tracking_links”/g

    • Eric Lamb says:
      August 12, 2009 at 11:09 pm

      Thanks; I’ve cleaned that up for the 0.6 release.

      :)

  36. Chris says:
    August 11, 2009 at 9:38 pm

    Eric

    I’ve installed click track on a few of my sites, all with good traffic, but am getting no reporting data on any of them.

    I am using the phpBay plugin on the site amongst others.

    If you get time, take a look to see if you can help.

    Thanks

    Chris

    • Eric Lamb says:
      August 12, 2009 at 10:51 am

      Hi Chris,

      Oddly, your site isn’t placing any cookies… not a single one. WP should have set something on it’s own but since it doesn’t I’m at a loss.

      The plugin also doesn’t seem to be hitting the tracking function even when hitting the tracking mechanism directly. Is your blog setup using anything custom? Pathing maybe? Does the WP code sit directly in the site root?

      Can you provide what other plugins you’re using as well as the version of WP you’re using?

      Sorry for the issues man,
      Eric

  37. Chris says:
    August 12, 2009 at 3:30 pm

    The list:

    Caffeinated Content for WordPress
    Clear duplicate posts plugin
    Flexi Pages Widget
    Full Text Feed
    Google XML Sitemaps
    My Page Order
    Ozh’ Admin Drop Down Menu
    phpBay Format Auction Titles Plugin
    phpBay Pro Plugin for WordPress
    StatPress
    Tabbed Widgets

    Was 2.8.3, now 2.8.4

    Any thoughts

    Chris

    • Eric Lamb says:
      August 12, 2009 at 4:51 pm

      OK; none of those should affect the plugin. Thanks though.

      After digging into the issue a little more closely I noticed that your server is sending back a 403/Forbidden error on the tracking mechanism. Is your server using any special settings or programs that might be intercepting the request?

      It’s weird because all the tracker does is send a POST to a specific URL; your URL looked was:
      –start–
      http://trekbikesandframes.com/?wp_click_tracked=http%3A%2F%2Ftrekbikesandframes.com%2F2008%2F12%2F***December+2008***
      –stop–

      I’ve never ran into this error before (with the plugin) so any info you can give would be appreciated.

      Thanks,
      Eric

  38. Chris says:
    August 12, 2009 at 10:42 pm

    Eric

    As far as I know there are no special settings on the servers. The domains are hosted across a number of servers/hosting co’s. The only setting which I believe is out of the norm is within the phpBay plugin which uses a mod rewrite on the .htaccess and also a geo ip plugin/hack on that plugin.

    My apologies for the lack of information – I believe the success of wordpress is partly down to the utilization of plugins which allows people like me to be able to do stuff with their sites which only people like yourself would normally be able to do.

    If you can figure out why the plugin is getting stuck, great. If not, no biggie – I will have to use another method to track the clicks.

    Thanks

    Chris

  39. dede says:
    August 13, 2009 at 11:00 am

    eric,

    i just want to ask why in my website the graphics of recent, click by hour and history not showing? but the Top Referrers and individual click no problem. the only problem is the graphics not showing. i’m using v 0.5.1

    note: i hope u understand what i mean. my english is not so good. thx eric

    • Eric Lamb says:
      August 13, 2009 at 11:25 am

      Hi Dede,

      It was recently pointed out to me that there was a little “hard coding” done on the graphs. If your database prefix isn’t “wp_” you’re going to have a problem.

      I updated the plugin repository with a fixed version in case this was your issue. Let me know if you’re still having issues.

      Eric

      • dede says:
        August 13, 2009 at 9:50 pm

        hi eric,

        ok thx for the clue, now i can make the graphs show.

  40. Chris says:
    August 14, 2009 at 10:52 pm

    Eric

    How do I undo the hack that the plugin performs when it configures the db after the initial installation. Though I am sure that it has no detrimental effect, there is no point in me leaving my wp installation with a hack on it even though the plug in has been uninstalled. FWIW, there has been a few clicks logged on a couple of domains though nowhere near the actual number of clicks.

    Chris

    • Eric Lamb says:
      August 17, 2009 at 11:30 am

      Hi Chris,

      The data hack only applies to the plugin; it doesn’t do anything to the WordPress core.

      The hack is to fix an oversite in earlier versions of the plugin; if you’ve already uninstalled the plugin you’ll be fine.

      Eric

      • Chris says:
        August 17, 2009 at 12:45 pm

        Thanks for your reply

        Chris

  41. Kim says:
    August 19, 2009 at 12:39 pm

    Hello, your plug in looks really good but I’m not sure I’ve installed it properly.

    In the section where it says
    add links’ I have pasted ‘Download WP-Click-Tracker’ simply because that’s what your example says.

    In the next box I pasted ‘www.markrileymedia.com’

    Is this correct? When should data begin showing up?

    Then…what am I supposed to do in the configure box? I don’t understand about the parsing.

    Thanks so much

    • Eric Lamb says:
      August 19, 2009 at 12:44 pm

      Hi Kim,

      The plugin works passively out of the box; you don’t have to do anything but install it and you’re good to go.

      The configure page is only really useful if you want to fine tune how it works and what links it will track. Out of the box the tracker parses all available areas for links and tracks them whenever they are clicked.

      To test your site just click on any link in the body of a post; you should see it show up in the admin. I did and have confirmed that the cookie gets placed so it looks like it’s working as it should.

      What you were trying to do will create a stand alone link so you can place it on an external website.

      Let me know if you have any more questions.

      You need to

      • Kim says:
        August 19, 2009 at 1:25 pm

        Eric, based on your prompt reply and the ease and beauty of this plugin, I’d say A+.
        Thank you so much. This is a huge relief.
        Kim

  42. Eddie says:
    August 19, 2009 at 9:35 pm

    Eric, thanks for the great update, it is working fine so far.

    The only curious issue I have is that after the update suddenly a link showed up that I haven’t added myself:

    Title: \” title \”
    Destination: \” link \”

    The worst thing is that somebody seems to be clicking on it, I already have 3 unique clicks! But I can’t find that link on the blog.

    Thanks,
    Eddie

    • Eric Lamb says:
      August 20, 2009 at 8:58 am

      Hi Eddie,

      That’s a weird issue man; can you send me the link to your site so I can take a look?

      Thanks,
      Eric

      • Eddie says:
        August 20, 2009 at 9:24 am

        Thanks Eric, my site is http://lovesagame.com.

      • Eddie says:
        August 20, 2009 at 9:04 pm

        Eric, how can I delete this weird link from the configuration page?

  43. Dave C says:
    August 20, 2009 at 9:47 am

    .6 is working on my website now and I’m starting to get “Clickable Links” but no registered clicks yet. It’s also not exhausting all the memory as it was in the past. This is a good thing!

    • Eric Lamb says:
      August 20, 2009 at 10:00 am

      Hi Dave,

      Thanks for the kind words; I’m glad the plugin is working for you now. I went to your site and clicked on a link and verified the tracking cookie was set. The link should show up in your admin now :)

      Eric

  44. rancidmeat says:
    August 20, 2009 at 3:53 pm

    Hiya,

    Apache returns 404 on a css file >
    File does not exist: ../wp-content/plugins/wp-click-track/wp_click_track_sidebar.css

    I did automagick update and also manually downloaded the current .zip posted. No CSS :(

    # grep .css *
    widget.inc.php: echo “\n\n\n”;
    # updatedb
    # locate wp_click_ track_sidebar.css
    — cold silence –

    Please do uploads css if you could

    Many thanks!

  45. kikko088 says:
    September 7, 2009 at 12:09 am

    Hi also with this version the plugin not work, :( in the link list I don’t see any links. Where is the problem for you?

    the site is http://www.endurodoc.net
    kikko088

  46. Andrew says:
    September 19, 2009 at 3:20 am

    Hi Does this plugin basically act the same way as google analytics? I am loking for something that tracks outbound links
    Thanks
    Andrew

    • Eric Lamb says:
      September 19, 2009 at 5:37 am

      Hi Andrew,

      Yup, it’s similar to google analytics but it actually works all the time instead of sometimes (like google’s click tracking).

      Give it a shot; I’m sure you’ll be pleased.

      Eric

  47. Spewf says:
    September 24, 2009 at 10:05 pm

    The reason I want this plugin is so I can see what links are being clicked outbound. Is there anyway so the plugin won’t refer to links within the site?

    • Eric Lamb says:
      September 24, 2009 at 10:14 pm

      Hi Spewf,

      Sort of.

      You can configure WP-Click-Track to only track links in posts. Just go to the configure page and under the Parse Setting section uncheck the below:
      Archive Widget
      Next / Prev
      Footer Tags
      Category Links

      This will still leave links pointing internally that are in the Posts, Meta, Excerpt and Comment Body to be tracked though.

      It makes sense that there should be some way to disable certain links from being tracked though; I’ll think about adding that functionality to the next release of the plugin.

      Eric

      • Spewf says:
        September 24, 2009 at 10:18 pm

        Yeah I use “Shutter” so everytime an image is clicked it counts on the list. It would be cool if there was a way to ignore a url so then I would ignore my website. Hopefully your next release does have this.

        Thanks anyway.

        Kevin

  48. cam says:
    September 29, 2009 at 7:37 am

    This plug-in is not working for me. [WP2.7.1.][ WP-Click-Tracker 0.6] there is just nothing happening. I am using google analytics but not as a plug-in just the code snippet. I have played around but just not getting anything from it.

  49. Ralf Fuhrmann says:
    October 8, 2009 at 1:40 pm

    Hi !

    Is there a function to convert only one link ?
    I have a theme where a lot of links are set outsite the post.
    Also this links should be tracked.

    Regards
    Ralf

    • Eric Lamb says:
      October 8, 2009 at 2:25 pm

      Hi Ralf,

      Yes, it is possible to create a single, tracked, link. In the plugin menu just click on Add Link.

      You’ll get a stand alone trackable link ready for insertion on any website.

      Eric

      • Ralf Fuhrmann says:
        October 8, 2009 at 11:59 pm

        Hi !

        Thank you for your answer.
        But i mean a function that i could use in my theme.

        The problem :
        In my theme i build a lot of links to external sites (i import and display news-feeds).
        This links are not tracked.
        Now i need a function to make this links trackable.
        e.g.
        In my theme i have : a herf=blabla

        Regards
        Ralf

  50. AZ says:
    October 10, 2009 at 10:48 am

    Hi Eric,

    The tracking code seems to wrap around the links on my website, however, the plugin is not tracking clicks in the admin. Please advise!

    Thanks and looking forward to using this.

  51. « Older Comments
    Newer Comments »
  • Subscribe: Entries | Comments
  • About Me

    Email Email
    Twitter Twitter
    310.739.3322
  • Categories

    • Brain Dump
    • Business
    • Code
    • IT
    • Programming
    • Rant
    • Servers
  • Archives

    • October 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008

Copyright © 2008 - 2012 Eric Lamb - All rights reserved