{"id":373703,"date":"2026-09-23T12:16:43","date_gmt":"2026-09-23T12:16:43","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/profit-intelligence-for-woocommerce\/"},"modified":"2026-09-23T14:22:06","modified_gmt":"2026-09-23T14:22:06","slug":"sanghare-margin-analytics-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/sanghare-margin-analytics-for-woocommerce\/","author":23571702,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.9","stable_tag":"1.0.9","tested":"7.1.2","requires":"6.7","requires_php":"8.1","requires_plugins":null,"header_name":"Sanghare Margin Analytics for WooCommerce","header_author":"Sadio SANGHARE","header_description":"Analyze WooCommerce net revenue, historical COGS, gross profit, gross margin and data quality locally in WordPress.","assets_banners_color":"","last_updated":"2026-09-23 14:22:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":44,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.9":{"tag":"1.0.9","author":"sadiosan23","date":"2026-09-23 14:22:06","revision":3709495}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3709541,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3709541,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3709687,"resolution":"1","location":"assets","locale":"","width":3760,"height":1585},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3709687,"resolution":"2","location":"assets","locale":"","width":3780,"height":1587},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3709687,"resolution":"3","location":"assets","locale":"","width":3772,"height":1580},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3709687,"resolution":"4","location":"assets","locale":"","width":3765,"height":1552},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3709687,"resolution":"5","location":"assets","locale":"","width":3737,"height":1667}},"screenshots":{"1":"Margin overview with revenue, gross profit and Data Quality KPIs.","2":"Order profitability with historical COGS provenance.","3":"Product profitability and gross-margin analysis.","4":"Data Quality coverage and anomalies.","5":"Diagnostics and recalculation history."}},"plugin_section":[],"plugin_tags":[232,233971,11938,6882,286],"plugin_category":[36,45],"plugin_contributors":[282271],"plugin_business_model":[],"class_list":["post-373703","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-cogs","plugin_tags-margin","plugin_tags-profit","plugin_tags-woocommerce","plugin_category-analytics","plugin_category-ecommerce","plugin_contributors-sadiosan23","plugin_committers-sadiosan23"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sanghare-margin-analytics-for-woocommerce\/assets\/icon-128x128.png?rev=3709541","icon_2x":"https:\/\/ps.w.org\/sanghare-margin-analytics-for-woocommerce\/assets\/icon-256x256.png?rev=3709541","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sanghare-margin-analytics-for-woocommerce\/assets\/screenshot-1.png?rev=3709687","caption":"Margin overview with revenue, gross profit and Data Quality KPIs."},{"src":"https:\/\/ps.w.org\/sanghare-margin-analytics-for-woocommerce\/assets\/screenshot-2.png?rev=3709687","caption":"Order profitability with historical COGS provenance."},{"src":"https:\/\/ps.w.org\/sanghare-margin-analytics-for-woocommerce\/assets\/screenshot-3.png?rev=3709687","caption":"Product profitability and gross-margin analysis."},{"src":"https:\/\/ps.w.org\/sanghare-margin-analytics-for-woocommerce\/assets\/screenshot-4.png?rev=3709687","caption":"Data Quality coverage and anomalies."},{"src":"https:\/\/ps.w.org\/sanghare-margin-analytics-for-woocommerce\/assets\/screenshot-5.png?rev=3709687","caption":"Diagnostics and recalculation history."}],"raw_content":"<!--section=description-->\n<p>Sanghare Margin Analytics for WooCommerce provides a fully functional local profitability analytics workflow for WooCommerce stores.<\/p>\n\n<p>Core capabilities:<\/p>\n\n<ul>\n<li>Historical COGS snapshots so past margin calculations remain reproducible when product costs change.<\/li>\n<li>Net revenue, COGS, gross profit and gross margin analytics.<\/li>\n<li>Order-level and product-level profitability views.<\/li>\n<li>Refund-aware calculations.<\/li>\n<li>Profit Data Quality scoring focused on COGS coverage and reliability.<\/li>\n<li>Background backfills and recalculation audit history.<\/li>\n<li>HPOS-safe WooCommerce order APIs.<\/li>\n<li>Dedicated plugin tables for analytics data.<\/li>\n<\/ul>\n\n<p>All analytics calculations in this WordPress.org package run locally on the site, and every included feature is available immediately after activation.<\/p>\n\n<h3>Privacy<\/h3>\n\n<p>Sanghare Margin Analytics for WooCommerce processes WooCommerce profitability analytics locally in the WordPress database. The WordPress.org edition does not require a license service and does not intentionally transmit order-level revenue, COGS, margin or customer-order analytics to an external service.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate WooCommerce 10.3 or newer.<\/li>\n<li>Upload or install Sanghare Margin Analytics for WooCommerce.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Open WooCommerce &gt; Margin Analytics.<\/li>\n<li>Build the initial analytics dataset when prompted.<\/li>\n<li>Review Data Quality before relying on historical profitability reports.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20plugin%20modify%20historical%20product%20costs%3F\"><h3>Does the plugin modify historical product costs?<\/h3><\/dt>\n<dd><p>No. Historical cost snapshots are stored separately so previously calculated orders remain reproducible.<\/p><\/dd>\n<dt id=\"is%20hpos%20supported%3F\"><h3>Is HPOS supported?<\/h3><\/dt>\n<dd><p>Yes. The plugin uses WooCommerce order APIs and declares HPOS compatibility.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20send%20store%20analytics%20to%20an%20external%20service%3F\"><h3>Does the plugin send store analytics to an external service?<\/h3><\/dt>\n<dd><p>No. This WordPress.org package performs its profitability calculations locally and does not require a remote analytics or licensing service.<\/p><\/dd>\n<dt id=\"what%20is%20the%20profit%20data%20quality%20score%3F\"><h3>What is the Profit Data Quality Score?<\/h3><\/dt>\n<dd><p>It measures the coverage and reliability of the cost data used for gross-profit analytics. It does not grade the financial performance of the store.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Resolved the final Plugin Check <code>WordPress.DB.PreparedSQL.NotPrepared<\/code> finding in AnalyticsRepository.<\/li>\n<li>Every <code>wpdb::prepare()<\/code> call now receives a literal query string with matching replacement values.<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Hardened dynamic analytics status\/date filtering and uninstall database cleanup for Plugin Check.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Rebranded the WordPress.org edition as Sanghare Margin Analytics for WooCommerce.<\/li>\n<li>Removed all licensing, premium gating and paid-feature implementation from the WordPress.org package.<\/li>\n<li>Removed bundled translation binaries so translations can be managed through translate.wordpress.org.<\/li>\n<li>Updated the WordPress.org contributor to sadiosan23.<\/li>\n<li>Kept the free package fully functional for local COGS, gross-profit and data-quality analytics.<\/li>\n<\/ul>","raw_excerpt":"Analyze WooCommerce net revenue, historical COGS, gross profit, gross margin and data quality directly inside WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/373703","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=373703"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sadiosan23"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=373703"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=373703"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=373703"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=373703"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=373703"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=373703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}