描述
Aivie for WooCommerce connects your WooCommerce store to Aivie, a Mautic-based marketing automation platform. When a customer places an order, the plugin automatically syncs the contact and order data to Aivie Commerce so you can trigger follow-up campaigns, track revenue, and personalise communications.
This plugin is an integration with an external Aivie or Mautic service configured by the site administrator.
Service documentation:
License and Trademark
This plugin is licensed under GPLv2 or later.
Aivie is a trademark of Idea 2 Collective GmbH. Mautic is an open source marketing automation project.
Aivie is built on Mautic and extends it with hosted infrastructure, APIs and additional plugins.
This plugin is developed by Aivie (Idea 2 Collective GmbH). Aivie is an official Mautic partner. This is not a Mautic project.
Forks and modified versions must not imply official endorsement by Aivie unless explicitly permitted.
Features:
- Sync contacts and orders automatically on payment complete, failed, or new order events.
- Optional WooCommerce Subscriptions support for lifecycle events, renewals, and variable subscriptions.
- Send WooCommerce line items as Aivie Commerce order items.
- Reuse the Mautic tracked contact ID (
mtc_idcookie) from the browser session — no double contact creation. - All relevant order meta and item meta sent under
attributes. - Sends paid subscription parent and renewal orders with an embedded Aivie subscription block.
- Sensitive meta keys (tokens, passwords, card numbers) are automatically excluded.
- OAuth 2.0 Authorization Code flow for secure connection — no password storage.
- Manual bearer token fallback for API-only setups.
- Test connection button in settings.
- Manual sync action on any WooCommerce order.
- Bulk sync action on the WooCommerce orders list, queued via Action Scheduler.
- Automatic retry via Action Scheduler (ships with WooCommerce) on network or server errors.
- WP-CLI commands for debugging and backfills.
- HPOS (High-Performance Order Storage) compatible.
- GDPR: participates in WordPress personal data export and erasure flows.
Recommended Plugins
- WP Mautic for Tracking Integration – for improved contact attribution via
mtc_id. - WooCommerce – for e-commerce functionality and order management.
- Aivie.ch for OpenSource Marketing Automation – the Aivie platform itself, to receive and act on the synced data.
Privacy
When the plugin is configured and automatic sync is enabled by an administrator, it sends WooCommerce customer and order data to the configured Aivie or Mautic instance. This can include contact billing fields, order totals, currency, payment method title, product line items, order status, selected safe order metadata, selected safe order item metadata, and the configured source labels.
The plugin can also read the configured Mautic tracking contact cookie, mtc_id by default, during checkout. If present and valid, the plugin stores that contact ID on the order and, for logged-in customers, in user meta. The contact ID is then sent with synced order data so the external service can associate the WooCommerce order with an existing contact. Administrators can disable this behavior in the plugin settings.
Sensitive metadata keys containing values such as passwords, tokens, secrets, authorization data, API keys, private keys, card numbers, CVV/CVC values, IBANs, or account numbers are excluded before sync. The plugin registers WordPress personal data export and erasure callbacks for its stored sync metadata and tracking contact ID.
Site owners should disclose this data transfer and tracking-contact usage in their own privacy policy and obtain any consent required for their store, jurisdiction, and Aivie or Mautic configuration.
屏幕截图




安装
- Upload the
aivie-for-woocommercefolder towp-content/plugins/. - Activate the plugin through Plugins > Installed Plugins.
- Go to WooCommerce > Aivie and enter your Aivie URL.
- Enter your OAuth2 Client ID and Client Secret, then click Connect with Aivie — or paste a Bearer Token directly.
- Click Test Connection to verify.
- Enable Aivie Sync and save.
常见问题
-
Does this plugin work without WooCommerce?
-
No. WooCommerce must be installed and active. The plugin degrades gracefully and shows a single notice if WooCommerce is missing.
-
Does this plugin work with the self hosted version of Mautic?
-
You can use it with a self hosted version of Mautic, but it is designed specifically for Aivie.
Aivie is an improved version of Mautic with a focus on e-commerce and WooCommerce integration.The creation and update of contacts will work in any case. This can be relevant if you want to use the plugin for conversion tracking.
As this plugin adds the Mautic tracking ID, which is a unique feature.
But you will miss out on the order sync. If you prefer to host it yourself, the Aivie Commerce plugin is available separately.You can learn more here:
Aivie Mautic Hosting
Aivie Commerce plugin -
What data is sent to Aivie?
-
Contact billing fields, order totals, line items, and safe order meta. Sensitive keys (tokens, passwords, card numbers, IBANs) are always excluded. No data is sent unless the plugin is enabled and configured by the admin.
Depending on the product, different information is sent. Supports variable products, subscriptions and variable subscriptions. -
What is the Mautic tracking ID?
-
When Mautic tracking is active on your shop, Mautic writes a first-party cookie (
mtc_id) containing the contact ID. This plugin reads that cookie server-side at checkout and sends it with each order so Aivie can match the order to an existing contact without creating a duplicate. -
Does the plugin support HPOS?
-
Yes. It declares compatibility with WooCommerce High-Performance Order Storage and uses only WooCommerce CRUD methods.
-
Does this plugin require WooCommerce Subscriptions?
-
No. WooCommerce Subscriptions is optional. When the official extension is active, subscription parent orders and renewal orders are sent through the Aivie order endpoint with an embedded subscription block, while lifecycle-only changes such as pause, cancellation, expiration, and renewal date changes are sent to the Aivie subscription endpoint.
-
Are variable subscription products supported?
-
Yes. Variable subscription line items keep the existing WooCommerce variation handling. The selected variation ID and variation attributes are sent with the order item and subscription attributes.
-
What happens if the Aivie API is down?
-
Network errors and 5xx responses are retried automatically via Action Scheduler (up to 3 attempts with exponential backoff and jitter). 400 validation errors and 401/403 authentication errors are not retried.
-
Where are the logs viewable?
-
WooCommerce > Status > Logs, filter by “aivie-for-woocommerce” in the dropdown.
评价
此插件暂无评价。
贡献者及开发者
更新日志
0.1.0
- Initial release.
- Contact and order sync on payment complete, failed order, and new order events.
- WooCommerce Subscriptions lifecycle and renewal support.
- OAuth 2.0 Authorization Code flow.
- Mautic tracking ID capture and reuse.
- Action Scheduler retry with jitter.
- WP-CLI commands.
- HPOS compatibility.
- GDPR personal data export and erasure.