Siren
E-commerce Easy Setup

WooCommerce Integration

Native integration with WooCommerce for seamless affiliate tracking and commission management.

Integration Features

  • Automatic order tracking
  • Product-based commissions
  • Coupon attribution
  • Subscription support
  • Customer lifetime value tracking

WooCommerce Integration

Siren was built with WooCommerce in mind. Our native integration provides seamless affiliate tracking without any code changes to your store.

Features

Automatic Order Tracking

Every WooCommerce order is automatically tracked and attributed to the correct affiliate. No manual tagging or extra steps required.

  • Click tracking - Know exactly which affiliate drove each visitor
  • Conversion attribution - Automatically credit sales to the referring affiliate
  • Real-time updates - See conversions appear in your dashboard instantly

Product-Based Commissions

Set different commission rates for different products:

// Example: Set 25% commission for digital products
add_filter('siren_commission_rate', function($rate, $order, $affiliate) {
    foreach ($order->get_items() as $item) {
        $product = $item->get_product();
        if ($product->is_virtual()) {
            return 25; // 25% for digital products
        }
    }
    return $rate; // Default rate for physical products
}, 10, 3);

Or use our admin interface to set rates by product category without code.

Coupon Attribution

Allow affiliates to be credited for sales using their unique coupon codes:

  1. Create a coupon in WooCommerce
  2. Link it to an affiliate in Siren
  3. When customers use the coupon, the affiliate gets credit

This works even if the customer didn’t click an affiliate link. The Coupon-Based Influencer Program recipe is designed around this workflow if coupon codes are your primary tracking method.

Subscription Support

Full support for WooCommerce Subscriptions:

  • Initial payment - Commission on first subscription purchase
  • Renewal payments - Optional commission on subscription renewals
  • Upgrade/downgrade - Track plan changes and attribute appropriately
  • Cancellation handling - Adjust commissions for refunds and cancellations

Customer Lifetime Value

Track the long-term value of customers brought by each affiliate:

  • Repeat purchases - See how many customers return to buy again
  • Total spend - Track cumulative spending per referred customer
  • LTV metrics - Compare customer quality across affiliates

Installation

Step 1: Install the Plugin

Download Siren from your account dashboard or search for “Siren Affiliates” in the WordPress plugin directory.

# Via WP-CLI
wp plugin install siren-affiliates --activate

Step 2: Enter Your License Key

Navigate to Siren > Settings and enter your license key.

Step 3: Configure Tracking

The default settings work for most stores. Optionally customize:

  • Cookie duration (default: 30 days)
  • Attribution model (first click, last click, linear)
  • Excluded products or categories

Step 4: Create Your Program

Go to Siren > Programs and create your first affiliate program. Set commission rates and invite affiliates. Or use a recipe like the Basic Affiliate Program to configure a program with sensible defaults automatically.

Configuration Options

SettingDefaultDescription
Cookie Duration30 daysHow long affiliate attribution persists
Attribution ModelLast ClickWhich affiliate gets credit for the sale
Track Guest CheckoutYesTrack orders from non-logged-in customers
Order StatusCompletedWhen to count an order as converted
Commission BasisOrder TotalBase commission on total, subtotal, or products

Troubleshooting

Orders not tracking

  1. Check that tracking is enabled in Siren > Settings > Tracking
  2. Verify the cookie is being set (check browser developer tools)
  3. Ensure no caching plugin is caching the tracking script

Commissions not calculating

  1. Verify commission rates are set in the program settings
  2. Check that the affiliate is approved and active
  3. Ensure the order status matches your configured trigger status

Need help?

Contact our support team or check the full documentation.

Ready to integrate WooCommerce?

Get started with Siren and connect your WooCommerce store today.

Start Free Trial