Settings

Theme

Ask HN: How can I trace what user queries make AI bots crawl my site?

4 points by ATechGuy 4 months ago · 2 comments · 1 min read


I've noticed several AI bots crawling my website. Is there a way to figure out which specific user queries caused the AI to access my website?

benoau 4 months ago

It might be present in your web server logs, with the caveat that you may not have them or have access to them and the bots may not pass the HTTP_REFERER header and the logs may not record it.

It might be present in client-side logs, with the caveat the crawler might block tracker URLs or not open a page in a way that executes their scripts.

Either of these may reveal what the first-page was a crawler reached, or the pages they directly-access without navigating your site.

You might be able to correlate timing for when a "user query" occurs and subsequent scraping.

Patt_ 4 months ago

Unless these AI bots choose to pass query data in these UTM parameters, i'd say there's no way to obtain such information, except for you to go into an ai and try to trigger the ai pulling searches that contains your website urls.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection