Klaviyo Plugin for Woo Subscriptions Sync

August 2, 2024

Integrating WooCommerce with Klaviyo has always been a bit of a challenge, and it’s frustrating given the prominence of both platforms. WooCommerce is the second largest eCommerce platform globally, boasting a 20% market share, just behind Shopify. Klaviyo, meanwhile, is immensely popular among top DTC brands for its robust email marketing capabilities.

One glaring gap in this integration is between WooCommerce Subscriptions and Klaviyo. WooCommerce’s native email templates are quite basic and fall short of modern standards. This becomes a problem when you want to customize and centralize your subscription notification emails through Klaviyo. Centralizing all your email notifications has numerous benefits, yet many shops struggle to achieve this. Typically, you end up with marketing emails from your preferred ESP (like Klaviyo, Sendlane, or MailChimp), order notifications from your store platform, review request emails from another service, and referral and loyalty emails from yet another platform. This leads to emails with inconsistent look and feel, templates, tone, and overall design.

To address this, I created a simple WooCommerce plugin that syncs all WooCommerce Subscriptions events to Klaviyo. This plugin sends all the relevant details, enabling you to create automated marketing email flows, order notifications, and more. Here are some of the key metadata items included in the sync:

List of Events Synced

  • Subscription Created
  • Subscription Renewed
  • Subscription Cancelled
  • Subscription Paused
  • Subscription Updated

List of Meta Data with Each Event

  • BillingInterval: The frequency at which the subscription is billed (e.g., every 1, 3, 6 months).
  • BillingPeriod: The period for which the subscription is billed (e.g., month, week, year).
  • CustomerID: The unique identifier of the customer associated with the subscription.
  • DateCreated: The date when the subscription was initially created.
  • Items: A JSON array that includes a list of products with details such as product name, quantity, subtotal, and product image URL.
  • LastPaymentDate: The date of the most recent payment made for the subscription.
  • NextPayment: The scheduled date for the next payment of the subscription.
  • OriginOrderID: The unique identifier of the original order that created the subscription.
  • PaymentMethod: The method used for payment (e.g., credit card, PayPal).
  • PaymentUrl: The URL where customers can make a payment for failed or paused subscription orders.
  • Shipping: Details of the shipping method and its cost for the subscription.
  • ShippingTotal: The total cost of shipping for the subscription.
  • Status: The current status of the subscription (e.g., active, paused, cancelled).
  • SubscriptionID: The unique identifier of the subscription.
  • SubscriptionUrl: The link to the customer portal on the website where customers can manage their subscription.
  • SubscriptionValue: The total value or cost of the subscription.

If you’re new to creating Klaviyo flows using custom metrics and trigger filters using meta data, I’ll post another article with examples of how to create subscription email notifications such as subscription confirmation, welcome series, cancellation notification, and more.

Plugin Minimum Requirements

  • PHP Version: 7.4 or higher
  • WordPress Version: 5.0 or higher

Plugin Zip Download

With this plugin, you can finally centralize your email notifications, ensuring consistency in design and tone across all customer communications in Klaviyo. This not only enhances the customer experience but also streamlines your operations, making it easier to manage your communications from one central platform.

Signup for my newsletter

For latest posts, plugin updates, and more!
© 2024 Mo Hassan, All Rights Reserved.