ThriveStack AI Crawler Tracker

By engineerpersona

0+ active installationsVersion 0.4.0

See which AI crawlers (ChatGPT, Claude, Perplexity and more) visit your site and which pages they read, including pages served from your cache.

Description

ThriveStack AI Crawler Tracker shows which AI crawlers visit your WordPress site, how often, which pages they read and whether they get errors, in your ThriveStack dashboard.

The plugin reads your web server’s access log, so it also counts visits that your cache plugin, host cache or server answered without running WordPress. Most AI crawler visits to a cached site never reach WordPress, so plugins that only watch WordPress itself miss them.

  • Only AI crawler visits are sent. Visits from people and from search engines stay on your site.
  • Every five minutes, new log lines are sent in one compressed, signed request. Pages load exactly as before.
  • If your host does not let WordPress read the access log, the plugin captures AI crawler visits as WordPress answers them instead. In this mode, visits served from a page cache are not counted. The settings page tells you which mode is active.

This plugin connects your site to ThriveStack, which shows the report. It requires a ThriveStack account (https://www.thrivestack.ai). The AI crawl report is part of ThriveStack’s paid AI Crawl Logs add-on, which is free during a ThriveStack trial. The plugin itself has no locked features.

External services

This plugin sends data to ThriveStack (https://www.thrivestack.ai), the service that shows the AI crawler report. Without it, the plugin has no purpose. Nothing is sent until a site administrator pastes a connection code on the plugin’s settings page and saves it. ThriveStack never connects to your site: the plugin only sends data out.

What is sent, and when: every five minutes (and when you click “Test connection” or “Send now”), the access-log lines of requests whose User-Agent names a known AI crawler (for example GPTBot or ClaudeBot). Each line contains the request time, method, path, HTTP status, referrer, User-Agent and the IP address the web server logged for the crawler, plus the line’s position in the log file (so each request is counted once, even when the plugin retries). Lines for other visitors are never sent. When the access log cannot be read, the same fields are captured from WordPress for AI crawler requests only.

Where it is sent: to the receiver address contained in the connection code you paste, on the ThriveStack API (api.app.thrivestack.ai).

ThriveStack terms of service: https://www.thrivestack.ai/terms
ThriveStack privacy policy: https://www.thrivestack.ai/privacy

Installation

  1. In ThriveStack, open Attribution > Setup, choose WordPress and copy your connection code.
  2. In WordPress, install and activate this plugin.
  3. Open Settings > AI Crawler Tracker, paste the connection code and click Save.
  4. Click Test connection.

WP-Cron runs when your site gets visits. On sites with very little traffic, or where WP-Cron is disabled, set up a real cron job that calls wp-cron.php every five minutes.

FAQ

Where is my access log?

The plugin looks in the usual places for Apache, Nginx, LiteSpeed and cPanel. If yours is elsewhere, enter its full path on the settings page. The log must use the standard “combined” format.

What happens when I disconnect in ThriveStack?

ThriveStack stops accepting data from the plugin, and the plugin stops sending when it is told so. Deactivate and delete the plugin to remove it.

Changelog

0.4.0

  • The plugin is set up only from its own settings page, by pasting a connection code. Removed the REST route that let ThriveStack save the code remotely.

0.3.1

  • Identical crawler requests in the same second are each counted (each sent line carries its position in the log).

0.3.0

  • Renamed to ThriveStack AI Crawler Tracker (settings: Settings > AI Crawler Tracker).