Kansoku Lab Tracker
AI Kansoku Lab Tracker detects visits from AI crawlers such as GPTBot, ClaudeBot, and PerplexityBot using PHP server-side detection. Because AI crawlers do not execute JavaScript, traditional analytics tools like GA4 cannot capture these visits. This plugin solves that problem.
Features
- Server-side detection – Captures AI crawlers that do not run JavaScript
- 14 crawler patterns – GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot, ByteSpider, Meta-ExternalAgent, Google-Extended, Grok, AppleBot, DeepSeek, and more
- Explicit opt-in – External tracking only activates when you enable it via checkbox
- Zero performance impact – Uses non-blocking POST requests (blocking: false)
- Simple setup – Just paste your Site ID, enable tracking, and save
- WordPress standards – Uses wp_remote_post, register_setting, nonce verification, and proper escaping throughout
- Front-end only – Does not fire on admin, cron, AJAX, or REST API requests
How It Works
When a front-end page is requested, the plugin checks the User-Agent string against known AI crawler patterns. If a match is found — and you have explicitly enabled external tracking — it sends an asynchronous POST request to the AI Kansoku Lab API to log the visit. The site visitor experiences no delay.
External Service
This plugin connects to an external API: AI Kansoku Lab (https://www.ai-kansoku.com).
External tracking is opt-in only. Data is only transmitted after you explicitly enable it in the settings page.
When an AI crawler is detected, the following metadata is sent: * User-Agent string of the detected AI crawler * URL path of the visited page * Your Site ID (configured in plugin settings)
This plugin does not intentionally collect cookies, account credentials, or form contents.
- Service URL: https://www.ai-kansoku.com
- Privacy Policy: https://www.ai-kansoku.com/privacy
- Terms of Service: https://www.blog.ai-kansoku.com/terms
Requirements
- A free account at AI Kansoku Lab (https://www.ai-kansoku.com)
- Your Site ID from the dashboard
Privacy Policy
This plugin connects to an external service to log AI crawler visits.
External tracking is opt-in only and only activates after explicit user consent via the settings page.
Data transmitted to AI Kansoku Lab (https://www.ai-kansoku.com) when tracking is enabled: * User-Agent string of the detected AI crawler * URL path of the visited page * Site ID configured in plugin settings
This plugin does not intentionally collect cookies, account credentials, or form contents.
Full privacy policy: https://www.ai-kansoku.com/privacy