Google Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsGoogleGoogle Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old March 4th, 2003, 05:25 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 6
Google Tracker for ASP

Darrin inspired me to write a google tracker for ASP, since I couldn't get the perl to work at my host. Anyone have a need for this or have any feature requests? Currently it just tracks the type of bot (fresh or deep crawl) and the time of the visit, and displays the results in the list. Right now I'm storing the visits in SQL serverver, but could easily adapt it to MS Access or write to a text file.

Also, I'm brand new to seo, and have yet to catch a live freshbot at my site.. What do I do with it once I catch it?

Thanks for the great forum!

Christopher
__________________
commercehelper.com

Reply With Quote
  #2  
Old March 4th, 2003, 06:04 PM
digitalirony's Avatar
digitalirony digitalirony is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: London
Posts: 122 digitalirony User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
have yet to catch a live freshbot at my site.. What do I do with it once I catch it?

If you catch a live freshbot, weight it, take a photo, and release it so that it can visit other sites (and tell its friends about yours). If your really lucky, the big mama - deepbot - will come along to see what all the fuss has been about

Reply With Quote
  #3  
Old March 4th, 2003, 06:08 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 6
Quote:
If you catch a live freshbot, weight it, take a photo, and release it so that it can visit other sites (and tell its friends about yours).


I hear they're great battered and fried!

Reply With Quote
  #4  
Old March 4th, 2003, 06:42 PM
Darrin Ward's Avatar
Darrin Ward Darrin Ward is offline
Founder, SEOChat.com :)
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Dec 2002
Location: Miami, Florida
Posts: 1,436 Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 15 h 57 m 51 sec
Reputation Power: 11
Re: Google Tracker for ASP

Quote:
Originally posted by "Sentient"

Darrin inspired me to write a google tracker for ASP

So I'm inspiring people now?? Sorry to hear the perl script didn't work on your server. It is unfortunately something that is hard to include in already dynamic page such as php & asp.
__________________
Darrin J. Ward, Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff!

* ChatButton - Free Chatboxes, super-easy setup!.

Reply With Quote
  #5  
Old March 4th, 2003, 06:54 PM
John John is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 128 John User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 27 m 55 sec
Reputation Power: 6
Hey, I could use something like that for my site. Would definitely beat using the 'find next' in notepad

Reply With Quote
  #6  
Old March 4th, 2003, 07:36 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 6
source code

Quote:
Sorry to hear the perl script didn't work on your server


My hosting company has active perl and it never works as well as stardard cgi perl... anyhow, here is the core source-code for script I wrote:

Quote:

<%
Dim UserAgent, RemoteHost, RemoteAddr, BOT, BotType, gbDomainRequested, gbFullDomainName, gbPage


'Clean up the url and domain name
gbDomainRequested = LCase(Request.ServerVariables("SERVER_NAME"))
gbDomainRequested = Replace(gbDomainRequested, "www.", "")
gbFullDomainName = gbDomainRequested
gbDomainRequested = Replace(gbDomainRequested, ".com", "")
gbDomainRequested = Replace(gbDomainRequested, ".net", "")
gbDomainRequested = Replace(gbDomainRequested, ".org", "")
gbDomainRequested = Replace(gbDomainRequested, ".biz", "")
gbDomainRequested = Replace(gbDomainRequested, ".info", "")

gbPage = Replace(Request.ServerVariables("URL"), gbDirectoryName, "")




'grab the visitor
UserAgent = Request.ServerVariables("HTTP_USER_AGENT")
RemoteHost = Request.ServerVariables("REMOTE_HOST")
RemoteAddr = Request.ServerVariables("REMOTE_ADDR")

'Use to simulate a visit
'UserAgent = "Googlebot"
'RemoteHost = ".googlebot.com"
'RemoteAddr = "216."

BOT = False


'Is it the googlebot?
If InStr(UserAgent, "Googlebot") > 0 Then BOT = True
If InStr(RemoteHost, ".googlebot.com") > 0 Then BOT = True


If BOT = True Then
'Hooray!


'If so, which bot is it?
If Left(RemoteAddr, 4) = "216." Then
BotType = "Deep Bot"
Else
BotType = "FreshBot"
End If


'Record the vist!
set Tracker = Server.CreateObject("ADODB.Recordset")
Tracker.ActiveConnection = MM_CommerceHelper_STRING
Tracker.Source = "SELECT * FROM GoogleTracker"
Tracker.CursorType = 2
Tracker.CursorLocation = 3
Tracker.LockType = 3
Tracker.Open()
Tracker.AddNew()
Tracker.Fields("DomainName") = gbFullDomainName
Tracker.Fields("Page") = gbPage
Tracker.Fields("BotType") = BotType
Tracker.Update()
Tracker.Close()

End If
%>



Just include this file on each page you want to track (<!--#include file="GoogleTracker/GoogleTracker.asp" -->), record and display the visit how you wish. It will display the domain name, page file name, time of visit, and type of bot!

Reply With Quote
  #7  
Old March 5th, 2003, 01:37 AM
John John is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 128 John User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 27 m 55 sec
Reputation Power: 6
I'm not real clear on how I would implement this but I'll have my developer take a look.

Thanks!!

Reply With Quote
  #8  
Old March 5th, 2003, 02:18 PM
Darrin Ward's Avatar
Darrin Ward Darrin Ward is offline
Founder, SEOChat.com :)
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Dec 2002
Location: Miami, Florida
Posts: 1,436 Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level)Darrin Ward User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 15 h 57 m 51 sec
Reputation Power: 11
I use activestate Perl on my local machine (Windows XP). I wrote the code on this machine and it worked fine with activestate, perhaps it's a different version of type!!

Reply With Quote
  #9  
Old March 11th, 2003, 01:38 PM
Sentient's Avatar
Sentient Sentient is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: San Diego
Posts: 55 Sentient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 11 m 33 sec
Reputation Power: 6
Here is how I am displaying the results (now that I have some)

http://www.commercehelper.com/admin...oogleReader.asp

Reply With Quote
Reply

Viewing: SEO Chat ForumsGoogleGoogle Optimization > Google Tracker for ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway