Testing Googlebot

I’ve been running some tests on Googlebot to find out more about how it works. They are a work in progress, and the plan is to finish a massive article (or several) of my findings.

Unfortunately, Googlebot is not particularly interested in crawling the tests, as this is the only page that links to them. I’ll have to work on that.

HTML text showing the logging of activities while Googlebot renders a page.

I thought it would be interesting to share some of the tests so far.

The tests use several mechanisms:

  • Logging of information to the head of the page so it can be seen in the URL Inspection HTML.
  • Logging relevant browser events, including error, resize, visibilitychange, etc.
  • Observing resource loading and logging their data.
  • Wrapping setTimeout so can log when it starts and ends.
  • Tracking real-time passing via server requests and their responses that add timestamps to the client log.
  • Client-to-Server API requests that create GA4 events, including client/server times and bot, which are viewed in Looker Studio.
  • Verification of the Googlebot IP address and identification of the documented user agents.
  • Generation of performance measurements for visualising in the Chrome performance report.
  • Resource requests have a cache buster, identify the page view they are part of and can specify how long before the server responds.

Can you think of any other Googlebot tests?

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top