{"id":316651,"date":"2026-07-10T20:56:18","date_gmt":"2026-07-10T20:56:18","guid":{"rendered":"https:\/\/en-gb.wordpress.org\/plugins\/ai-log-analyzer-for-woocommerce\/"},"modified":"2026-07-10T20:56:06","modified_gmt":"2026-07-10T20:56:06","slug":"ai-log-analyzer-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ai-log-analyzer-for-woocommerce\/","author":1889234,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.1","requires":"7.0","requires_php":"8.0","requires_plugins":null,"header_name":"AI Log Analyzer for WooCommerce","header_author":"Stuart Duff","header_description":"AI-powered WooCommerce log file analyzer that helps store owners understand and resolve log issues independently, or with the help the plugin or theme developer if needed.","assets_banners_color":"595768","last_updated":"2026-07-10 20:56:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/stuartduff\/ai-log-analyzer-for-woocommerce","header_author_uri":"https:\/\/stuartduff.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":31,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"stuartduff","date":"2026-07-10 20:56:06"}},"upgrade_notice":{"1.0.0":"<p>Initial release \u2014 no upgrade steps required.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3603382,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3603382,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3603382,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3603382,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3603382,"resolution":"1","location":"assets","locale":"","width":2572,"height":938},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3603382,"resolution":"2","location":"assets","locale":"","width":2548,"height":1568},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3603382,"resolution":"3","location":"assets","locale":"","width":1690,"height":1154}},"screenshots":{"1":"The Analyze with AI button on the WooCommerce log page.","2":"The AI analysis modal showing a severity notice, cause summary, and step-by-step fix instructions.","3":"The settings page with model preference, temperature, and permissions controls."}},"plugin_section":[],"plugin_tags":[2353,23519,1955,1104,286],"plugin_category":[45],"plugin_contributors":[98213],"plugin_business_model":[],"class_list":["post-316651","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-diagnostics","plugin_tags-logs","plugin_tags-support","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-stuartduff","plugin_committers-stuartduff"],"banners":{"banner":"https:\/\/ps.w.org\/ai-log-analyzer-for-woocommerce\/assets\/banner-772x250.png?rev=3603382","banner_2x":"https:\/\/ps.w.org\/ai-log-analyzer-for-woocommerce\/assets\/banner-1544x500.png?rev=3603382","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ai-log-analyzer-for-woocommerce\/assets\/icon-128x128.png?rev=3603382","icon_2x":"https:\/\/ps.w.org\/ai-log-analyzer-for-woocommerce\/assets\/icon-256x256.png?rev=3603382","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/ai-log-analyzer-for-woocommerce\/assets\/screenshot-1.png?rev=3603382","caption":"The Analyze with AI button on the WooCommerce log page."},{"src":"https:\/\/ps.w.org\/ai-log-analyzer-for-woocommerce\/assets\/screenshot-2.png?rev=3603382","caption":"The AI analysis modal showing a severity notice, cause summary, and step-by-step fix instructions."},{"src":"https:\/\/ps.w.org\/ai-log-analyzer-for-woocommerce\/assets\/screenshot-3.png?rev=3603382","caption":"The settings page with model preference, temperature, and permissions controls."}],"raw_content":"<!--section=description-->\n<p>AI Log Analyzer for WooCommerce integrates directly with the WooCommerce log management UI to help store owners understand and resolve log file issues without needing developer assistance.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Analyze any WooCommerce log file with a single click.<\/li>\n<li>Receive plain-English summaries of errors with step-by-step fix instructions.<\/li>\n<li>Automatically identify which plugin or theme is responsible for each error.<\/li>\n<li>Download a formatted diagnostic report to share with plugin support teams.<\/li>\n<li>Supports all WooCommerce log handlers: FileV2, Legacy File, and Database.<\/li>\n<\/ul>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>WordPress 7.0 or higher (WordPress AI Client required)<\/li>\n<li>WooCommerce<\/li>\n<li>PHP 8.0 or higher<\/li>\n<li>An AI provider configured in Settings \u203a Connectors (Anthropic, Google, or OpenAI)<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This plugin sends WooCommerce log file content to a third-party AI provider for analysis. This happens only when a logged-in user with the appropriate capability clicks the \"Analyse with AI\" button on a WooCommerce log file.<\/p>\n\n<p>Requests are made through the <strong>WordPress AI Connectors API<\/strong> (introduced in WordPress 7.0). The specific provider used depends on which connector the site administrator has configured in <strong>Settings \u203a Connectors<\/strong>. The following providers are currently supported:<\/p>\n\n<p><strong>Anthropic (Claude)<\/strong>\nLog content is sent to Anthropic's API to generate a plain-English analysis of the log file.\n- <a href=\"https:\/\/www.anthropic.com\/legal\/aup\">Anthropic Terms of Service<\/a>\n- <a href=\"https:\/\/www.anthropic.com\/legal\/privacy\">Anthropic Privacy Policy<\/a><\/p>\n\n<p><strong>Google (Gemini)<\/strong>\nLog content is sent to Google's Gemini API to generate a plain-English analysis of the log file.\n- <a href=\"https:\/\/ai.google.dev\/gemini-api\/terms\">Google Terms of Service<\/a>\n- <a href=\"https:\/\/policies.google.com\/privacy\">Google Privacy Policy<\/a><\/p>\n\n<p><strong>OpenAI (GPT)<\/strong>\nLog content is sent to OpenAI's API to generate a plain-English analysis of the log file.\n- <a href=\"https:\/\/openai.com\/policies\/terms-of-use\">OpenAI Terms of Service<\/a>\n- <a href=\"https:\/\/openai.com\/policies\/privacy-policy\">OpenAI Privacy Policy<\/a><\/p>\n\n<p><strong>What data is sent:<\/strong> The contents of the selected WooCommerce log file, along with site context (WordPress version, WooCommerce version, PHP version, active theme, and active plugin names). Before transmission, the plugin automatically strips common patterns of sensitive data including API keys, passwords, auth tokens, email addresses, HTTP Authorization headers, DSN credentials, and PEM-encoded private keys.<\/p>\n\n<p><strong>When data is sent:<\/strong> Only when a user with the required capability explicitly clicks \"Analyse with AI\". No data is sent automatically or in the background.<\/p>\n\n<p><strong>Data retention:<\/strong> This plugin does not store or cache log content. Retention of data submitted to the AI provider is governed by the respective provider's privacy policy linked above.<\/p>\n\n<h3>Source Code<\/h3>\n\n<p>The full source code for this plugin, including all unminified JavaScript, is publicly available on GitHub:<\/p>\n\n<p><a href=\"https:\/\/github.com\/stuartduff\/ai-log-analyzer-for-woocommerce\">Github: AI Log Analyzer for WooCommerce<\/a><\/p>\n\n<p>The minified file <code>build\/analyze.js<\/code> is compiled from <code>src\/analyze\/index.js<\/code> using <code>@wordpress\/scripts<\/code> (webpack).<\/p>\n\n<p>To build the assets yourself:<\/p>\n\n<ol>\n<li>Clone the repository: <code>git clone https:\/\/github.com\/stuartduff\/ai-log-analyzer-for-woocommerce.git<\/code><\/li>\n<li>Install Node dependencies: <code>npm install<\/code><\/li>\n<li>Build for production: <code>npm run build<\/code><\/li>\n<li>Or watch for development: <code>npm run start<\/code><\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>ai-log-analyzer-for-woocommerce<\/code> directory to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through <strong>Plugins \u203a Installed Plugins<\/strong>.<\/li>\n<li>Go to <strong>Settings \u203a Connectors<\/strong> and connect at least one AI provider (Anthropic, Google, or OpenAI).<\/li>\n<li>Navigate to <strong>WooCommerce \u203a AI Log Analyzer<\/strong> to configure analysis settings.<\/li>\n<li>Go to <strong>WooCommerce \u203a Status \u203a Logs<\/strong>, open any log file, and click <strong>Analyse with AI<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20send%20my%20log%20data%20to%20third-party%20services%3F\"><h3>Does this plugin send my log data to third-party services?<\/h3><\/dt>\n<dd><p>Log content is sent to the AI provider you have configured in Settings \u203a Connectors. This plugin does not store or cache log content \u2014 data is transmitted for analysis and not retained.<\/p>\n\n<p>Before transmission, common patterns of sensitive data are automatically stripped: API keys and secrets, passwords, auth tokens, email addresses, HTTP Authorization and X-API-Key headers, DSN connection-string credentials, and PEM-encoded private keys. Redaction covers key=value pairs, JSON fields, and prefixed key names (e.g. <code>db_password<\/code>, <code>stripe_secret<\/code>).<\/p>\n\n<p><strong>Note:<\/strong> Redaction is best-effort and pattern-based. Values appearing in plain prose without a recognisable key name (e.g. <code>\"invalid key 'abc123'\"<\/code>) and completely custom credential field names outside the known allowlist may not be caught. Review your logs before analysis if they may contain highly sensitive data.<\/p><\/dd>\n<dt id=\"which%20ai%20providers%20are%20supported%3F\"><h3>Which AI providers are supported?<\/h3><\/dt>\n<dd><p>Any provider configured in the WordPress Connectors API is supported: Anthropic (Claude), Google (Gemini), and OpenAI (GPT). The active provider is selected via the AI Model Preference setting; the WordPress AI Client (<code>wp_ai_client_prompt<\/code>) handles the request.<\/p><\/dd>\n<dt id=\"can%20shop%20managers%20use%20the%20analyzer%3F\"><h3>Can Shop Managers use the analyzer?<\/h3><\/dt>\n<dd><p>By default, administrators (users with <code>manage_options<\/code>) and any user with both <code>manage_woocommerce<\/code> and <code>prompt_ai<\/code> capabilities can run analyses. Access for Shop Managers can be enabled under <strong>WooCommerce \u203a AI Log Analyzer \u203a Limits &amp; Permissions<\/strong>.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20a%20log%20file%20is%20very%20large%3F\"><h3>What happens if a log file is very large?<\/h3><\/dt>\n<dd><p>Log files larger than the configured maximum size (default 10 MB) are automatically truncated from the beginning, keeping the most recent entries which are most relevant for diagnosis.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"AI-powered WooCommerce log analyzer. Understand and fix log errors without developer knowledge.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/316651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=316651"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/stuartduff"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=316651"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=316651"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=316651"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=316651"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=316651"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=316651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}