{"id":294693,"date":"2026-06-12T20:34:45","date_gmt":"2026-06-12T20:34:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/profit-warden-bridge\/"},"modified":"2026-08-26T22:08:23","modified_gmt":"2026-08-26T22:08:23","slug":"profit-warden-bridge","status":"publish","type":"plugin","link":"https:\/\/ar.wordpress.org\/plugins\/profit-warden-bridge\/","author":23463479,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.1.11","stable_tag":"trunk","tested":"","requires":"5.3","requires_php":"7.2","requires_plugins":null,"header_name":"Profit Warden","header_author":"","header_description":"Sends data to Python from both Backend (Admin) and Frontend (Checkout).","assets_banners_color":"11424b","last_updated":"2026-08-26 22:08:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":346,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"3.1.7":{"tag":"3.1.7","author":"beralabs","date":"2026-06-13 10:20:35","revision":3570950},"3.1.8":{"tag":"3.1.8","author":"beralabs","date":"2026-06-23 22:53:48","revision":3583850},"3.1.9":{"tag":"3.1.9","author":"beralabs","date":"2026-06-28 10:09:30","revision":3588658}},"upgrade_notice":{"3.1.9":"<p>WooCommerce version compatibility headers updated and HPOS fully declared. Recommended update for all users on WooCommerce 7+.<\/p>","3.1.5":"<p>Performance improvements for the local calculation engine and compatibility updates.<\/p>","3.1.4":"<p>Introduces the new Ads Integration Dashboard to monitor marketing performance directly from WordPress.<\/p>","3.1.2":"<p>Fixes critical tracking issues with UTM parameters. Update recommended for accurate ad attribution.<\/p>","3.1.1":"<p>New onboarding flow and security enhancements.<\/p>","2.2-beta":"<p>This version introduces cron-based reporting and fixes minor compliance issues. Please review your settings under Profit Warden after updating.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3570950,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3570950,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3570950,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3570950,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["3.1.7","3.1.8","3.1.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3570950,"resolution":"1","location":"assets","locale":"","width":1402,"height":894},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3570950,"resolution":"2","location":"assets","locale":"","width":1756,"height":1003},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3571331,"resolution":"3","location":"assets","locale":"","width":1714,"height":1029}},"screenshots":{"1":"Profit Warden - Main Dashboard and Financial Charts.","2":"Profit Warden - Variable and Fixed Costs Configuration.","3":"WooCommerce Order Details - Profit Analysis Box.","4":"Ads Integration Dashboard."}},"plugin_section":[],"plugin_tags":[226589,222537,236646,257359,256207],"plugin_category":[36,45],"plugin_contributors":[266887],"plugin_business_model":[],"class_list":["post-294693","plugin","type-plugin","status-publish","hentry","plugin_tags-order-analytics","plugin_tags-profit-calculator","plugin_tags-profit-margin","plugin_tags-roas","plugin_tags-woocommerce-profit","plugin_category-analytics","plugin_category-ecommerce","plugin_contributors-beralabs","plugin_committers-beralabs"],"banners":{"banner":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/banner-772x250.png?rev=3570950","banner_2x":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/banner-1544x500.png?rev=3570950","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/icon-128x128.png?rev=3570950","icon_2x":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/icon-256x256.png?rev=3570950","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/screenshot-1.png?rev=3570950","caption":"Profit Warden - Main Dashboard and Financial Charts."},{"src":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/screenshot-2.png?rev=3570950","caption":"Profit Warden - Variable and Fixed Costs Configuration."},{"src":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/screenshot-3.png?rev=3571331","caption":"WooCommerce Order Details - Profit Analysis Box."}],"raw_content":"<!--section=description-->\n<p><strong>Stop running your WooCommerce store blind.<\/strong> Profit Warden is the ultimate <strong>WooCommerce profit calculator<\/strong> that reveals the true financial health of your store \u2014 order by order, campaign by campaign.<\/p>\n\n<p>Most store owners look at revenue and think they're doing great. But revenue is vanity. <strong>Net profit is sanity.<\/strong> Profit Warden calculates the exact net profit and profit margin for every single WooCommerce order, accounting for <em>all<\/em> your real costs \u2014 not just the product price.<\/p>\n\n<blockquote>\n  <p><em>\"I thought I was making money. Profit Warden showed me I was losing \u20ac3 on every order from Meta Ads. Fixed it in a week.\"<\/em><\/p>\n<\/blockquote>\n\n\n\n<h3>\ud83c\udfaf Why Profit Warden?<\/h3>\n\n<p>Standard WooCommerce analytics tools give you <strong>gross revenue<\/strong>. That number ignores:<\/p>\n\n<ul>\n<li>Product purchase cost (COGS)<\/li>\n<li>Real carrier shipping cost vs. what the customer paid<\/li>\n<li>Packaging and handling costs<\/li>\n<li>Payment gateway fees (PayPal, Stripe, cash on delivery)<\/li>\n<li>Monthly fixed costs: hosting, SaaS, salaries, rent, accounting<\/li>\n<\/ul>\n\n<p>Profit Warden deducts <strong>all of these<\/strong> to show you the only number that matters: <strong>your real net profit<\/strong>.<\/p>\n\n\n\n<h3>\ud83d\udcca Features<\/h3>\n\n<p><strong>WooCommerce Profit Calculator \u2014 Order Level<\/strong>\n* Calculates net profit and profit margin percentage for every WooCommerce order automatically\n* Displays profit analysis box directly on the WooCommerce order detail page\n* Supports simple and variable products, each with its own Purchase Cost (COGS) field\n* Detects and handles partial and full refunds in real time<\/p>\n\n<p><strong>Comprehensive Cost Tracking<\/strong>\n* <strong>COGS (Cost of Goods Sold):<\/strong> Add a \"Purchase Cost (\u20ac)\" field to each product\n* <strong>Real Shipping Cost:<\/strong> Add an \"Actual Cost (\u20ac)\" field to each shipping method\/zone\n* <strong>Packaging Cost:<\/strong> Configure a flat packaging cost per order\n* <strong>Gateway Fees:<\/strong> Automatic estimation for PayPal (3.4% + fixed), Stripe (1.4% + fixed), and COD\n* <strong>Fixed Monthly Costs:<\/strong> Track hosting, SaaS platforms, ad agency retainers, employee salaries, rent, insurance, accounting, and more<\/p>\n\n<p><strong>Interactive Financial Dashboard<\/strong>\n* Real-time overview of Total Revenue, Net Profit, Average Margin %, Ad Spend, Real Net Profit, ROAS, Total Orders, Daily Burn Rate, and Break-Even Point\n* Beautiful, interactive Chart.js charts for performance trends\n* Configurable date ranges: Today, Last 7 Days, Last 30 Days, Last Year\n* Top Selling Products and Top Customers ranking tables\n* Order Intelligence Feed with live profit status for recent orders<\/p>\n\n<p><strong>True ROAS &amp; Ads Integration<\/strong>\n* Connect your <strong>Meta Ads account<\/strong> via secure OAuth to automatically import daily campaign ad spend\n* UTM parameter tracking via cookies: every WooCommerce order is attributed to the campaign that generated it (utm_source, utm_medium, utm_campaign, fbclid, gclid)\n* Calculate <strong>True ROAS<\/strong> \u2014 not revenue \u00f7 ad spend, but <strong>real net profit \u00f7 ad spend<\/strong>\n* Ads Performance Dashboard with Total Spend, Attributed Orders, Attributed Revenue, and ROAS per campaign<\/p>\n\n<p><strong>Automated WooCommerce Profit Reports<\/strong>\n* Email reports sent automatically via WP-Cron: daily, weekly, or monthly\n* Loss Alerts: instant email notification when an order is sold at a loss\n* Break-Even Point alerts: know exactly when you cross profitability each month<\/p>\n\n<p><strong>Setup &amp; Usability<\/strong>\n* Guided Setup Wizard on first activation \u2014 no configuration headaches\n* Configuration Health Check panel to verify all parameters are properly set\n* HPOS (High Performance Order Storage) compatible \u2014 ready for modern WooCommerce\n* Clean, minimal WordPress admin UI<\/p>\n\n\n\n<h3>\ud83d\udd12 Data Privacy &amp; External Service<\/h3>\n\n<p>When <strong>Data Sync<\/strong> is enabled (explicit opt-in required), Profit Warden sends WooCommerce order data to the Templatebera API (<code>api.templatebera.com<\/code>) for profit calculation and campaign attribution. <strong>No personally identifiable customer data is transmitted.<\/strong> The Ads Integration feature uses OAuth via the same service to connect your Meta Ads account. You can disable data sync at any time from the Settings page.<\/p>\n\n\n\n<h3>\ud83d\udc64 Who Is Profit Warden For?<\/h3>\n\n<ul>\n<li><strong>WooCommerce store owners<\/strong> who want to know if they're actually making money \u2014 not just revenue<\/li>\n<li><strong>eCommerce managers<\/strong> tracking multiple cost centers (warehouse, staff, SaaS, logistics)<\/li>\n<li><strong>Digital marketing agencies<\/strong> managing WooCommerce clients who need real ROAS data, not inflated revenue-based ROAS<\/li>\n<li><strong>Dropshippers<\/strong> who need to factor in real COGS and shipping margins at the order level<\/li>\n<li><strong>Accountants and CFOs<\/strong> who need automated profit reports instead of manual spreadsheets<\/li>\n<\/ul>\n\n\n\n<h3>\u26a1 Get Started in 3 Steps<\/h3>\n\n<ol>\n<li>Install and activate Profit Warden \u2014 a setup wizard will launch automatically<\/li>\n<li>Enter your variable costs (packaging, shipping, gateway fees) and fixed monthly costs (hosting, SaaS, etc.)<\/li>\n<li>Set the \"Purchase Cost\" on each product \u2014 Profit Warden does the rest automatically<\/li>\n<\/ol>\n\n\n\n<h3>Videos<\/h3>\n\n<ol>\n<li>[youtube https:\/\/youtu.be\/-LeIQ67hU98?is=YnewN-HrlfIKuOix]<\/li>\n<li>[youtube https:\/\/youtu.be\/yx2B6A0ekr8?is=FT_0Xgpp85SgFwbu]<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>profit-warden<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install directly from the WordPress Plugin Directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>A <strong>Setup Wizard<\/strong> will guide you through the initial configuration: enter your report email, variable costs (packaging, default shipping, gateway fees), and fixed monthly costs.<\/li>\n<li>Go to <strong>Profit Warden \u2192 Costs<\/strong> to review or update your cost structure at any time.<\/li>\n<li>Edit your WooCommerce products and fill in the <strong>\"Purchase Cost (\u20ac)\"<\/strong> field in the General tab.<\/li>\n<li>Edit each WooCommerce shipping method and fill in the <strong>\"Actual Cost (\u20ac)\"<\/strong> field added by Profit Warden.<\/li>\n<li><em>(Optional)<\/em> Go to <strong>Profit Warden \u2192 Ads Integration<\/strong> to connect your Meta Ads account and enable True ROAS tracking.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20does%20profit%20warden%20calculate%20profit%20for%20each%20woocommerce%20order%3F\"><h3>How does Profit Warden calculate profit for each WooCommerce order?<\/h3><\/dt>\n<dd><p>For every order, Profit Warden subtracts from the gross order revenue: the sum of purchase costs (COGS) of all items multiplied by their quantity, the real carrier shipping cost (from the \"Actual Cost\" field on the shipping method), a flat packaging cost, and the estimated payment gateway fee (PayPal, Stripe, or COD). The result is the <strong>net profit<\/strong> for that order. Fixed monthly costs are used separately for Break-Even Point and Daily Burn Rate calculations.<\/p><\/dd>\n<dt id=\"what%20is%20true%20roas%20and%20why%20is%20it%20better%20than%20standard%20roas%3F\"><h3>What is True ROAS and why is it better than standard ROAS?<\/h3><\/dt>\n<dd><p>Standard ROAS = Revenue \u00f7 Ad Spend. This is misleading because it ignores your actual costs. A campaign with ROAS 4x might still be losing you money if your margins are thin. Profit Warden's <strong>True ROAS<\/strong> = Net Profit \u00f7 Ad Spend. This is also known as <strong>POAS (Profit On Ad Spend)<\/strong>. It tells you exactly how much real profit each euro spent on advertising is generating \u2014 empowering you to cut losing campaigns and scale profitable ones.<\/p><\/dd>\n<dt id=\"can%20i%20use%20profit%20warden%20without%20the%20meta%20ads%20integration%3F\"><h3>Can I use Profit Warden without the Meta Ads integration?<\/h3><\/dt>\n<dd><p>Absolutely. The core WooCommerce profit calculator \u2014 order-level profitability, cost tracking, dashboard, and email reports \u2014 works completely independently of the Ads Integration. The Meta Ads connection is an optional feature that enhances the dashboard with ad spend data and True ROAS metrics.<\/p><\/dd>\n<dt id=\"does%20profit%20warden%20send%20my%20customer%20data%20to%20any%20external%20server%3F\"><h3>Does Profit Warden send my customer data to any external server?<\/h3><\/dt>\n<dd><p>Only if you explicitly enable the Data Sync feature (opt-in). When enabled, order data (costs, margins, UTM parameters) is sent to <code>api.templatebera.com<\/code>. <strong>No personally identifiable customer data<\/strong> (such as full names, addresses, or payment information) is ever transmitted. You can disable this feature at any time from the Settings page.<\/p><\/dd>\n<dt id=\"how%20do%20i%20track%20which%20meta%20ads%20campaign%20generated%20a%20profitable%20woocommerce%20order%3F\"><h3>How do I track which Meta Ads campaign generated a profitable WooCommerce order?<\/h3><\/dt>\n<dd><p>Profit Warden installs a lightweight JavaScript tracking script that captures UTM parameters and ad click IDs (fbclid, gclid) in browser cookies at the moment a visitor lands on your store. When the visitor places an order, these parameters are saved to the order metadata. With the Meta Ads integration enabled, Profit Warden then matches the order's net profit against the campaign-level ad spend to compute True ROAS.<\/p><\/dd>\n<dt id=\"is%20profit%20warden%20compatible%20with%20woocommerce%20hpos%20%28high%20performance%20order%20storage%29%3F\"><h3>Is Profit Warden compatible with WooCommerce HPOS (High Performance Order Storage)?<\/h3><\/dt>\n<dd><p>Yes. Profit Warden version 3.1.9 and above fully declares HPOS compatibility. It is tested and ready for modern WooCommerce with custom order tables enabled.<\/p><\/dd>\n<dt id=\"can%20profit%20warden%20send%20automatic%20profit%20reports%20via%20email%3F\"><h3>Can Profit Warden send automatic profit reports via email?<\/h3><\/dt>\n<dd><p>Yes. You can configure automated profit\/loss reports to be sent via email on a <strong>daily, weekly, or monthly<\/strong> schedule using WP-Cron. You will also receive instant alert emails when an order is sold at a loss or when you reach the monthly break-even point.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.1.11<\/h4>\n\n<ul>\n<li>SECURITY: Resolved a vulnerability where the SQLite database could be publicly accessible on Nginx setups. Added robust protection mechanisms including an empty index.php, enforced .htaccess rules, and a randomized fallback hash for the SQLite file name.<\/li>\n<\/ul>\n\n<h4>3.1.10<\/h4>\n\n<ul>\n<li>SECURITY: Fixed vulnerability regarding SQLite database direct access. Ensure .htaccess and index.php are always present in the uploads directory to protect against unauthorized downloads.<\/li>\n<\/ul>\n\n<h4>3.1.9<\/h4>\n\n<ul>\n<li>FEATURE: Added WooCommerce version compatibility headers.<\/li>\n<li>FEATURE: Declared HPOS compatibility for custom order tables.<\/li>\n<\/ul>\n\n<h4>3.1.8<\/h4>\n\n<ul>\n<li>FEATURE: Restored data transmission consent in setup wizard.<\/li>\n<\/ul>\n\n<h4>3.1.7.2<\/h4>\n\n<ul>\n<li>FEATURE: Complete standalone mode update for local processing.<\/li>\n<\/ul>\n\n<h4>3.1.7<\/h4>\n\n<ul>\n<li>FEATURE: Added SVN AutoGen tools for release management.<\/li>\n<li>FIX: General code updates and readiness for publishing.<\/li>\n<\/ul>\n\n<h4>3.1.5<\/h4>\n\n<ul>\n<li>FEATURE: Enhanced local calculation engine for faster profit analysis.<\/li>\n<li>COMPLIANCE: Ensured text domain is set to profit-warden for full I18N compatibility.<\/li>\n<\/ul>\n\n<h4>3.1.4<\/h4>\n\n<ul>\n<li>FEATURE: Added Ads Integration Dashboard for Meta and Google Ads.<\/li>\n<li>FIX: Verified UTM tracking logic across checkouts.<\/li>\n<\/ul>\n\n<h4>3.1.2<\/h4>\n\n<ul>\n<li>FIX: Resolved cookies mismatch in UTM tracking.<\/li>\n<li>FIX: Backward compatibility for legacy tracking cookies.<\/li>\n<\/ul>\n\n<h4>3.1.1<\/h4>\n\n<ul>\n<li>FEATURE: Added Onboarding Setup Wizard for easy configuration.<\/li>\n<li>SECURITY: Added nonces and permission checks to all admin actions.<\/li>\n<li>FIX: Renamed assets for better unique prefixing.<\/li>\n<\/ul>\n\n<h4>2.2-beta<\/h4>\n\n<ul>\n<li>FIX: Corrected plugin version format in the header.<\/li>\n<li>FIX: Aligned text domain for internationalization.<\/li>\n<li>FEATURE: Added periodic reporting via WP-Cron.<\/li>\n<\/ul>","raw_excerpt":"The #1 WooCommerce profit calculator. See real net profit, true ROAS, and order profitability \u2014 directly in your dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/294693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=294693"}],"author":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/beralabs"}],"wp:attachment":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=294693"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=294693"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=294693"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=294693"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=294693"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=294693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}