1

Is there a web statistics application that can tell me how many people are hotlinking (or embedding) an image? Google Analytics can't since it needs to render HTML to gather information, so any hotlinked image will not be counted. In other words I need a http based web analytics application (web based is preferred).

5
  • So, in other words, you want to know how many (or which) sites are loading images direct from your site?
    – squillman
    Aug 24, 2009 at 19:15
  • Yep
    – igorgue
    Aug 24, 2009 at 19:28
  • The phrase is "direct linking", not hardlinking.
    – Bill Weiss
    Aug 24, 2009 at 19:51
  • ahh no... its not hardlinking its hotlinking :P or embedded...
    – igorgue
    Aug 24, 2009 at 19:58
  • Is you site hosted or on your own server?
    – squillman
    Aug 24, 2009 at 20:11

2 Answers 2

1

If you've got access logs that contain referrer information, you can just look for hits to those images that have a referrer that isn't your site.

5
  • Bill beat me back to it :)
    – squillman
    Aug 24, 2009 at 19:53
  • :(, I wanted something more user friendly
    – igorgue
    Aug 24, 2009 at 19:59
  • So write something and make it friendly? :) Or, hire someone to hack something together for you that's friendly. I'm sure you could find someone on this site, even cough :)
    – Bill Weiss
    Aug 24, 2009 at 21:08
  • Or, you could ask on SF for a solution... oh... wait... nvm Aug 24, 2009 at 21:23
  • I think that something like this is going to be highly site-specific. On previous looks for a program to do it, I haven't found anything, and have ended up going with grep to solve it.
    – Bill Weiss
    Aug 24, 2009 at 21:41
1

If you have access to install stuff on the machine, AWStats can give you what you need. You can either install it on the live server and have it run under CGI, regularly parsing the log files, or, grab the log files into your local machine and just run it there.

What you're looking for are referrers linking to static files, like JPG, PNG and GIF files. You can set up awstats to only index these extensions, and then any referrers it finds are people hotlinking your files.

1
  • Good answer. I hadn't though of using it like that.
    – Bill Weiss
    Aug 24, 2009 at 21:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .