Welcome to WebmasterWorld Guest from 54.227.110.209

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Referrer history graph

Need a tool to do this

     

MattJ

4:31 am on Apr 20, 2003 (gmt 0)

10+ Year Member



I'm currently use Webalizer for HTTP log file analysis and it does a great job. There is one thing I miss, however, and I can't find it anywhere on the web. I would like to somehow create a history graph for the month of all queries from a single referrer (say, google.com).

Doing that would allow me to see the how my google searches are going in comparison to the rest of the month. I searched this site for "referrer graph" and didn't find anything and also searched Googs and Usenet.

I am considering writing my own crude parser to do this but I only know C/C++ (no perl :( ) so I imagine it wouldn't be the most fun job in the world. All I really need is to extract the dates of a single referrer from a log file and write them to a comma delmiited file with date and time. Then I can just use a graphing package to do the rest. This is all on the Windows platform.

aspdaddy

10:33 am on Apr 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Shouldnt be difficult in any language really, in c++ you coulkd use a map:


std::map<std::string,int> myMap;
while (! fin.eof() ){
// parse strReferer
myMap[strReferer]++;}

IMO though VB/VBscript would be much easier for this than c++, for the parsing because of the split()function, also date & time and folder/files objects are built in.

MattJ

1:43 pm on Apr 20, 2003 (gmt 0)

10+ Year Member



Thanks for the info.

It wasn't all that hard in the end, stressing over nothing as usual. Here are the results for the sake of interest. The site has been up since the end of February and I started optimizing it a couple of weeks ago.

The graph shows the number of referrers from google per day. Seems to be picking up a bit which is nice. (Please don't laugh at the low values!).

I see there's no way to include an image in a post, I know I've seen it done somewhere on this forum before. [bandwidthcontroller.com]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month