=== MandrakeCRM – CRM & AI Marketing Automation === Contributors: mandrakecrm Tags: woocommerce, crm, email-marketing, abandoned-cart, marketing-automation Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Requires Plugins: woocommerce Stable tag: 3.21 WC requires at least: 8.0 WC tested up to: 9.5 License: GPL v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html CRM, automations, campaigns & analytics for WooCommerce. Charges per order, not per contact. Unlimited contacts. Free 7-day trial. == Description == 🚀 **MandrakeCRM is the all-in-one marketing platform built exclusively for WooCommerce stores.** CRM, pre-configured automations, ultra-personalized campaigns, and analytics. Everything connected. Ready to activate. Charges per order, not per contact — unlimited contacts at no extra cost. = 😱 The Problem = What's holding back your WooCommerce store's sales? * **Disconnected data** — Your email tool says one number, WooCommerce says another. None of them connect your marketing efforts with your sales results. * **Customers who don't come back** — Acquiring a new customer costs 5x more than retaining an existing one. Without personalized follow-up, only 15% return. * **Difficult and expensive tools** — Mailchimp, Klaviyo, ActiveCampaign... Between the complexity of setup and the monthly cost, they end up abandoned. * **Your list grows and so does your bill** — Most charge per contact. Your base grows, your bill rises, but your sales don't. You pay more to store contacts, not to sell more. = ✅ The Solution = **With other tools:** * Emails, analytics, and sales in separate tools. Data that never connects. * Weeks of setup. You need an expert or an agency. * Per-contact pricing. The more customers, the more you pay — whether you sell or not. **With MandrakeCRM:** * CRM, automations, campaigns, and analytics in a single platform. Data connected end to end. * Pre-configured by experts. Activate automations with one click. Your marketing works 24/7 from day one. * Per-order pricing. You only pay more when you sell more. Unlimited contacts. = ⚡ Key Features = **📊 CRM — Smart, personalized segmentation** Automatically classifies your customers by behavior and lifecycle. Or create custom filters tailored to your needs. 1 in 4 buyers becomes a repeat customer with behavior-based personalization. **🤖 Automations — Pre-configured by experts** Welcome, abandoned carts, repurchase, and more. Activate them with one click. Our customers recover 10-15% of abandoned carts within the first 30 days. **💌 Campaigns — Ultra-personalized to precise segments** Messages to specific segments. Templates for key dates in your store. 3.5x higher conversion than campaigns without segmentation. **📈 Analytics — Marketing and sales connected in real time** Campaigns, conversion, and repurchase in a single view. The real impact of every action, without jumping between tools. = 🎁 Extra Resources = * **Smart Dashboard** — Store and marketing metrics in a single panel. * **Lead Capture Widget** — Popups and widgets ready to capture leads. * **Weekly Digest** — Weekly marketing metrics delivered to your inbox. * **Email Deliverability** — Sent from your own domain. Inbox, not spam. * **Customer Portal** — Your customers manage their preferences autonomously. * **Branding Customization** — Colors, logos, and visual identity in minutes. * **Quick Integration** — Connect WooCommerce in 5 minutes with one click. * **Transparent Privacy** — Privacy page generated automatically. = 🔧 How It Works = **Step 1: Connect your store** Install the WooCommerce plugin and sync customers, orders, and products in minutes. No technical setup needed. **Step 2: Activate automations** Choose from automations pre-configured by experts. Welcome, abandoned carts, repurchase, and more. One click. **Step 3: Start selling more** Your campaigns and automations work 24/7. You focus on your business, MandrakeCRM handles the marketing. = 👤 Who Is MandrakeCRM For = **WooCommerce store owners** Your marketing and sales data is scattered across 3 different tools. With MandrakeCRM, everything centralized in one place for better decisions. **Marketing managers** Your team wastes hours jumping between platforms. One single tool with everything integrated. **Small and medium businesses** You need marketing results without the complexity (or the cost) of building a dedicated team. = 💜 Why Choose MandrakeCRM = **"No weeks of setup"** — Pre-configured automations ready to activate. Start recovering revenue from day 1. **"Everything connected"** — CRM, emails, automations, and analytics integrated in a single platform. **"No per-contact fees"** — Unlike Klaviyo or Mailchimp, you don't pay more as your list grows. Charges per order, not per contact. **"Built for WooCommerce, not adapted"** — Native integration, not a generic tool with plugins. **7-day free trial** — See results before you pay. No credit card required. = 💬 Testimonials = *"Before, we didn't have time for marketing. With MandrakeCRM, everything went on autopilot. Our email conversion increased 3x and customer retention grew 25% in four months."* — Lisandra Nanya, Founder, semi-jewelry e-commerce, Sorocaba/SP, Brazil *"We used Mailchimp for emails, Google Analytics for data, and a spreadsheet for CRM. With MandrakeCRM we eliminated all of that. Now we have everything in one platform and the team saves hours every week."* — Carolina Domínguez, Marketing Manager, fashion e-commerce, Buenos Aires, Argentina *"With Klaviyo we paid for every new contact. Our list grew to 8,000 customers and the bill skyrocketed. With MandrakeCRM we pay per order, not per contact. Our list keeps growing at no extra cost."* — Ricardo Meneses, Co-founder, supplements e-commerce, Santiago, Chile 👉 **[Start Selling More](https://app.mandrakecrm.io/en/signup)** — No marketing expertise needed. Free for 7 days. No credit card required. == Installation == 1. Upload the plugin folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to WooCommerce > MandrakeCRM to configure the plugin 4. Create your account at [app.mandrakecrm.io/en/signup](https://app.mandrakecrm.io/en/signup) if you don't have one 5. Get your token at [Settings → Store](https://app.mandrakecrm.io/en/settings/?tab=store) and enter it in the plugin 6. Enable the features you want to use 7. Activate pre-configured automations in MandrakeCRM and start selling more == Frequently Asked Questions == = Do I need a MandrakeCRM account? = Yes. Visit [app.mandrakecrm.io/en/signup](https://app.mandrakecrm.io/en/signup) for a 7-day free trial — no credit card required. = How much does MandrakeCRM cost? = We charge per orders received, not per contacts. Your list grows at no extra cost. Recalculated every cycle based on the last 3 months. Slow season? You pay less. Find your monthly cost on our pricing page: [www.mandrakecrm.com/en/pricing](https://www.mandrakecrm.com/en/pricing/) = Will I be charged after the 7-day trial? = No. Enjoy all features for 7 days with no credit card. No hidden charges. = How is it different from Klaviyo or Mailchimp? = MandrakeCRM integrates CRM, automations, campaigns, and analytics in a single platform. Everything pre-configured. And charges per order, not per contact. = How long does setup take? = 5-10 minutes. Install the plugin, paste your token, activate features. Your customers, orders, and products sync automatically. = Do I need technical knowledge to use MandrakeCRM? = No. Automations come pre-configured by experts. Just choose, activate, and go. If you can manage your WooCommerce store, you can use MandrakeCRM. = Will my emails end up in spam? = No. We send from your own domain (marketing@yourstore.com) following deliverability best practices. Your emails reach the inbox. = Which WooCommerce emails are replaced? = 9 customer emails: New Account, Order Processing, Completed, On Hold, Refunded, Cancelled, Failed, Customer Note, and Password Reset. Admin emails stay with WooCommerce. = Does it track guest checkout carts? = Yes. Tracks both registered users and guest checkouts for abandoned cart recovery. = Is it compatible with HPOS and Block Checkout? = Yes. Fully compatible with WooCommerce High-Performance Order Storage and modern block-based checkout. = Will this slow down my site? = No. Async processing on cloud servers means zero performance impact on your store. = What if I need help? = Our support team is available via chat and email in English, Portuguese, and Spanish. We typically respond within 24 hours (usually much faster): support@mandrakecrm.com == Screenshots == 1. CRM — Smart, personalized segmentation 2. Automations — Pre-configured by experts 3. Campaigns — Ultra-personalized to precise segments 4. Analytics — Marketing and sales connected in real time == Changelog == = 3.21 = * Fix: orders placed through the block checkout recorded no campaign attribution at all. `woocommerce_checkout_create_order` only exists in the classic checkout; the Store API builds the order separately and never fires it, so every block checkout store was losing 100% of its UTM data — with or without a page cache. Attribution is now also saved from `woocommerce_store_api_checkout_update_order_meta`. * Attribution is written once per order: if an order already carries UTM data it is left untouched, so the classic and block entry points cannot stamp it twice. = 3.20 = * Fix: campaign attribution was lost on stores with a full-page cache. UTM parameters were only read on the server, and a page cache serves a stored copy without ever starting PHP, so a visitor landing on a cached page with `?utm_source=...` produced no tracking cookie and their order had no attribution. Measured on a production store: only 70% of campaign orders were attributed. * UTM parameters are now also captured in the browser, which runs on every page view regardless of the cache. Same cookie, same 30-day window, same order meta — no change to stored data or to existing reports. * Server-side capture is kept as well, so visitors with JavaScript disabled are still tracked and page-cache behavior stays exactly as before. * Hardening: values read back from the tracking cookie are now restricted to known UTM keys and capped in length. = 3.19 = * Removed debug logging that was triggering on every request and saturating server logs on customer sites. Improves performance and reduces disk I/O. * Security: removed debug entries that were writing customer emails and password-reset URLs to PHP error logs. = 3.18 = * Marketing opt-in checkbox now inherits the store's primary brand color (resolved from common theme CSS variables: Woodmart, Astra, generic `--primary-color`, `--brand-color`, `--wp--preset--color--primary`, and WooCommerce default). Border-left accent of the box also matches. * Fix: duplicate checkmark overlay in themes that decorate native checkboxes with their own `::before/::after` SVG. The checkbox is now fully custom- rendered with `appearance:none` plus an inline SVG checkmark, so only one check is shown regardless of the theme. = 3.17 = * New: Cashback redemption coupons are auto-applied to the cart from a deep-link. * When the customer clicks "Aplicar agora" on the redemption widget, the URL carries `?apply_coupon=CB-XXXXXXXX`. The plugin detects it, calls `WC()->cart->apply_coupon()` and redirects to the cart page so the discount shows up immediately — no manual paste needed. * Strict whitelist: only codes matching `^CB-[A-Z0-9]{8}$` are applied; any other coupon code in the URL is ignored. Idempotent: re-loading the URL does not duplicate the coupon. * WC native security still enforced (email_restrictions, usage_limit, expiration, etc.). The plugin only triggers the apply — WC validates. = 3.16 = * Widget script now loads on checkout and cart pages to support Order Bump and other checkout widgets * No behavior change for product/home/shop pages — existing widgets continue working as before * Each widget in the bundle internally detects its applicable context = 3.15 = * Internal release — version bump for plugin maintenance = 3.14 = * Internal release — version bump for plugin maintenance = 3.13 = * Renaming popup → widget across the entire plugin interface * Stability and performance improvements = 3.12 = * Added Privacy Policy and Terms of Service pages * Improved compliance with WordPress.org plugin guidelines * Fixed activation check when WooCommerce is not installed = 3.11 = * Improved admin interface and user-facing text * Complete internationalization (English, Portuguese, Spanish) * Documentation updates = 2.0.0 = * New plugin architecture with HPOS and Block Checkout compatibility * Modern admin UI and improved security * Enhanced marketing attribution tracking = 1.0.0 = * Initial release == Upgrade Notice == = 3.21 = Required if your store uses the block checkout: those orders were recording no campaign attribution at all. No configuration changes needed. = 3.20 = Recommended for every store behind a page cache: campaign attribution was being lost on cached landing pages. No configuration changes needed. = 3.16 = Enables widget loading on checkout/cart pages. Required for Order Bump and other checkout-context widgets. = 3.13 = Renaming popup → widget. Stability improvements. = 3.12 = Improved compliance and bug fixes. = 2.0.0 = Major update with HPOS support. Please backup before updating. == Privacy Policy == MandrakeCRM connects to external services to provide its functionality. For complete privacy details, visit: https://www.mandrakecrm.com/en/privacy-policy == External Services == This plugin connects to MandrakeCRM external services for CRM, email marketing, and abandoned cart recovery functionality. = MandrakeCRM API = **Provider:** MandrakeCRM **Endpoint:** https://mandrakecrm.supabase.co/functions/v1 **Terms of Service:** https://www.mandrakecrm.com/en/terms-of-service **Privacy Policy:** https://www.mandrakecrm.com/en/privacy-policy **Data transmitted:** - License verification: token, plugin/WordPress/WooCommerce/PHP versions, site URL - Transactional emails: customer email, order details, billing/shipping addresses - Abandoned carts: cart contents, customer email, recovery URL = MandrakeCRM CDN = **URL:** https://cdn.mandrakecrm.io **Purpose:** Load lead capture widgets **Data transmitted:** None (static assets only) = Important Notes = - No data is transmitted until you configure the plugin with your token - All transmission occurs over HTTPS - You can disable specific features in settings - By using this plugin, you agree to MandrakeCRM's Terms of Service and Privacy Policy