November 9, 2026
In this article, we will cover:
- Why WooCommerce is a powerful integration for Tapfiliate
- What you need before starting the integration
- Step-by-step setup
- How to improve tracking and best practices
- Testing and verification
- Advanced/optional features
Overview
Our official Tapfiliate WordPress plugin integrates comprehensive affiliate tracking directly into your WooCommerce store. Easily set up and monitor all aspects of your affiliate marketing campaigns, tracking affiliate-driven visits and sales in real-time. The plugin provides tools for managing referral links, automates commission calculation, and streamlines payment processes, enabling you to scale your affiliate program and maximize ROI.With this WooCommerce integration, you can:
- Track affiliate-driven purchases in your WooCommerce store
- Attribute commissions (based on order amount, with support for subscriptions, coupons & refunds) automatically
- Monitor performance in real time
- The plugin-based integration is designed for one WooCommerce store per Tapfiliate account.
- This integration will not work reliably if you’re using a custom checkout page or separate checkout plugin (e.g., Cartflows) without additional configuration.
- Automatic features such as recurring payments, subscription renewals and refunds are supported when using WooCommerce Subscriptions, but depending on customizations you may need extra steps.
Prerequisites before starting Integration
Before you start, make sure you have:- A Tapfiliate account (with access to your Account ID)
- A WordPress site running WooCommerce (and if needed WooCommerce Subscriptions)
- Admin access to your WordPress dashboard (so you can install and activate plugins)
- Ensure your store uses a standard checkout process (custom checkout flows may require additional work)
- (Optional) Affiliate coupon codes created in both WooCommerce and Tapfiliate, if you wish to use coupon-code attribution
Integration Steps to complete
Step 1: Install the Tapfiliate plugin
- In your WordPress dashboard → Plugins → Add New → search for “Tapfiliate”.
- Click Install and then Activate the plugin.
- Confirm the plugin appears in Plugins and is active.

Step 2: Configure the plugin
-
In WordPress admin navigate to Settings → Tapfiliate

- Enter your Tapfiliate Account ID in the field provided.
-
Ensure the option for Enable WooCommerce is checked.

- Click Save Changes.
- After saving, click Connect in the Connect with Tapfiliate row, log in to Tapfiliate as the account admin if asked, and approve the access request in WooCommerce. The Connect button appears as soon as you tick Enable WooCommerce, but it takes you away from the page without saving your settings, so save first. Your site must use SSL and WooCommerce 3.0 or higher. Once connected, the button changes to Disconnect. This connection is what lets Tapfiliate handle refunds, cancellations and subscription status changes automatically.
Step 3: Automatic Tracking Setup
- Once configured, the plugin tracks order conversions and coupons automatically. Recurring commissions, refunds and subscription status changes are handled automatically only when WooCommerce is connected to Tapfiliate (see step 2). For recurring commissions, keep Recurring commissions of your commission types on Smart connected, not Time based (see Smart Connected): WooCommerce reports the renewals, and with Time based, Tapfiliate also creates a renewal every Recurrence interval, so renewals would be paid twice.
- If you wish to use custom commission types:
- Edit a product or category in WooCommerce.
- Look for a field named “Tapfiliate Commission Type” and enter the corresponding identifier from your Tapfiliate account.
- If your checkout process is non-standard (e.g., built with FunnelKit or Cartflows) you may need to add custom code or hooks.
How to Improve Tracking & Best Practices
- Use affiliate-specific coupons in WooCommerce and mirror them in Tapfiliate so coupon usage flows seamlessly.
- Ensure you track the same customer_id across purchases (enabling lifetime or recurring commissions), and keep Recurring commissions of your commission types on Smart connected, not Time based (see Smart Connected): with Time based, Tapfiliate also creates a conversion for the customer every Recurrence interval, on top of the orders your store reports.
- Before going live, perform a test transaction: create affiliate link → complete purchase → validate conversion in Tapfiliate dashboard.
- If you are using a custom checkout page plugin or funnel tool, note that the standard integration may not automatically capture all events, plan for extra configuration.
Testing and Verification before going live
- Create a test affiliate in Tapfiliate. Don’t test with a real affiliate’s link: the test order creates a real commission for them.
- Visit your store via the affiliate’s referral link.
- Complete a purchase (one-time or subscription) in WooCommerce.
- In your Tapfiliate dashboard, check that:
- The click from the affiliate was captured.
- The conversion appears attributed to the affiliate.
- The order amount, external order ID and currency are correct.
- To test a coupon, place a separate order: if the coupon never reaches Tapfiliate, an order placed after visiting the affiliate’s link is still credited by the link, so it can’t show whether the coupon works. Give the test affiliate a coupon and use it in an order with an amount above 0 before shipping and tax (a subscription order of 0, such as a free trial, is sent as a trial, without a conversion) in a private browser window where no affiliate link was opened, with an email address that has not been used in your store for an order, a sign-up or a trial: an order from a customer who is already in Tapfiliate under the same customer ID can be credited without the coupon, or not at all. Then click the conversion on the Conversions page: the coupon credited it only if it went to the test affiliate and its Tracking source is Coupon (js) or Coupon (api).
- If refunds or cancellations occur, check that the commission is adjusted or voided as expected.
- After testing, disapprove the test commissions in the conversions, and cancel the test customers on the Customers page, so that in a program with lifetime or recurring commissions they don’t keep earning a commission every period.
- If any step fails: ensure correct plugin configuration, no conflicts, correct WooCommerce order statuses, and that your store caching/plugins are not blocking necessary headers.
Advanced or Optional Features
1. Setting up Commission Types
If you’d like to apply different commission rates to different products or categories, you can use Tapfiliate’s Commission Types feature.In Tapfiliate, go to Programs > Commission structure and create an extra commission Create a commission type and add an identifier for the specific product. In woocommerce, you need to complete following steps:
- Go to a Product or Category edit page in WooCommerce.
- Locate the field labeled “Tapfiliate Commission Type”.
- Enter the Commission Type Identifier created in your Tapfiliate account.
- Save your changes.
2. Customized Checkout with FunnelKit
If you use FunnelKit to customize your WooCommerce checkout flow, Tapfiliate’s default tracking hook may not fire automatically. Add the following code to the functions.php file of your current theme: Tapfiliate tracking script for the thank-you page.3. Recurring commissions with a custom checkout
Recurring commissions work by recognising the same customer on later orders. The plugin sends the first conversion from WooCommerce’s standard order-received (thank-you) page, with the buyer’s billing email as the customer ID. Renewal orders then reach Tapfiliate through the WooCommerce connection (Step 2), and Tapfiliate credits them to the affiliate when it finds that customer by billing email. If your custom checkout doesn’t show WooCommerce’s standard thank-you page, the plugin doesn’t send the first conversion, and renewals have no customer to match. To keep recurring commissions:-
have your developer track the first order from your own confirmation page with tapfiliate.js, the way the plugin does on the thank-you page. The amounts below are the subtotal after discounts, without tax and shipping. Use the first of these three cases that fits the order:
- The order contains a subscription and its amount is 0, for example a free trial or a first period paid fully with a coupon: send no conversion. Send
trialwith the billing email as the customer ID and the order’scouponsin the options. - The order has more than one item, whatever your commission types: send
conversionMultiwith one commission per item. Each carries the item’s commission type (set as in “Setting up Commission Types” above;defaultif the item has none) and the item’s subtotal minus its share of the order discount, split in proportion to the item subtotals. With a fixed commission, each item earns it once. - The order has one item: send
conversionwith the order amount and the item’s commission type, if it has one.
conversionMultiandconversion, pass the WooCommerce order ID as the external ID, so refunds and cancellations can update the conversion, and in the options the order’s billing email ascustomer_id, itscurrencyand itscoupons. - The order contains a subscription and its amount is 0, for example a free trial or a first period paid fully with a coupon: send no conversion. Send
- keep WooCommerce connected to Tapfiliate (Step 2), so renewals arrive automatically;
- in Programs > Commission structure, switch on Enable lifetime/recurring commissions, and set Recurring commissions of your commission types to Smart connected, not Time based (see Smart Connected). With Time based, Tapfiliate also creates a renewal every Recurrence interval, so renewals would be paid twice.
Key Notes
- This integration supports one WooCommerce store per Tapfiliate account in the plugin context.
- The plugin may not function correctly with custom checkout tools or heavily modified funnels, you may require a developer for such cases.
- Make sure your hosting environment and site are fully updated (including WooCommerce, PHP version etc).
- Always test a conversion end-to-end before inviting affiliates and going live.
- If conversions aren’t being tracked, check for caching issues, header blockers or plugin conflicts.
If you have any questions or if something in this guide is unclear, please don’t hesitate to contact us at support@tapfiliate.com. We’re happy to assist!