plugin-icon

AI Log Analyzer for WooCommerce

AI-powered WooCommerce log analyzer. Understand and fix log errors without developer knowledge.
版本
1.0.0
最近更新:
Jul 10, 2026
AI Log Analyzer for WooCommerce

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.

Features:

  • Analyze any WooCommerce log file with a single click.
  • Receive plain-English summaries of errors with step-by-step fix instructions.
  • Automatically identify which plugin or theme is responsible for each error.
  • Download a formatted diagnostic report to share with plugin support teams.
  • Supports all WooCommerce log handlers: FileV2, Legacy File, and Database.

Requirements:

  • WordPress 7.0 or higher (WordPress AI Client required)
  • WooCommerce
  • PHP 8.0 or higher
  • An AI provider configured in Settings › Connectors (Anthropic, Google, or OpenAI)

External Services

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.

Requests are made through the WordPress AI Connectors API (introduced in WordPress 7.0). The specific provider used depends on which connector the site administrator has configured in Settings › Connectors. The following providers are currently supported:

Anthropic (Claude) Log content is sent to Anthropic’s API to generate a plain-English analysis of the log file. – Anthropic Terms of ServiceAnthropic Privacy Policy

Google (Gemini) Log content is sent to Google’s Gemini API to generate a plain-English analysis of the log file. – Google Terms of ServiceGoogle Privacy Policy

OpenAI (GPT) Log content is sent to OpenAI’s API to generate a plain-English analysis of the log file. – OpenAI Terms of ServiceOpenAI Privacy Policy

What data is sent: 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.

When data is sent: Only when a user with the required capability explicitly clicks “Analyse with AI”. No data is sent automatically or in the background.

Data retention: 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.

Source Code

The full source code for this plugin, including all unminified JavaScript, is publicly available on GitHub:

Github: AI Log Analyzer for WooCommerce

The minified file build/analyze.js is compiled from src/analyze/index.js using @wordpress/scripts (webpack).

To build the assets yourself:

  1. Clone the repository: git clone https://github.com/stuartduff/ai-log-analyzer-for-woocommerce.git
  2. Install Node dependencies: npm install
  3. Build for production: npm run build
  4. Or watch for development: npm run start
目前已測試版本
WordPress 7.0.1
此外掛程式已可供下載,並可用於你 系統。