Create Klaviyo Segment Coupons

The Segment Coupons feature in Dynamic Coupons for Klaviyo allows you to automatically apply WooCommerce coupons to customers who belong to specific Klaviyo lists or segments. This is perfect for rewarding VIP customers or offering exclusive discounts without requiring them to enter a code. Once configured, the discount is applied instantly at checkout whenever an eligible customer logs in, creating a seamless and personalized shopping experience.

Important Note: This feature uses Klaviyo’s getGroupMembership API to identify user segments. It is available only for Advanced KDP (Klaviyo Data Platform) customers. Please ensure your Klaviyo plan includes Advanced KDP before enabling this feature. For more details about the _klaviyo JavaScript object and its capabilities, refer to the official Klaviyo documentation.

Step 1 – Create the WooCommerce Coupon

  1. In your WordPress dashboard, go to WooCommerce → Coupons.
  2. Click Add New.
  3. Enter a coupon code (e.g., VIP10).
  4. Set the discount type to Percentage Discount and the amount to 10%.
  5. Save the coupon.

Step 2 – Link the Coupon to a Klaviyo Segment

  1. Go to the Dynamic Coupons for Klaviyo plugin settings page.
  2. Select the Segment Coupons tab.
  3. Click Add Segment Coupon.
  4. Find your Klaviyo Segment ID:
    • In Klaviyo, go to your desired Segment or List.
    • Open the Settings tab.
    • Copy the List ID from the List ID section.
  5. Paste the Segment/List ID into the plugin’s Segment ID field.
  6. Enter the coupon code you created in Step 1.
  7. Click Save.

Step 3 – Test the Segment Coupon

  1. Log in to your site as a customer who belongs to the linked Klaviyo segment.
  2. Add products to your cart.
  3. Go to Cart or Checkout — the coupon should already be applied automatically.

Step 4 – Hide the Segment Coupon (Optional)

  1. In the plugin settings, go to the Hidden Coupons section.
  2. Enable Hide Segment Coupons.
  3. Click Save.
  4. Refresh the checkout page — the coupon code will no longer be visible, but the discount will still be applied.
Browse our plugins

Lightweight WooCommerce plugins built for speed. No bloat, no frameworks -- just clean code that works.

View all plugins