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).
-
So, in other words, you want to know how many (or which) sites are loading images direct from your site?– squillmanAug 24, 2009 at 19:15
-
Yep– igorgueAug 24, 2009 at 19:28
-
The phrase is "direct linking", not hardlinking.– Bill WeissAug 24, 2009 at 19:51
-
ahh no... its not hardlinking its hotlinking :P or embedded...– igorgueAug 24, 2009 at 19:58
-
Is you site hosted or on your own server?– squillmanAug 24, 2009 at 20:11
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.
-
-
-
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 :) Aug 24, 2009 at 21:08
-
-
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. Aug 24, 2009 at 21:41
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.