ActiveTrail for WooCommerce
ActiveTrail for WooCommerce seamlessly connects your online store with ActiveTrail's marketing automation platform, enabling you to create powerful email campaigns, track customer behavior, and boost sales through targeted marketing.
Key Features
🔄 Real-time Customer Sync * Automatically sync customers to ActiveTrail when they place orders * Respect customer consent preferences * Map WooCommerce order statuses to ActiveTrail events
📧 Email Marketing Integration * Add consent checkbox to checkout form * Customizable consent text * GDPR compliant data handling
🛒 Cart Abandonment Tracking * Track abandoned carts in real-time * Send cart data to ActiveTrail for recovery campaigns * Configurable abandonment timeframes
🎟️ Dynamic Coupon Management * Create WooCommerce coupons via ActiveTrail API * REST API endpoints for coupon management * Automatic cleanup of expired coupons
📊 Product Feed Generation * Generate XML product feeds in Google Shopping format * Separate feeds for Google Merchant Center and Facebook Catalog * Both feeds use XML format (Google Shopping compatible) * Automatic updates when products change
⚙️ Advanced Configuration * Comprehensive settings panel * API connection testing * Debug mode for troubleshooting
ActiveTrail Integration
ActiveTrail is a leading email marketing and marketing automation platform that helps businesses: * Create professional email campaigns * Build automated marketing workflows * Track customer engagement and behavior * Increase sales through targeted messaging
This plugin requires an active ActiveTrail account and API key.
API Endpoints
The plugin provides REST API endpoints for external integrations:
POST /wp-json/activetrail/v1/coupon– Create couponsDELETE /wp-json/activetrail/v1/coupon/{code}– Delete couponsGET /wp-json/activetrail/v1/coupon/{code}/usage– Get coupon usage
Product Feeds
Access your product feeds from the plugin settings page (WooCommerce > Settings > ActiveTrail > Product Export tab):
- Google Merchant Center XML Feed: Available in the settings with a secure key
- Facebook Catalog XML Feed: Available in the settings with a separate secure key
Both feeds use the Google Shopping XML format and are automatically updated when products change. Each feed has its own secure URL that you can copy and use in your advertising platform.
Technical Requirements
- WordPress 6.0 or higher
- WooCommerce 6.0 or higher
- PHP 7.4 or higher
- ActiveTrail account with API access
- SSL certificate recommended
Support
For support and documentation:
Privacy Policy
This plugin connects to ActiveTrail's external service to sync customer and order data. Data is only sent when:
- Customers provide explicit consent (if consent is required)
- Orders reach configured status levels
- Carts are abandoned (if cart tracking is enabled)
Data sent includes: * Customer email and name * Order details and items * Cart contents and abandonment data
Please review ActiveTrail's privacy policy and ensure compliance with local data protection laws.
Third-party Services
This plugin integrates with:
- ActiveTrail API (https://webapi.mymarketing.co.il/api/)
- Used for customer sync, order data, and coupon management
- Privacy Policy: https://www.activetrail.com/privacy-policy/
- Terms of Service: https://www.activetrail.com/terms-of-service/
Developer Information
Hooks and Filters
The plugin provides numerous hooks for customization:
Filters:
* activetrail_customer_data – Modify customer data before sync
* activetrail_order_data – Modify order data before sync
* activetrail_cart_data – Modify cart data before sync
* activetrail_feed_data – Modify product feed data
* activetrail_product_feed_item – Modify individual product data
Actions:
* activetrail_customer_synced – Fired after customer sync
* activetrail_order_synced – Fired after order sync
* activetrail_cart_synced – Fired after cart sync
* activetrail_coupon_created – Fired after coupon creation
Constants
ACTIVETRAIL_WC_VERSION– Plugin versionACTIVETRAIL_WC_PLUGIN_DIR– Plugin directory pathACTIVETRAIL_WC_PLUGIN_URL– Plugin URL
Contributing
This plugin is open source. Contributions are welcome via GitHub.
Credits
Developed by Or Malka for seamless ActiveTrail and WooCommerce integration.
