Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Referrer history graph

Need a tool to do this

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

New User

10+ Year Member

joined:Apr 16, 2003
votes: 0

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.

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 13, 2002
votes: 0

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

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.

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

New User

10+ Year Member

joined:Apr 16, 2003
votes: 0

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]


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members