{"id":403044,"date":"2026-12-02T12:12:51","date_gmt":"2026-12-02T12:12:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hubpilot\/"},"modified":"2026-12-03T13:25:29","modified_gmt":"2026-12-03T13:25:29","slug":"statwrite","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/statwrite\/","author":23603647,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.5.1","stable_tag":"0.5.1","tested":"7.1.5","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Statwrite \u2013 Analytics, AI Writer & Console Connector","header_author":"Mr Noctis","header_description":"Cookie-free visitor analytics and an AI article writer (WP-Hub console or your own AI provider), with optional speed, security and uptime reports from the WP-Hub console.","last_updated":"2026-12-03 13:25:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wp-hub.org","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":243,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.5.0":{"tag":"0.5.0","author":"mrnoctis","date":"2026-12-02 12:33:20","revision":3840026},"0.5.1":{"tag":"0.5.1","author":"mrnoctis","date":"2026-12-03 13:25:29","revision":3842525}},"upgrade_notice":{"0.5.1":"<p>Adds optional editing of existing posts from the WP-Hub console (off by default).<\/p>","0.5.0":"<p>Adds the AI Writer (WP-Hub console or your own AI provider), simplifies settings, and removes the source credit.<\/p>","0.4.2":"<p>Updates the source credit text and makes visitor labels simpler.<\/p>","0.4.1":"<p>Improves tracker delivery on cached and CDN-protected sites, keeps the source credit in optimized HTML, and removes the separate visitor IP option. Cloud mode now includes the visitor IP.<\/p>","0.4.0":"<p>Initial public release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3839981,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3839981,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3839981,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3839981,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5.0","0.5.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3839981,"resolution":"1","location":"assets","locale":"","width":2016,"height":1088},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3839981,"resolution":"2","location":"assets","locale":"","width":2016,"height":1348},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3839981,"resolution":"3","location":"assets","locale":"","width":2016,"height":1094},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3839981,"resolution":"4","location":"assets","locale":"","width":2016,"height":761}},"screenshots":{"1":"Dashboard overview: pageviews, visitors, sessions, engaged time, bounce rate, visitor quality and daily chart (English and Persian side by side).","2":"Top pages, sources, devices and events.","3":"Settings: WP-Hub console key, storage location, privacy and data retention.","4":"AI Writer: connect the WP-Hub console with one site key, or use your own AI provider."}},"plugin_section":[],"plugin_tags":[210511,232,20315,396,186],"plugin_category":[36,54,55],"plugin_contributors":[297143],"plugin_business_model":[],"class_list":["post-403044","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-writer","plugin_tags-analytics","plugin_tags-cookieless","plugin_tags-privacy","plugin_tags-seo","plugin_category-analytics","plugin_category-security-and-spam-protection","plugin_category-seo-and-marketing","plugin_contributors-mrnoctis","plugin_committers-mrnoctis"],"banners":{"banner":"https:\/\/ps.w.org\/statwrite\/assets\/banner-772x250.png?rev=3839981","banner_2x":"https:\/\/ps.w.org\/statwrite\/assets\/banner-1544x500.png?rev=3839981","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/statwrite\/assets\/icon-128x128.png?rev=3839981","icon_2x":"https:\/\/ps.w.org\/statwrite\/assets\/icon-256x256.png?rev=3839981","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/statwrite\/assets\/screenshot-1.png?rev=3839981","caption":"Dashboard overview: pageviews, visitors, sessions, engaged time, bounce rate, visitor quality and daily chart (English and Persian side by side)."},{"src":"https:\/\/ps.w.org\/statwrite\/assets\/screenshot-2.png?rev=3839981","caption":"Top pages, sources, devices and events."},{"src":"https:\/\/ps.w.org\/statwrite\/assets\/screenshot-3.png?rev=3839981","caption":"Settings: WP-Hub console key, storage location, privacy and data retention."},{"src":"https:\/\/ps.w.org\/statwrite\/assets\/screenshot-4.png?rev=3839981","caption":"AI Writer: connect the WP-Hub console with one site key, or use your own AI provider."}],"raw_content":"<!--section=description-->\n<p>Statwrite gives you cookie-free visitor analytics and an AI article writer inside WordPress. Everything works without an account; connecting the optional WP-Hub console (https:\/\/wp-hub.org) adds speed, security and uptime reports and a managed AI writer that needs no API key.<\/p>\n\n<h4>Analytics<\/h4>\n\n<ul>\n<li>Cookie-free tracking with no personal profiles and no cross-site identifiers.<\/li>\n<li>Records pageviews, referrers and channels, devices, browsers, engagement time, scroll depth, and outbound, download, form and cart events \u2014 without loading a third-party front-end script.<\/li>\n<li>Bot filtering using the User-Agent plus browser signals (JavaScript execution, WebGL renderer class, plugins, animation frames, interaction, visibility and timing).<\/li>\n<li>Four report modes: browser detected (default), all, no browser, and bot, with a visit-quality breakdown.<\/li>\n<li>Tiered data retention: per-visit details, daily reports and daily totals.<\/li>\n<li>Respects DNT and GPC; logged-in users are not tracked by default.<\/li>\n<li>Two storage modes: <strong>on this site<\/strong> (default, nothing leaves your server) or <strong>in the WP-Hub console<\/strong> (optional, keeps your database lean).<\/li>\n<\/ul>\n\n<h4>AI Writer<\/h4>\n\n<p>Write complete, SEO-ready articles and save them as drafts for review. Choose how the text is generated:<\/p>\n\n<ul>\n<li><strong>WP-Hub console (recommended):<\/strong> connect a free site key and write from inside WordPress. The console studies your published posts, adds internal links and images from your media library, and fills in the SEO title, meta description, focus keyword and FAQ schema. Monthly limits come from your console plan. Nothing is published without your permission: by default the console can only create drafts. If you allow it, you can also open an existing post in the console, improve it by hand or with AI, and send the changes back.<\/li>\n<li><strong>Your own AI provider (advanced):<\/strong> use your own API key with OpenAI, Anthropic, Google Gemini, OpenRouter, DeepSeek, Groq, Mistral, AvalAI, GapGPT, Metis AI, a self-hosted model (Ollama, LM Studio) or any OpenAI-compatible API. On WordPress 7.0+ you can also use the AI provider connected in <strong>Settings \u2192 Connectors<\/strong>. You set the system prompt, site topic, business description, audience, brand voice, language, house rules, length, internal links and FAQ, and test the connection before writing. Requests go directly from your site to the provider you chose; WP-Hub is not involved.<\/li>\n<\/ul>\n\n<p>Works with Yoast SEO, Rank Math and All in One SEO. Without an SEO plugin, Statwrite prints the meta description and FAQ schema for its own articles.<\/p>\n\n<h4>Free and paid<\/h4>\n\n<p>Every feature of this plugin is free and has no built-in limits: analytics and the AI Writer with your own provider. The plugin never locks features or shows paid-only screens.<\/p>\n\n<p>The WP-Hub console is a separate, optional web service with a free plan. During its current public test period, console article writing is free for every account (15 articles per month). Monthly limits are set and enforced by the console, not by this plugin, and are shown on the AI Writer screen. Competitor analysis, content health reports and topic suggestions are features of the console website itself; they are not part of this plugin.<\/p>\n\n<h4>Console reports (optional)<\/h4>\n\n<p>With a site key the dashboard also shows the latest mobile and desktop speed test, security test and uptime status from the WP-Hub console.<\/p>\n\n<h4>How it works<\/h4>\n\n<p>On a normal front-end request, the plugin records a lightweight server-side pageview in a protected spool file. A small deferred tracker confirms the visit from the browser and records engagement and events. WP-Cron processes the spool every five minutes into the local tables, or into the cloud queue when Cloud mode is active. If WP-Cron is disabled, you can run the cron event from the server or use the manual buttons on the plugin pages.<\/p>\n\n<h4>Local or cloud?<\/h4>\n\n<p>On-site storage is self-contained and needs no account. Data is stored in your own database and kept according to the retention settings.<\/p>\n\n<p>Console storage is optional. It requires an account at the WP-Hub console, a verified domain, and a site key.<\/p>\n\n<h4>Privacy<\/h4>\n\n<p>Local mode:<\/p>\n\n<ul>\n<li>Stores page paths and titles, referrer host, channel, device type, browser, operating system, country code (when provided by the server or Cloudflare), hashed visitor and session identifiers, timestamps, engagement time, scroll depth, and event counts.<\/li>\n<li>Does not store the raw IP address or the raw User-Agent string.<\/li>\n<li>The visitor identifier is a truncated HMAC-SHA256 of the IP address and User-Agent with the site's salt and the current date. It changes every day. The session identifier uses a 30-minute window.<\/li>\n<li>Logged-in users are skipped by default. DNT and GPC are respected by default. Known bots are skipped.<\/li>\n<li>Retention defaults: detailed data 30 days, daily data 180 days, daily totals 24 months. All three are configurable.<\/li>\n<\/ul>\n\n<p>Cloud mode:<\/p>\n\n<ul>\n<li>No analytics rows are written to the local analytics tables. Events wait in a protected spool file and are sent every five minutes.<\/li>\n<li>The batch includes the site URL and host, WordPress version, plugin version, timezone, and the event fields listed above. It includes the visitor IP address; the console uses it for datacenter, Tor, VPN, and country classification. Cloud mode is opt-in: no analytics events are sent until you select Cloud mode and save a site token. See the service privacy policy for details.<\/li>\n<li>No analytics events are sent until you select Cloud mode and save a site token.<\/li>\n<\/ul>\n\n<p>Uninstalling the plugin removes its settings and temporary queue. Analytics tables are kept unless you enable <strong>Delete analytics tables on uninstall<\/strong>. See the External services section for the cloud service details.<\/p>\n\n<h4>\u0641\u0627\u0631\u0633\u06cc<\/h4>\n\n<p><strong>Statwrite \u2014 \u0622\u0645\u0627\u0631 \u0628\u0627\u0632\u062f\u06cc\u062f \u0628\u062f\u0648\u0646 \u06a9\u0648\u06a9\u06cc \u0648 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u0654 \u0645\u0642\u0627\u0644\u0647\u0654 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc<\/strong><\/p>\n\n<p>Statwrite \u06cc\u06a9 \u0627\u0641\u0632\u0648\u0646\u0647\u0654 \u0633\u0628\u06a9 \u0648 \u06a9\u0627\u0645\u0644 \u0628\u0631\u0627\u06cc \u0648\u0631\u062f\u067e\u0631\u0633 \u0627\u0633\u062a \u06a9\u0647 \u0622\u0645\u0627\u0631 \u0628\u0627\u0632\u062f\u06cc\u062f \u0633\u0627\u06cc\u062a \u0631\u0627 \u0628\u062f\u0648\u0646 \u06a9\u0648\u06a9\u06cc \u062b\u0628\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0627\u0645\u06a9\u0627\u0646 \u0646\u0648\u0634\u062a\u0646 \u0645\u0642\u0627\u0644\u0647\u0654 \u0633\u0626\u0648\u0634\u062f\u0647 \u0631\u0627 \u062f\u0627\u062e\u0644 \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u062e\u0648\u062f\u062a\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f. \u0628\u0631\u0627\u06cc \u0634\u0631\u0648\u0639 \u0647\u06cc\u0686 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0644\u0627\u0632\u0645 \u0646\u06cc\u0633\u062a \u0648 \u0647\u0645\u0647\u200c\u0686\u06cc\u0632 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0631\u0648\u06cc \u0647\u0645\u0627\u0646 \u0633\u0627\u06cc\u062a \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0627\u06af\u0631 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f\u060c \u0628\u0627 \u06cc\u06a9 \u06a9\u0644\u06cc\u062f \u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0647 \u06a9\u0646\u0633\u0648\u0644 WP-Hub \u0648\u0635\u0644 \u0645\u06cc\u200c\u0634\u0648\u06cc\u062f \u0648 \u06af\u0632\u0627\u0631\u0634 \u0633\u0631\u0639\u062a\u060c \u0627\u0645\u0646\u06cc\u062a \u0648 \u0622\u067e\u200c\u062a\u0627\u06cc\u0645 \u0648 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u0654 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a\u200c\u0634\u062f\u0647 (\u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u06a9\u0644\u06cc\u062f API) \u0647\u0645 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n<p><strong>\u0622\u0645\u0627\u0631 \u0628\u0627\u0632\u062f\u06cc\u062f<\/strong><\/p>\n\n<ul>\n<li>\u0628\u062f\u0648\u0646 \u06a9\u0648\u06a9\u06cc\u060c \u0628\u062f\u0648\u0646 \u067e\u0631\u0648\u0641\u0627\u06cc\u0644 \u0634\u062e\u0635\u06cc \u0648 \u0628\u062f\u0648\u0646 \u0634\u0646\u0627\u0633\u0647\u0654 \u0645\u0634\u062a\u0631\u06a9 \u0628\u06cc\u0646 \u0633\u0627\u06cc\u062a\u200c\u0647\u0627\u061b \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 \u0642\u0648\u0627\u0646\u06cc\u0646 \u062d\u0631\u06cc\u0645 \u062e\u0635\u0648\u0635\u06cc.<\/li>\n<li>\u062b\u0628\u062a \u0628\u0627\u0632\u062f\u06cc\u062f \u0635\u0641\u062d\u0647\u060c \u0645\u0646\u0628\u0639 \u0648\u0631\u0648\u062f\u06cc \u0648 \u06a9\u0627\u0646\u0627\u0644\u060c \u062f\u0633\u062a\u06af\u0627\u0647\u060c \u0645\u0631\u0648\u0631\u06af\u0631\u060c \u0632\u0645\u0627\u0646 \u062a\u0639\u0627\u0645\u0644\u060c \u0639\u0645\u0642 \u0627\u0633\u06a9\u0631\u0648\u0644 \u0648 \u0631\u0648\u06cc\u062f\u0627\u062f\u0647\u0627\u06cc \u06a9\u0644\u06cc\u06a9 \u062e\u0631\u0648\u062c\u06cc\u060c \u062f\u0627\u0646\u0644\u0648\u062f\u060c \u0641\u0631\u0645 \u0648 \u0633\u0628\u062f \u062e\u0631\u06cc\u062f.<\/li>\n<li>\u0641\u06cc\u0644\u062a\u0631 \u0631\u0628\u0627\u062a\u200c\u0647\u0627 \u0628\u0627 User-Agent \u0648 \u0646\u0634\u0627\u0646\u0647\u200c\u0647\u0627\u06cc \u0645\u0631\u0648\u0631\u06af\u0631\u061b \u0686\u0647\u0627\u0631 \u062d\u0627\u0644\u062a \u06af\u0632\u0627\u0631\u0634: \u00ab\u0645\u0631\u0648\u0631\u06af\u0631 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc\u200c\u0634\u062f\u0647\u00bb (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636)\u060c \u00ab\u0647\u0645\u0647\u00bb\u060c \u00ab\u0628\u062f\u0648\u0646 \u0645\u0631\u0648\u0631\u06af\u0631\u00bb \u0648 \u00ab\u0631\u0628\u0627\u062a\u00bb\u060c \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u062a\u0641\u06a9\u06cc\u06a9 \u06a9\u06cc\u0641\u06cc\u062a \u0628\u0627\u0632\u062f\u06cc\u062f.<\/li>\n<li>\u0627\u062d\u062a\u0631\u0627\u0645 \u0628\u0647 DNT \u0648 GPC\u061b \u0628\u0627\u0632\u062f\u06cc\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648\u0627\u0631\u062f\u0634\u062f\u0647 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u062b\u0628\u062a \u0646\u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n<li>\u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u067e\u0644\u0647\u200c\u0627\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627: \u062c\u0632\u0626\u06cc\u0627\u062a \u0628\u0627\u0632\u062f\u06cc\u062f \u06f3\u06f0 \u0631\u0648\u0632\u060c \u06af\u0632\u0627\u0631\u0634 \u0631\u0648\u0632\u0627\u0646\u0647 \u06f1\u06f8\u06f0 \u0631\u0648\u0632 \u0648 \u062c\u0645\u0639 \u0631\u0648\u0632\u0627\u0646\u0647 \u06f2\u06f4 \u0645\u0627\u0647\u060c \u0647\u0631 \u0633\u0647 \u0642\u0627\u0628\u0644 \u062a\u0646\u0638\u06cc\u0645.<\/li>\n<li>\u062f\u0648 \u062d\u0627\u0644\u062a \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc: \u00ab\u0631\u0648\u06cc \u0647\u0645\u06cc\u0646 \u0633\u0627\u06cc\u062a\u00bb (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636\u061b \u0647\u06cc\u0686 \u062f\u0627\u062f\u0647\u200c\u0627\u06cc \u062e\u0627\u0631\u062c \u0646\u0645\u06cc\u200c\u0634\u0648\u062f) \u06cc\u0627 \u00ab\u062f\u0631 \u06a9\u0646\u0633\u0648\u0644 WP-Hub\u00bb (\u0627\u062e\u062a\u06cc\u0627\u0631\u06cc\u061b \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0633\u0627\u06cc\u062a \u0633\u0628\u06a9 \u0645\u06cc\u200c\u0645\u0627\u0646\u062f).<\/li>\n<\/ul>\n\n<p><strong>\u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u0654 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc<\/strong><\/p>\n\n<ul>\n<li>\u0645\u0642\u0627\u0644\u0647\u0654 \u06a9\u0627\u0645\u0644 \u0648 \u0622\u0645\u0627\u062f\u0647\u0654 \u0633\u0626\u0648 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f \u0648 \u0628\u0631\u0627\u06cc \u0628\u0627\u0632\u0628\u06cc\u0646\u06cc \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0646\u0648\u06cc\u0633 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u062d\u0627\u0644\u062a \u06a9\u0646\u0633\u0648\u0644 WP-Hub (\u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc\u060c \u0628\u062f\u0648\u0646 \u06a9\u0644\u06cc\u062f API): \u06a9\u0646\u0633\u0648\u0644 \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0645\u0646\u062a\u0634\u0631\u0634\u062f\u0647\u0654 \u0633\u0627\u06cc\u062a \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0644\u06cc\u0646\u06a9 \u062f\u0627\u062e\u0644\u06cc \u0648 \u062a\u0635\u0648\u06cc\u0631 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647\u0654 \u0631\u0633\u0627\u0646\u0647 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0639\u0646\u0648\u0627\u0646 \u0633\u0626\u0648\u060c \u062a\u0648\u0636\u06cc\u062d \u0645\u062a\u0627\u060c \u06a9\u0644\u06cc\u062f\u0648\u0627\u0698\u0647\u0654 \u0627\u0635\u0644\u06cc \u0648 \u0627\u0633\u06a9\u06cc\u0645\u0627\u06cc FAQ \u0631\u0627 \u067e\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0633\u0647\u0645\u06cc\u0647\u0654 \u0645\u0627\u0647\u0627\u0646\u0647 \u0627\u0632 \u0637\u0631\u062d \u06a9\u0646\u0633\u0648\u0644 \u0634\u0645\u0627 \u0645\u06cc\u200c\u0622\u06cc\u062f \u0648 \u0628\u062f\u0648\u0646 \u0627\u062c\u0627\u0632\u0647\u0654 \u0634\u0645\u0627 \u0647\u06cc\u0686 \u0645\u0637\u0644\u0628\u06cc \u0645\u0646\u062a\u0634\u0631 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n<li>\u062d\u0627\u0644\u062a \u0627\u0631\u0627\u0626\u0647\u200c\u062f\u0647\u0646\u062f\u0647\u0654 \u062f\u0644\u062e\u0648\u0627\u0647: \u06a9\u0644\u06cc\u062f API \u062e\u0648\u062f\u062a\u0627\u0646 \u0628\u0627 OpenAI\u060c Anthropic\u060c Google Gemini\u060c OpenRouter\u060c DeepSeek\u060c Groq\u060c Mistral\u060c AvalAI\u060c GapGPT\u060c Metis AI\u060c \u0645\u062f\u0644 \u0645\u062d\u0644\u06cc (Ollama \u06cc\u0627 LM Studio) \u06cc\u0627 \u0647\u0631 \u0633\u0631\u0648\u06cc\u0633 \u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 OpenAI\u061b \u062f\u0631 \u0648\u0631\u062f\u067e\u0631\u0633 \u06f7 \u0628\u0647 \u0628\u0627\u0644\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u0631\u0627\u0626\u0647\u200c\u062f\u0647\u0646\u062f\u0647\u0654 \u0645\u062a\u0635\u0644 \u062f\u0631 \u00ab\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u2192 \u0627\u062a\u0635\u0627\u0644\u200c\u0647\u0627\u00bb \u0647\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u067e\u0631\u0627\u0645\u067e\u062a \u0633\u06cc\u0633\u062a\u0645\u060c \u0645\u0648\u0636\u0648\u0639 \u0633\u0627\u06cc\u062a\u060c \u0645\u0639\u0631\u0641\u06cc \u06a9\u0633\u0628\u200c\u0648\u06a9\u0627\u0631\u060c \u0645\u062e\u0627\u0637\u0628\u060c \u0644\u062d\u0646 \u0628\u0631\u0646\u062f\u060c \u0632\u0628\u0627\u0646\u060c \u0642\u0648\u0627\u0639\u062f \u0646\u06af\u0627\u0631\u0634\u060c \u0637\u0648\u0644 \u0645\u0642\u0627\u0644\u0647\u060c \u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u062e\u0644\u06cc \u0648 FAQ \u0631\u0627 \u062e\u0648\u062f\u062a\u0627\u0646 \u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0648 \u067e\u06cc\u0634 \u0627\u0632 \u0646\u0648\u0634\u062a\u0646\u060c \u0627\u062a\u0635\u0627\u0644 \u0631\u0627 \u0622\u0632\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f.<\/li>\n<\/ul>\n\n<p><strong>\u0645\u062d\u062a\u0648\u0627 \u0648 \u0633\u0626\u0648<\/strong><\/p>\n\n<ul>\n<li>\u0647\u0645\u0627\u0647\u0646\u06af \u0628\u0627 Yoast SEO\u060c Rank Math \u0648 All in One SEO\u061b \u0628\u062f\u0648\u0646 \u0627\u06cc\u0646 \u0627\u0641\u0632\u0648\u0646\u0647\u200c\u0647\u0627 \u0647\u0645 \u062a\u0648\u0636\u06cc\u062d \u0645\u062a\u0627 \u0648 \u0627\u0633\u06a9\u06cc\u0645\u0627\u06cc FAQ \u0645\u0642\u0627\u0644\u0647\u200c\u0647\u0627\u06cc \u062e\u0648\u062f\u0634 \u0631\u0627 \u0686\u0627\u067e \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n<li>\u06a9\u0646\u0633\u0648\u0644 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0645\u062d\u062a\u0648\u0627\u06cc \u0645\u0646\u062a\u0634\u0631\u0634\u062f\u0647 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u062f \u0648 \u0645\u0642\u0627\u0644\u0647 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0645\u0633\u06cc\u0631\u0647\u0627\u06cc REST \u0627\u0645\u0636\u0627\u0634\u062f\u0647 \u0628\u0647 \u0633\u0627\u06cc\u062a \u0628\u0641\u0631\u0633\u062a\u062f\u061b \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0641\u0642\u0637 \u067e\u06cc\u0634\u200c\u0646\u0648\u06cc\u0633\u060c \u0645\u06af\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u0627\u0646\u062a\u0634\u0627\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645 \u0631\u0627 \u0645\u062c\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f (\u0627\u062e\u062a\u06cc\u0627\u0631\u06cc\u060c \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u062e\u0627\u0645\u0648\u0634): \u0646\u0648\u0634\u062a\u0647\u0654 \u0645\u0646\u062a\u0634\u0631\u0634\u062f\u0647 \u0631\u0627 \u062f\u0631 \u06a9\u0646\u0633\u0648\u0644 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f\u060c \u062f\u0633\u062a\u06cc \u06cc\u0627 \u0628\u0627 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f \u0648 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0631\u0627 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u06cc\u062f. \u0645\u062a\u0646 \u0645\u0642\u0627\u0644\u0647\u200c\u0647\u0627 \u0648 \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0628\u0627\u0632\u0634\u062f\u0647 \u0628\u0647\u200c\u0637\u0648\u0631 \u0645\u0648\u0642\u062a \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u06a9\u0646\u0633\u0648\u0644 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0648\u06cc\u0631\u0627\u06cc\u0634\u0634\u0627\u0646 \u06a9\u0646\u06cc\u062f\u061b \u0646\u0633\u062e\u0647\u0654 \u06a9\u0646\u0633\u0648\u0644\u06cc\u0650 \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u06f3\u06f0 \u0631\u0648\u0632 \u067e\u0633 \u0627\u0632 \u0622\u062e\u0631\u06cc\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u067e\u0627\u06a9 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0648\u0636\u0639\u06cc\u062a \u0648 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u0654 \u0646\u0648\u0634\u062a\u0647 \u0639\u0648\u0636 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0648\u0631\u062f\u067e\u0631\u0633 \u0631\u0648\u0646\u0648\u0634\u062a \u0642\u0628\u0644\u06cc \u0631\u0627 \u0646\u06af\u0647 \u0645\u06cc\u200c\u062f\u0627\u0631\u062f. \u0628\u0631\u06af\u0647\u200c\u0647\u0627 \u0648 \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0641\u0642\u0637 \u062e\u0648\u0627\u0646\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f (\u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u06a9 \u062f\u0627\u062e\u0644\u06cc \u0648 \u062a\u0635\u0648\u06cc\u0631) \u0648 \u0647\u0631\u06af\u0632 \u062a\u063a\u06cc\u06cc\u0631 \u0646\u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/li>\n<\/ul>\n\n<p><strong>\u062d\u0631\u06cc\u0645 \u062e\u0635\u0648\u0635\u06cc\u060c \u0646\u0635\u0628 \u0648 \u0633\u0627\u0632\u06af\u0627\u0631\u06cc<\/strong><\/p>\n\n<ul>\n<li>\u0622\u062f\u0631\u0633 IP \u062e\u0627\u0645 \u0648 \u0631\u0634\u062a\u0647\u0654 \u062e\u0627\u0645 User-Agent \u0630\u062e\u06cc\u0631\u0647 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f\u061b \u0634\u0646\u0627\u0633\u0647\u0654 \u0628\u0627\u0632\u062f\u06cc\u062f\u06a9\u0646\u0646\u062f\u0647 \u0647\u0634 \u0631\u0648\u0632\u0627\u0646\u0647 \u0627\u0633\u062a \u0648 \u0634\u0646\u0627\u0633\u0647\u0654 \u0646\u0634\u0633\u062a \u067e\u0646\u062c\u0631\u0647\u0654 \u06f3\u06f0 \u062f\u0642\u06cc\u0642\u0647\u200c\u0627\u06cc \u062f\u0627\u0631\u062f.<\/li>\n<li>\u0646\u0635\u0628: \u0627\u0632 \u00ab\u0627\u0641\u0632\u0648\u0646\u0647\u200c\u0647\u0627 \u2192 \u0627\u0641\u0632\u0648\u062f\u0646\u00bb \u06cc\u0627 \u0628\u0627 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc \u0641\u0627\u06cc\u0644 ZIP\u060c \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0648 \u0634\u0631\u0648\u0639 \u0622\u0645\u0627\u0631. \u0627\u062a\u0635\u0627\u0644 \u06a9\u0646\u0633\u0648\u0644 \u0648 \u0646\u0648\u06cc\u0633\u0646\u062f\u0647\u0654 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0627\u062e\u062a\u06cc\u0627\u0631\u06cc \u0627\u0633\u062a.<\/li>\n<li>\u0627\u06af\u0631 \u0627\u0632 \u06a9\u0634 \u06a9\u0627\u0645\u0644 \u0635\u0641\u062d\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u0628\u0639\u062f \u0627\u0632 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u06cc\u06a9\u200c\u0628\u0627\u0631 \u06a9\u0634 \u0631\u0627 \u067e\u0627\u06a9 \u06a9\u0646\u06cc\u062f.<\/li>\n<li>\u0633\u0627\u0632\u06af\u0627\u0631 \u0628\u0627 \u0648\u0631\u062f\u067e\u0631\u0633 \u06f6\u066b\u06f2 \u0628\u0647 \u0628\u0627\u0644\u0627 (\u062a\u0633\u062a\u200c\u0634\u062f\u0647 \u062a\u0627 \u06f7\u066b\u06f1) \u0648 PHP \u06f7\u066b\u06f4 \u0628\u0647 \u0628\u0627\u0644\u0627. \u0631\u0627\u0628\u0637 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0627\u0646\u06af\u0644\u06cc\u0633\u06cc \u0627\u0633\u062a \u0648 \u062a\u0631\u062c\u0645\u0647\u0654 \u0641\u0627\u0631\u0633\u06cc \u0647\u0645\u0631\u0627\u0647 \u0627\u0641\u0632\u0648\u0646\u0647\u060c \u0648\u0642\u062a\u06cc \u0632\u0628\u0627\u0646 \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u0641\u0627\u0631\u0633\u06cc \u0628\u0627\u0634\u062f\u060c \u062e\u0648\u062f\u06a9\u0627\u0631 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/li>\n<li>\u0647\u0645\u0647\u0654 \u0627\u0645\u06a9\u0627\u0646\u0627\u062a \u0627\u06cc\u0646 \u0627\u0641\u0632\u0648\u0646\u0647 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0627\u0633\u062a \u0648 \u0647\u06cc\u0686 \u0642\u0627\u0628\u0644\u06cc\u062a\u06cc \u067e\u0634\u062a \u0646\u0633\u062e\u0647\u0654 \u067e\u0648\u0644\u06cc \u0642\u0641\u0644 \u0646\u0634\u062f\u0647 \u0627\u0633\u062a.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>Statwrite works fully without any external service. It contacts a remote service only after you turn on one of the features below.<\/p>\n\n<p><strong>WP-Hub console<\/strong> \u2014 https:\/\/console.wp-hub.org<\/p>\n\n<ul>\n<li>Used only after you save a site key in <strong>Settings<\/strong> or the <strong>AI Writer<\/strong>.<\/li>\n<li>Console reports: the dashboard requests the latest speed, security and uptime results for your site (sends the site key).<\/li>\n<li>Console storage mode: every five minutes, or when you press \"Send queue now\", queued analytics events are sent: site URL and host, WordPress version, plugin version, timezone, page paths and titles, referrer host, channel, device, browser, operating system, country code, hashed visitor and session identifiers, visit grade, timestamps, engagement time, scroll depth, event counts, and the visitor IP address (used for country and datacenter classification, not stored).<\/li>\n<li>AI Writer (console mode): when you save a site key, Statwrite also generates a private content key on your site and registers it with the console over HTTPS; the console never sends keys back. With it, the console can call this site's signed REST routes (<code>\/wp-json\/wphub-content\/v1\/<\/code>) to read published posts, pages, products (WooCommerce), categories, tags and metadata of images that belong to published content, and to create drafts (or published posts, only if you allow it). Products are only read, as internal link targets and image sources; they are never changed. Article topics and options you enter are sent to the console when you press \"Write with the console\".<\/li>\n<li>Editing existing posts (off by default; turn on <strong>Allow the console to edit existing posts<\/strong> under <strong>AI Writer \u2192 Publishing permissions<\/strong>): the console can read the full content, excerpt, categories, tags, featured image and SEO fields of a published post you choose to open, and write your edited version back to that same post. The post keeps its status and author, WordPress stores a revision, and the update is refused if the post was changed in WordPress after it was opened. Pages, products and page-builder layouts are never changed.<\/li>\n<li>Temporary storage on the console: generated articles and the posts you open for editing are stored on the console server so you can edit them by hand or with AI before sending them to your site. Copies of existing posts are deleted automatically 30 days after their last change; you can delete any article in the console at any time. When you use AI editing, the article text and your instruction are sent by the console to its AI provider.<\/li>\n<li>Outage fallback: if the console does not answer at all for 6 hours while Console storage is active, Statwrite switches back to on-site storage automatically, counts the queued visits locally and shows a notice; you choose when to return to the console.<\/li>\n<li>Terms of Use: https:\/\/wp-hub.org\/terms<\/li>\n<li>Privacy Policy: https:\/\/wp-hub.org\/privacy<\/li>\n<\/ul>\n\n<p><strong>Your own AI provider<\/strong> (AI Writer, manual mode)<\/p>\n\n<ul>\n<li>Used only when you configure a provider and press \"Test connection\" or \"Write article\".<\/li>\n<li>Sent directly from your site to the provider URL you entered: your API key, the system prompt, the site details you filled in (name, domain, topic, business description, audience, voice, region, house rules), the article brief, and the titles and URLs of up to 25 recent published posts and pages for internal links.<\/li>\n<li>Preset providers and their terms and privacy policies:\n\n<ul>\n<li>OpenAI \u2014 https:\/\/openai.com\/policies\/terms-of-use \u2014 https:\/\/openai.com\/policies\/privacy-policy<\/li>\n<li>Anthropic \u2014 https:\/\/www.anthropic.com\/legal\/commercial-terms \u2014 https:\/\/www.anthropic.com\/legal\/privacy<\/li>\n<li>Google Gemini \u2014 https:\/\/ai.google.dev\/gemini-api\/terms \u2014 https:\/\/policies.google.com\/privacy<\/li>\n<li>OpenRouter \u2014 https:\/\/openrouter.ai\/terms \u2014 https:\/\/openrouter.ai\/privacy<\/li>\n<li>DeepSeek \u2014 https:\/\/www.deepseek.com (terms and privacy policy linked in the site footer)<\/li>\n<li>Groq \u2014 https:\/\/groq.com (terms and privacy policy linked in the site footer)<\/li>\n<li>Mistral AI \u2014 https:\/\/mistral.ai\/terms<\/li>\n<li>AvalAI \u2014 https:\/\/avalai.ir (terms and privacy policy on the provider's website)<\/li>\n<li>GapGPT \u2014 https:\/\/gapgpt.app (terms and privacy policy on the provider's website)<\/li>\n<li>Metis AI \u2014 https:\/\/metisai.ir (terms and privacy policy on the provider's website)<\/li>\n<\/ul><\/li>\n<li>With \"WordPress AI\", the request is sent by WordPress itself to the provider you connected in <strong>Settings \u2192 Connectors<\/strong>, under that provider's terms.<\/li>\n<li>With a self-hosted or custom URL, data goes only to the server you entered.<\/li>\n<\/ul>\n\n<h3>Credits<\/h3>\n\n<p>The admin interface uses the Vazirmatn font, licensed under the SIL Open Font License 1.1. The license text is included at <code>admin\/assets\/fonts\/OFL.txt<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from <strong>Plugins \u2192 Add New<\/strong>, or upload the ZIP file.<\/li>\n<li>Activate it. Analytics start immediately and are stored on your site.<\/li>\n<li>Optional: open <strong>Statwrite \u2192 Settings<\/strong>, paste a free site key from https:\/\/console.wp-hub.org to add speed, security and uptime reports.<\/li>\n<li>Optional: open <strong>Statwrite \u2192 AI Writer<\/strong> and choose the WP-Hub console or your own AI provider.<\/li>\n<li>If you use a full-page cache, clear it once after activation so the tracker is included in cached pages.<\/li>\n<li>If WP-Cron is disabled, run the <code>wphs_aggregate<\/code> and <code>wphs_cloud_sync<\/code> events from a real cron job or use the manual buttons under <strong>Settings \u2192 Diagnostics<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20use%20cookies%3F\"><h3>Does this plugin use cookies?<\/h3><\/dt>\n<dd><p>No. The tracker does not set cookies, use local storage, or create a cross-site identifier.<\/p><\/dd>\n<dt id=\"do%20i%20need%20a%20wp-hub%20account%3F\"><h3>Do I need a WP-Hub account?<\/h3><\/dt>\n<dd><p>No. Analytics and the AI Writer with your own provider work without an account. Console reports, console storage and the console AI writer need a free site key.<\/p><\/dd>\n<dt id=\"is%20the%20ai%20writer%20free%3F\"><h3>Is the AI Writer free?<\/h3><\/dt>\n<dd><p>With your own provider, Statwrite itself is free; you pay your provider directly, or nothing for a self-hosted model. In console mode, the number of articles per month depends on your WP-Hub plan and is shown on the AI Writer screen.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20the%20console%20cannot%20be%20reached%3F\"><h3>What happens if the console cannot be reached?<\/h3><\/dt>\n<dd><p>Analytics are never lost. If the console gives no answer for 6 hours (for example during a regional internet outage), Statwrite switches to on-site storage, counts the queued visits locally and shows a notice with a button to return to the console once it is reachable. Console article writing is unavailable until the connection returns.<\/p><\/dd>\n<dt id=\"can%20the%20console%20publish%20to%20my%20site%20without%20asking%3F\"><h3>Can the console publish to my site without asking?<\/h3><\/dt>\n<dd><p>No. By default it can only create drafts or pending posts. Direct publishing must be turned on under <strong>AI Writer \u2192 Publishing permissions<\/strong>, and you can disconnect at any time. Editing existing posts is a separate option there and is off by default.<\/p><\/dd>\n<dt id=\"does%20it%20slow%20down%20my%20site%3F\"><h3>Does it slow down my site?<\/h3><\/dt>\n<dd><p>The front-end tracker is a small deferred file served from your own site. Local mode writes one lightweight line per pageview to a spool file and processes it in batches with WP-Cron. Cloud mode sends batches every five minutes and never blocks page rendering.<\/p><\/dd>\n<dt id=\"what%20is%20stored%20about%20visitors%3F\"><h3>What is stored about visitors?<\/h3><\/dt>\n<dd><p>See the Privacy section. In Local mode the plugin stores aggregate dimensions and daily hashed identifiers, not raw IP addresses or raw User-Agent strings.<\/p><\/dd>\n<dt id=\"does%20it%20track%20logged-in%20users%3F\"><h3>Does it track logged-in users?<\/h3><\/dt>\n<dd><p>Not by default. You can enable it in the settings.<\/p><\/dd>\n<dt id=\"does%20it%20respect%20do%20not%20track%3F\"><h3>Does it respect Do Not Track?<\/h3><\/dt>\n<dd><p>Yes. DNT and GPC are respected by default. You can change this in the settings.<\/p><\/dd>\n<dt id=\"how%20do%20i%20delete%20the%20data%3F\"><h3>How do I delete the data?<\/h3><\/dt>\n<dd><p>In console storage mode, use <strong>Settings \u2192 Diagnostics \u2192 Purge old local data<\/strong> to remove leftover local summaries. To drop the analytics tables on uninstall, enable <strong>Settings \u2192 Advanced \u2192 Delete all Statwrite data when the plugin is deleted<\/strong>. Keys and AI provider credentials are always removed on uninstall.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20caching%20plugins%3F\"><h3>Does it work with caching plugins?<\/h3><\/dt>\n<dd><p>Yes. Clear the page cache once after activation. The server-side pageview is recorded on PHP requests; the browser tracker confirms the visit and sends engagement data.<\/p><\/dd>\n<dt id=\"does%20it%20work%20on%20multisite%3F\"><h3>Does it work on multisite?<\/h3><\/dt>\n<dd><p>The plugin uses the current site's database prefix. Multisite network activation is not officially tested.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20add%20a%20credit%20or%20link%20to%20my%20site%3F\"><h3>Does the plugin add a credit or link to my site?<\/h3><\/dt>\n<dd><p>No. Statwrite adds nothing to your public pages except the cookie-free tracker script.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>New, off by default: allow the console to edit existing posts. Open a published post in the console, edit it by hand or with AI, and send the changes back to the same post.<\/li>\n<li>Existing posts keep their status and author, WordPress keeps a revision, and an update is refused if the post changed in WordPress after it was opened.<\/li>\n<li>Posts built with Elementor, Divi or Beaver Builder, and posts with embeds or scripts that WordPress would strip on save, are never edited.<\/li>\n<li>Pages and WooCommerce products remain read-only (internal links and images).<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Renamed to Statwrite (slug: statwrite).<\/li>\n<li>New AI Writer with two modes: the WP-Hub console (no API key, console quota) or your own AI provider (OpenAI-compatible presets, self-hosted models, or the WordPress 7 AI Client), with connection testing, model list, system prompt and detailed site profile.<\/li>\n<li>The console can now read published content and send articles to the site through signed REST routes, replacing the separate WP-Hub Content Connector plugin. Drafts only unless you allow publishing.<\/li>\n<li>SEO fields for Yoast SEO, Rank Math and All in One SEO, plus FAQ schema.<\/li>\n<li>Simpler settings: the site key is always available, privacy and retention side by side, advanced options and diagnostics folded away. The saved key is no longer shown in the form.<\/li>\n<li>Removed the source credit option; the plugin adds no credit to your pages.<\/li>\n<li>Removed the basic local security check card; console security reports are unchanged.<\/li>\n<li>One site key connects everything: saving it also turns on console article writing, with no separate step. Disconnect removes it everywhere.<\/li>\n<li>The plugin no longer hides WordPress and other plugins' notices on its pages.<\/li>\n<li>Admin scripts and the menu icon style moved to enqueued files; no inline scripts or styles.<\/li>\n<li>The temporary queue now lives in the uploads directory (<code>uploads\/statwrite\/<\/code>), protected from direct access.<\/li>\n<li>Translations: the bundled Persian translation is loaded by WordPress automatically from the plugin's languages folder (no custom loader); translations from translate.wordpress.org take priority.<\/li>\n<li>The content signing key is generated on your site and only registered with the console; it is never sent back.<\/li>\n<li>Automatic fallback to on-site analytics after 6 hours without an answer from the console, with an admin notice to switch back.<\/li>\n<li>Rejected console requests are logged at most once a minute; media of unpublished posts is not shared with the console.<\/li>\n<li>The stored AI provider key is only ever sent to the saved provider address.<\/li>\n<li>WooCommerce products can be used as internal link targets.<\/li>\n<li>Requires WordPress 6.2 or later: every database query uses prepared statements, including table names.<\/li>\n<li>All request data is sanitized when it is read, and all output is escaped.<\/li>\n<li>The admin menu now sits just above Appearance.<\/li>\n<li>Saving settings no longer removes a connected site key.<\/li>\n<\/ul>\n\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Source credit text updated in both the HTML comment and the generator meta tag.<\/li>\n<li>Simpler visitor labels: \"Browser detected\", \"No browser\", and \"Bot\" replace the technical Verified, No-JS, and Suspect labels.<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Send tracking beacons through admin-ajax.php so collection works on sites where the CDN blocks POST requests to the REST API.<\/li>\n<li>Keep the tracker in cacheable HTML even when a cache entry is created by a bot or a request that is not counted, so real visitors on cached pages are still tracked.<\/li>\n<li>Exclude the tracker from LiteSpeed Cache JS optimization and delay, and pass the tracker configuration on the script tag.<\/li>\n<li>Add a generator meta tag so the source credit remains visible when HTML minification removes comments.<\/li>\n<li>Cloud mode now always sends the visitor IP for country and datacenter classification; the separate \"Send visitor IP\" option was removed.<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<li>Cookie-free local analytics with a dashboard for pageviews, visitors, sessions, bounce rate, engaged time, pages, sources, devices, and events.<\/li>\n<li>User-Agent and browser-signal bot filtering.<\/li>\n<li>Browser-detected, all, no-browser, and bot report modes.<\/li>\n<li>Tiered data retention.<\/li>\n<li>Optional cloud sync to the WP-Hub console with HMAC-SHA256, gzip, queue, and backoff.<\/li>\n<li>Optional source credit comment.<\/li>\n<li>Basic security check card for directory listing, REST users, wp-admin exposure, security plugins, file editing, and debug display.<\/li>\n<li>English admin interface with a Persian translation that follows the site or user locale.<\/li>\n<\/ul>","raw_excerpt":"Cookie-free analytics and an AI article writer, with optional WP-Hub console reports for speed, security and uptime.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/403044","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=403044"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mrnoctis"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=403044"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=403044"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=403044"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=403044"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=403044"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=403044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}