Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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).

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

2 Answers

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.

share|improve this answer
    
Bill beat me back to it :) –  squillman Aug 24 '09 at 19:53
    
:(, I wanted something more user friendly –  igorgue Aug 24 '09 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 '09 at 21:08
    
Or, you could ask on SF for a solution... oh... wait... nvm –  Mark Henderson Aug 24 '09 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 '09 at 21:41
add comment

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.

share|improve this answer
    
Good answer. I hadn't though of using it like that. –  Bill Weiss Aug 24 '09 at 21:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.