{"id":256577,"date":"2025-10-19T06:41:57","date_gmt":"2025-10-19T06:41:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-bot-monitor\/"},"modified":"2025-10-19T14:14:21","modified_gmt":"2025-10-19T14:14:21","slug":"ai-bot-monitor","status":"publish","type":"plugin","link":"https:\/\/it.wordpress.org\/plugins\/ai-bot-monitor\/","author":23384058,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7","stable_tag":"1.7","tested":"6.7.5","requires":"6.0","requires_php":"","requires_plugins":null,"header_name":"AI Bot Monitor","header_author":"Seb2000 \/ Straight Up Digital","header_description":"Logs and analyses visits from AI, Search & Social bots (ChatGPT, Claude, Perplexity, Googlebot, Bingbot, etc.). Works both as a normal plugin and as a MU-plugin.","assets_banners_color":"141415","last_updated":"2025-10-19 14:14:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/straight-up-digital.com\/","header_author_uri":"https:\/\/straight-up-digital.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":259,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":{"1.3":{"tag":"1.3","author":"straightdigital","date":"2025-10-19 06:41:28"},"1.3.1":{"tag":"1.3.1","author":"straightdigital","date":"2025-10-19 07:19:48"},"1.4":{"tag":"1.4","author":"straightdigital","date":"2025-10-19 08:35:43"},"1.5":{"tag":"1.5","author":"straightdigital","date":"2025-10-19 08:56:30"},"1.6":{"tag":"1.6","author":"straightdigital","date":"2025-10-19 09:13:21"},"1.7":{"tag":"1.7","author":"straightdigital","date":"2025-10-19 14:14:21"},"13.1":{"tag":"13.1","author":"straightdigital","date":"2025-10-19 07:13:09"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3380853,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.3.1","1.4","1.5","1.6","1.7","13.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3380853,"resolution":"1","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2353,232,4866,9837],"plugin_category":[36,55],"plugin_contributors":[249405],"plugin_business_model":[],"class_list":["post-256577","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-analytics","plugin_tags-bots","plugin_tags-crawler","plugin_category-analytics","plugin_category-seo-and-marketing","plugin_contributors-straightdigital","plugin_committers-straightdigital"],"banners":{"banner":"https:\/\/ps.w.org\/ai-bot-monitor\/assets\/banner-772x250.png?rev=3380853","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ai-bot-monitor_141415.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/ai-bot-monitor\/assets\/screenshot-1.png?rev=3380853","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>AI Bot Monitor<\/strong> tracks and logs visits from major AI crawlers, search bots, and social preview bots \u2014 such as ChatGPT, Perplexity, Googlebot, Bingbot, Paddle\/Bytespider, and Meta\/Facebook.<\/p>\n\n<p>It offers a clean admin dashboard showing today\u2019s activity, an <strong>AI-Layer overview<\/strong> highlighting key retrieval signatures (including <strong>Chrome\/141<\/strong> used by modern AI assistants), automatic log rotation, and a one-click ZIP export.<\/p>\n\n<p><strong>Features:<\/strong>\n* Detects AI, Search, and Social bots (ChatGPT, Perplexity, Googlebot, Bingbot, Paddle, etc.)\n* <strong>AI-Layer overview<\/strong> (incl. Chrome\/141, GPTBot, CCBot, PerplexityBot)\n* Daily auto-rotation (keeps last 30 days)\n* Admin dashboard with recent activity table\n* ZIP export of all logs\n* Single + Multisite compatible\n* Works as standard plugin or MU-plugin\n* Path-safe (<code>plugin_dir_path()<\/code> \/ uploads dir) and sanitized inputs<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Upload the plugin to <code>\/wp-content\/plugins\/ai-bot-monitor\/<\/code>, or<br \/>\ndrop <code>ai-bot-monitor.php<\/code> into <code>\/wp-content\/mu-plugins\/<\/code> to auto-load it.<\/p><\/li>\n<li><p>Activate the plugin via <strong>Plugins<\/strong> (if not using MU mode).<\/p><\/li>\n<li><p>Go to <strong>Dashboard \u2192 AI Bot Monitor<\/strong> to view logs and export ZIPs.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='where%20are%20logs%20stored%3F'><h3>Where are logs stored?<\/h3><\/dt>\n<dd><p>In your WordPress uploads directory: <code>\/uploads\/ai-bot-monitor\/<\/code>, one CSV per day (<code>log-YYYY-MM-DD.csv<\/code>).<\/p><\/dd>\n<dt id='how%20does%20the%20ai-layer%20overview%20work%3F'><h3>How does the AI-Layer overview work?<\/h3><\/dt>\n<dd><p>It scans today\u2019s user agents for well-known retrieval\/crawler signatures (e.g. Chrome\/141, GPTBot, CCBot, PerplexityBot) and counts hits.<\/p><\/dd>\n<dt id='can%20i%20exclude%20my%20own%20ips%3F'><h3>Can I exclude my own IPs?<\/h3><\/dt>\n<dd><p>Yes. Add to your theme or a small plugin:\n    add_filter('ai_bot_monitor_ip_whitelist', fn($w)=&gt;array_merge($w, ['123.123.123.123']));<\/p><\/dd>\n<dt id='does%20it%20impact%20performance%3F'><h3>Does it impact performance?<\/h3><\/dt>\n<dd><p>Minimal. The plugin writes lightweight, line-based logs and skips admin, AJAX, and cron requests.\nKey Features<\/p>\n\n<p>Automatic MU-Plugin Migration \u2013 activates once, moves itself to \/mu-plugins\/ for guaranteed uptime<\/p>\n\n<p>AI Crawler Detection \u2013 GPTBot, Claude, Perplexity, Copilot, CCBot, Applebot, and 40 + more<\/p>\n\n<p>Daily CSV Logging \u2013 per-day files auto-rotated (30-day retention)<\/p>\n\n<p>Dashboard Overview \u2013 live stats with AI-layer grouping (e.g. Chrome\/141 for ChatGPT)<\/p>\n\n<p>ZIP Export \u2013 one-click archive download for all logs<\/p>\n\n<p>Lightweight \u2013 no external calls, no database writes, pure file-based logging<\/p>\n\n<p>Privacy-safe \u2013 no user tracking, only bot metadata<\/p>\n\n<p>\u2699\ufe0f How It Works<\/p>\n\n<p>Upload ai-bot-monitor.zip through Plugins \u2192 Add New \u2192 Upload Plugin.<\/p>\n\n<p>Activate the plugin.<\/p>\n\n<p>On activation, it:<\/p>\n\n<p>Creates \/wp-content\/mu-plugins\/ai-bot-monitor-loader.php<\/p>\n\n<p>Deactivates the normal plugin copy<\/p>\n\n<p>Loads itself once via MU-plugin<\/p>\n\n<p>Visit Dashboard \u2192 AI Bot Monitor to view daily logs.<\/p>\n\n<p>If filesystem permissions block MU-loader creation, the plugin continues as a normal plugin until permissions allow migration.<\/p>\n\n<p>\ud83d\udcca Dashboard Overview<\/p>\n\n<p>The dashboard groups detected crawlers by signature, including:<\/p>\n\n<p>Signature   Description\nGPTBot  OpenAI crawler\nChrome\/141  ChatGPT \/ Copilot retrieval layer\nChrome\/134  Perplexity \/ Bing AI layer\nClaude  Anthropic web\/app crawler\nCCBot   Common Crawl (training datasets)\nGooglebot, Bingbot  Search engine crawlers\nBytespider  TikTok \/ ByteDance crawler<\/p>\n\n<p>You can export all logs anytime with \u201cDownload All Logs (ZIP)\u201d.<\/p>\n\n<p>\ud83d\uddc2 Log Storage<\/p>\n\n<p>Logs are written to\n\/wp-content\/uploads\/ai-bot-monitor\/log-YYYY-MM-DD.csv<\/p>\n\n<p>Each entry includes:<\/p>\n\n<p>time, ip, user_agent, url<\/p>\n\n<p>Old files older than 30 days are automatically deleted.<\/p>\n\n<p>\ud83d\udd12 Security &amp; Performance<\/p>\n\n<p>Runs on init hook with early priority 0<\/p>\n\n<p>Doesn\u2019t touch the database<\/p>\n\n<p>Compatible with caching and static HTML plugins<\/p>\n\n<p>Does not expose data publicly<\/p>\n\n<p>Only administrators can access the dashboard and export<\/p>\n\n<p>\ud83e\udeb6 Changelog\n1.4<\/p>\n\n<p>Complete rewrite with auto-migration to MU-plugin<\/p>\n\n<p>Prevented double-load across plugin\/MU contexts<\/p>\n\n<p>Added success notice after migration<\/p>\n\n<p>Hardened Zip export (ZIP extension check)<\/p>\n\n<p>Code cleanup for WordPress.org submission compliance<\/p>\n\n<p>1.3 \u2192 1.4 migration note<\/p>\n\n<p>If a previous version exists, the new installer will safely create the MU-loader and deactivate the old instance automatically.<\/p>\n\n<p>\ud83d\udcdc License<\/p>\n\n<p>This plugin is open-source and distributed under the GNU GPL v2 or later.\nYou are free to use, modify, and redistribute under the same license.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Tracks and logs AI, Search and Social bots including ChatGPT, Perplexity, Googlebot, Bing and Meta crawlers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/256577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=256577"}],"author":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/straightdigital"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=256577"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=256577"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=256577"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=256577"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=256577"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=256577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}