Skip to main content

How to Integrate WooCommerce with Tapfiliate

This guide walks you through connecting your WooCommerce store with Tapfiliate.

Gumrah avatar
Written by Gumrah
Updated over a week ago

In this article, we will cover:

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

A few things to know:

  • 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

  1. In your WordPress dashboard → Plugins → Add New → search for “Tapfiliate”.

  2. Click Install and then Activate the plugin.

  3. Confirm the plugin appears in Plugins and is active.

Step 2: Configure the plugin

  1. In WordPress admin navigate to Settings → Tapfiliate


  2. Enter your Tapfiliate Account ID in the field provided.

  3. Ensure the option for Enable WooCommerce is checked.

  4. Click Save.

Step 3: Automatic Tracking Setup

  • Once configured, the plugin will handle tracking order conversions, coupon and recurring payments (if applicable) automatically.

  • 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).

  • Before going live, perform a test transaction: create affiliate link → complete purchase → validate conversion in Tapfiliate dashboard. support.tapfiliate.com

  • 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

  1. Create a test affiliate in Tapfiliate (or use an existing affiliate link).

  2. Visit your store via the affiliate’s referral link.

  3. Complete a purchase (one-time or subscription) in WooCommerce.

  4. 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.

  5. If you used a coupon code, verify that the usage appears and commission is attributed accordingly.

  6. If refunds or cancellations occur, check that the commission is adjusted or voided as expected.

  7. 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 settings> commission structure> create extra commission

Create a commission type and add an identifier for the specific product. In woocommerce, you need to complete following steps:

  1. Go to a Product or Category edit page in WooCommerce.

  2. Locate the field labeled “Tapfiliate Commission Type”.

  3. Enter the Commission Type Identifier created in your Tapfiliate account.

  4. Save your changes.

This lets you apply flexible commission logic, for example, higher commissions for specific product lines or promotional categories.

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.

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.

Need More Help?

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!

Did this answer your question?