Go Back   Web Design & SEO Company > Free Scripts

Free Scripts Free Scripts to add to your website, includes Ajax, Javascript, php, Flash, CSS, HTML and more. No registration is required to download, these scripts are provided free to help you make the most of your website.

Old 03-10-2009, 03:30 PM
Admin's Avatar
Join Date: Jan 2007
Location: Taree
Posts: 613
Default Receive Email Alert When Googlebot Visits Website

Here is a PHP snippet i use on new sites to detect when Googlebot visits the various pages to give me an idea on the sites indexing rate and status.

Because my mail client delivers a real time pop-up on my PC, i get instantly notified via email which is something not many stats packages are capable of doing. Add this to a common page such as footer.php if you want to be notified of all page hits, or you can just include it in specific pages.

PHP Code:
eregi("googlebot"$_SERVER['HTTP_USER_AGENT']) )
mail($email"Googlebot Hit",
"Google just hit the following page: " .
Just change yourname (at) youraddy.com to your real address, add it to your page and you are good to go. Just note, don't add this to heavily crawled sites or you will end up with a flooded mail box.
Reply With Quote
Top SEO Tool
Harvester and Mass Blog Commenter
Blog Comment Software


Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Filtering to Avoid Spam Admin Knowledgebase 6 01-21-2011 11:53 AM
Email Marketing Benefits nicolasb86 SEO 3 06-30-2010 11:11 AM
URIBL.com - Do Not Use Their Email Black Lists Admin Knowledgebase 9 09-07-2009 07:53 AM
Anonymous Email Script Admin Free Scripts 15 07-12-2009 04:47 PM
Explain Email Marketing pntglobal SEO 5 12-31-2008 08:49 AM
5 Ways to Utilize Direct Email Marketing crazymaus Knowledgebase 0 12-30-2008 06:08 AM
Forwarders - Email Admin Knowledgebase 1 02-18-2007 08:39 AM

Knowledgebase | SEO | Free Scripts | Free Wordpress Themes | Free Graphics

eval gzinflate base64 decode | SEO Addons

Forum time zone is GMT. Currently it's 06:31 AM.

SEO - Top

Web Design & SEO Forums