# FunnelKit Integration

> Set up FunnelKit conversion tracking with AnyTrack to track upsell purchases, cart events, and revenue. Connect your WooCommerce funnel data to ad platforms for accurate attribution and ROAS optimization.

## Overview

FunnelKit (formerly WooFunnels) enables you to create powerful upsell and downsell funnels for your WooCommerce store. By integrating FunnelKit with AnyTrack, you can accurately track upsell conversions and attribute them to the correct ad campaigns, giving you complete visibility into your funnel performance and revenue.

This guide walks you through the complete setup process to ensure automatic tracking of your FunnelKit upsells.

<Prerequisites
  title="Before you begin"
  items={[
    { label: "AnyTrack for WooCommerce Plugin installed", done: true },
    { label: "FunnelKit Plugin installed", done: true },
    { label: "Configured your Upsell Funnel in FunnelKit", done: true },
  ]}
/>

## Step-by-Step Integration

### Step 1: Update WooCommerce Plugin

First, ensure your WooCommerce plugin is running the latest version. This prevents compatibility issues and ensures all tracking features work correctly.

### Step 2: Enable Upsell tracking in the plugin

In your WordPress admin panel:

1. Navigate to **WooCommerce → AnyTrack → Settings**.
2. Enable the **Upsell Event** toggle.
3. (Optional) Enable **Combine sales and upsell into a single Purchase event** if you want upsell revenue rolled into the `Purchase` event sent to your ad platforms.

> 📘 **Which option should I pick?**
>
> Leave **Combine** off if you want to analyze upsell performance independently — upsells flow to AnyTrack as a separate `Upsell` event with their own revenue.
>
> Turn **Combine** on if you want ad platforms to see total customer value as a single conversion — upsell revenue is added to the `Purchase` event total automatically, with no extra mapping needed.

### Step 3: Prevent Tracking Conflicts

To ensure accurate tracking, disable any other plugins that send data directly to advertising platforms (Facebook Pixel, Google Ads, TikTok Pixel, etc.). AnyTrack will handle all tracking through its unified system.

**Common plugins to disable:**

* Direct pixel plugins (Facebook Pixel Plugin, PixelYourSite, etc.)
* Other tracking or analytics plugins that interact with ad platforms
* Duplicate conversion tracking tools

## Configure Your AnyTrack Dashboard

### Step 4: Map Upsell Events to Ad Platforms

What you need to do here depends on the **Combine sales and upsell** option from Step 2:

* **Combine is ON** — no further mapping needed. Upsell revenue is added to the `Purchase` event automatically and sent to your ad platforms as a single conversion per customer.
* **Combine is OFF** — the `Upsell` event flows to your ad platforms as its own conversion. Map it to either the **Purchase** event (to add upsell value to your existing Purchase conversions in the ad platform) or a **Custom conversion** (to analyze upsell performance separately):
  1. Log in to your [AnyTrack Dashboard](https://app.anytrack.io).
  2. Navigate to **Tracking Tags**.
  3. For each connected ad platform (Facebook Ads, Google Ads, TikTok Ads), open its configuration, find the `Upsell` event in the event mapping section, and map it to your chosen destination.

### Step 5: Confirm Upsell is included as a conversion

1. In your AnyTrack dashboard, go to **Property Settings**.
2. Click **Conversions**.
3. Ensure the `Upsell` event is included in your conversion goals so the revenue is counted toward total conversion value and ROAS in your reports.

## Verification & Testing

After completing the setup:

1. **Test your funnel**: complete a test purchase that includes an upsell step.
2. **Check the Event Log**: in the AnyTrack dashboard, open the **Event Log** for your property. You should see a `Purchase` event and, depending on the Combine setting, either a separate `Upsell` event or a `Purchase` event whose revenue includes the upsell.
3. **Verify platform tracking**: check your ad platforms (Facebook Events Manager, Google Ads Conversions) to confirm the upsell revenue is being received.

## What gets tracked

With **Combine sales and upsell** OFF, AnyTrack captures the initial `Purchase` and the `Upsell` as two separate events, each with their own revenue. You can analyze upsell performance independently in your AnyTrack dashboard and decide how to map the `Upsell` event in each ad platform.

With **Combine sales and upsell** ON, AnyTrack rolls the upsell revenue into the `Purchase` event total. Your ad platforms receive a single conversion per customer with the combined revenue, so their bidding algorithms factor in true customer value without any extra mapping.

## Related Resources

- [TikTok Ads](/docs/tiktok-ads)
- [Install AnyTrack Tag](/docs/install-anytrack-tag)
- [Facebook Ads](/docs/facebook-ads)

<FaqAccordion
  title="FunnelKit Integration FAQ"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "What counts as an upsell in AnyTrack?",
      answer: "Any order placed through a FunnelKit upsell or order bump step after the initial purchase. AnyTrack tracks these as a separate Upsell event with its own revenue value."
    },
    {
      question: "Should I map upsells to Purchase or a custom conversion?",
      answer: "Map to Purchase if you want ad platforms to see total customer value for bidding optimization. Map to a custom conversion if you need to analyze upsell performance separately."
    },
    {
      question: "Why is my upsell revenue not showing in the ad platform?",
      answer: "First, confirm the Upsell Event toggle is enabled in WooCommerce → AnyTrack → Settings. If Combine sales and upsell is OFF, also confirm the Upsell event is mapped to a conversion in the Tracking Tags section of your AnyTrack dashboard. If Combine is ON, the upsell revenue is included inside the Purchase event total — check the Purchase value rather than looking for a separate Upsell line."
    },
    {
      question: "What is the difference between the two FunnelKit options in the plugin?",
      answer: "Upsell Event turns on FunnelKit upsell tracking. Combine sales and upsell into a single Purchase event controls how upsells are reported: OFF keeps the Upsell event separate with its own revenue, ON adds upsell revenue into the Purchase event total so ad platforms see a single conversion with combined value."
    },
    {
      question: "Does AnyTrack track downsells from FunnelKit?",
      answer: "Downsells are tracked as Upsell events with the downsell product value. AnyTrack does not differentiate between upsells and downsells at the event level, but the revenue amount reflects the actual product sold."
    }
  ]}
/>

<Cards columns={2}>

  <Card title="WooCommerce Integration" href="/docs/woocommerce" icon="fa-store" iconColor="blue-500">
    Full WooCommerce setup guide with the AnyTrack plugin.
  </Card>

  <Card title="Advanced Options" href="/docs/woocommerce-advanced" icon="fa-sliders" iconColor="blue-500">
    Client-side tracking fallback for WooCommerce.
  </Card>

</Cards>
