Skip to content

WooCommerce Integration

The Lindris WordPress plugin integrates with WooCommerce to track customer behavior, product interactions, and order lifecycle events.

Tracked Events

Product Events

  • Product Viewed - When a visitor views a product page

Event Properties

  • id - Product ID
  • name - Product name
  • description - Product description
  • sku - Product SKU
  • price - Product price
  • url - Product permalink
  • created_at - When the product was created
  • modified_at - When the product was last modified
  • tags - Product tags
  • categories - Product categories
  • variants - Product variants (for variable products)
  • image_url - Product image URL

Cart Events

  • Cart Created - When a new cart is created
  • Cart Updated - When a cart is updated (e.g. when an item is added or removed, quantity is updated, or the cart is emptied)
  • Cart Abandoned - When a cart is left without completing the purchase

Event Properties

  • id - Cart ID
  • source - Source of the event (WooCommerce)
  • products - Array of products in cart (with product data)
  • total - Cart total
  • total_products - Total number of products in cart
  • url - Cart URL (a recovery URL for the cart_abandoned event)
  • currency - Cart currency
  • modified_at - When the cart was last modified
  • shipping - Shipping cost (if applicable)
  • taxes - Tax amount (if applicable)
  • email - Customer email (if available)
  • uuid - Visitor's anonymous ID (if available)

Customer Events

  • Customer Created - When a new WooCommerce customer account is created
  • Customer Updated - When a customer's information is updated
  • Customer Deleted - When a customer account is deleted

Event Properties

  • id - Customer ID
  • email - Customer email
  • first_name - Customer first name
  • last_name - Customer last name
  • name - Customer full name
  • phone - Customer phone
  • avatar_url - Customer avatar URL
  • billing_address - Customer billing address details
  • shipping_address - Customer shipping address details

Order Events

  • Order Created - When a new order is placed
  • Order Completed - When an order is marked as completed
  • Order Updated - When an order is updated
  • Order Deleted - When an order is deleted

Event Properties

  • id - Order ID
  • url - Order edit URL
  • status - Order status
  • date_created - Order creation date
  • total - Order total
  • subtotal - Order subtotal
  • currency - Order currency
  • payment_method - Payment method used
  • customer - Customer data (see Customer Data)
  • billing_address - Billing address details
  • shipping_address - Shipping address details
  • products - Array of products purchased (with product data)
  • old_status - Previous status (for order_updated events)

Subscription Events

  • Subscription Created - When a new subscription is created
  • Subscription Status Updated - When a subscription status changes
  • Subscription Renewed - When a subscription is successfully renewed
  • Subscription Expired - When a subscription expires
  • Subscription Cancelled - When a subscription is cancelled
  • Subscription Renewal Payment Failed - When a subscription renewal payment fails

Event Properties

  • id - Subscription ID
  • url - Subscription edit URL
  • status - Subscription status
  • currency - Subscription currency
  • billing_period - Billing period (day, week, month, year)
  • billing_interval - Billing interval
  • products - Array of products in the subscription
  • customer - Customer data (see Customer Data)
  • start_date - When the subscription started
  • trial_end_date - When the trial ends (if applicable)
  • next_payment_date - When the next payment is due
  • end_date - When the subscription ends
  • old_status - Previous status (for status change events)
  • new_status - New status (for status change events)

Cart Abandonment

The WooCommerce integration automatically tracks cart abandonment and sends recovery data to Lindris. When a customer adds items to their cart but doesn't complete checkout, the plugin monitors activity and triggers a cart_abandoned event after 10 minutes of inactivity.

Abandoned Cart Event Properties:

  • Cart contents with product details (including variations)
  • Cart total, subtotal, shipping, and taxes
  • Recovery URL (pre-fills cart when clicked)
  • Customer email (if provided during checkout)
  • Customer information collected from checkout form
  • Applied coupon codes

Use these events in Lindris to create automated cart recovery campaigns with personalized emails and recovery links.

For complete documentation about cart abandonment tracking, configuration, and troubleshooting, see the Cart Abandonment documentation.

Lifecycle Tagging

The WooCommerce integration allows you to automatically assign and update contact tags based on customer lifecycle events. For each event, you can configure tags to add or tags to remove, enabling powerful segmentation and workflow automation.

Order Events

  • Order Created - Automatically add or remove tags when a customer creates a new order
  • Order Completed - Automatically add or remove tags when an order is marked as completed
  • Order Deleted - Automatically add or remove tags when an order is deleted

Subscription Events

(Requires WooCommerce Subscriptions plugin)

  • Subscription Renewed - Automatically add or remove tags when a subscription is renewed
  • Subscription Payment Failed - Automatically add or remove tags when a subscription payment fails
  • Subscription Expired - Automatically add or remove tags when a subscription expires
  • Subscription Cancelled - Automatically add or remove tags when a subscription is cancelled

For detailed information about lifecycle tagging, including common use cases, configuration examples, and customization with filters, see the Lifecycle Tags documentation.

Requirements

The WooCommerce integration requires:

  • WooCommerce 9.4.1 or higher
  • WordPress 6.6 or higher
  • A connected Lindris account
  • WooCommerce Subscriptions plugin (for subscription events tracking)

Configuration

WooCommerce integration can be enabled/disabled from the Lindris →Integrations page in your WordPress admin dashboard. You can also customize the lifecycle tags that are applied to customers based on their behavior.