{"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-06-13T10:20:35","modified_gmt":"2026-06-13T10:20:35","slug":"profit-warden-bridge","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/profit-warden-bridge\/","author":23463479,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.1.7","stable_tag":"3.1.7","tested":"7.0","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-06-13 10:20:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":47,"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"}},"upgrade_notice":{"3.1.5":"<p>Fixes critical compliance issues regarding data sync consent and removes leftover trial configurations.<\/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>Critical compliance updates and new onboarding flow. Please review your data sync consent settings.<\/p>","2.2-beta":"<p>This version introduces cron-based reporting and fixes minor compliance issues. Please review your settings under Settings -&gt; 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"],"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 - Ads Integration Dashboard.","2":"Database Tools and Configuration Check.","3":"API &amp; Email Configuration Settings."}},"plugin_section":[],"plugin_tags":[232,11938,16281,6882,286],"plugin_category":[36,45],"plugin_contributors":[266887],"plugin_business_model":[],"class_list":["post-294693","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-margin","plugin_tags-orders","plugin_tags-profit","plugin_tags-woocommerce","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 - Ads Integration Dashboard."},{"src":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/screenshot-2.png?rev=3570950","caption":"Database Tools and Configuration Check."},{"src":"https:\/\/ps.w.org\/profit-warden-bridge\/assets\/screenshot-3.png?rev=3571331","caption":"API &amp; Email Configuration Settings."}],"raw_content":"<!--section=description-->\n<p>Profit Warden is a connector plugin that sends WooCommerce order data to a separate analysis service. It calculates the real profit and margin for each order by considering product purchase costs, shipping costs, packaging, and payment gateway fees.<\/p>\n\n<p><strong>\u26a0\ufe0f Important: External Service Required<\/strong>\nThis plugin requires the external <strong>Profit Warden Python service<\/strong> to be running and accessible via a configurable API URL. Without this backend service, the plugin cannot function. You are responsible for setting up and hosting this service independently.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Calculates real profit and margin for each WooCommerce order<\/li>\n<li>Accounts for purchase costs, shipping, packaging, and payment gateway fees<\/li>\n<li>Displays profit analysis directly on the WooCommerce order detail page<\/li>\n<li>Supports simple and variable products with individual purchase cost fields<\/li>\n<li>Sends periodic profit\/loss reports via email using WP-Cron<\/li>\n<li>Alerts for orders sold at a loss<\/li>\n<li>Configurable API URL and cost parameters via Settings -&gt; Profit Warden<\/li>\n<\/ul>\n\n<p><strong>External Services<\/strong><\/p>\n\n<p>This plugin relies on external services to calculate order profitability and provide marketing integrations. By default, it communicates with the <strong>BeraTemplate API<\/strong> (<code>https:\/\/api.beratemplate.com\/calculate-profit<\/code>).<\/p>\n\n<ul>\n<li><strong>What it does:<\/strong> Calculates order margins, correlates UTM tracking data, and handles synchronization with Meta\/Google Ads.<\/li>\n<li><strong>What data is sent:<\/strong> When enabled via the \"Data Sync Consent\" opt-in, it transmits WooCommerce order details (totals, shipping costs, items), customer billing email\/name, and UTM marketing parameters triggered on order status changes or periodic reporting.<\/li>\n<li><strong>Terms of Service:<\/strong> <a href=\"https:\/\/beratemplate.com\/terms-of-service.html\">https:\/\/beratemplate.com\/terms-of-service.html<\/a><\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/beratemplate.com\/privacy-policy.html\">https:\/\/beratemplate.com\/privacy-policy.html<\/a><\/li>\n<\/ul>\n\n<p><em>(Note: The API URL can be changed in the plugin settings to point to your own self-hosted backend service if desired).<\/em><\/p>\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.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to Settings -&gt; Profit Warden to configure the API URL and other cost parameters.<\/li>\n<li>Ensure your Profit Warden Python service is running and the API URL is correct.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20work%20without%20the%20python%20service%3F\"><h3>Does this plugin work without the Python service?<\/h3><\/dt>\n<dd><p>No, this plugin requires the backend analysis service to function. It is designed to send data to it.<\/p><\/dd>\n<dt id=\"where%20do%20i%20set%20the%20product%20purchase%20cost%3F\"><h3>Where do I set the product purchase cost?<\/h3><\/dt>\n<dd><p>A \"Purchase Cost (\u20ac)\" field is added to the \"General\" tab of the product data section for simple and variable products.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\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>COMPLIANCE: Removed trial limitations and paid plan triggers to ensure free tier compliance.<\/li>\n<li>COMPLIANCE: Enforced explicit opt-in data sync consent before any remote API health checks.<\/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>COMPLIANCE: Implemented explicit Opt-in Consent for data transmission to comply with WordPress.org guidelines.<\/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":"Plugin to connect WooCommerce with the Profit Warden analysis backend.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/294693","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=294693"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/beralabs"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=294693"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=294693"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=294693"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=294693"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=294693"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=294693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}