# WooCommerce Advanced Options

> Set up advanced WooCommerce conversion tracking in AnyTrack, including client-side fallback tracking and Purchase event attribution.

## Client-Side Tracking Settings for WooCommerce

<Prerequisites
  title="Before you begin"
  items={[
    { label: "You have an AnyTrack account with a paid subscription", done: true },
    { label: "You have a WooCommerce store connected to AnyTrack", done: true },
    { label: "The AnyTrack Tracking Tag is installed on your website", done: true },
  ]}
/>

If you're not [using the AnyTrack Plugin for WooCommerce](/docs/woocommerce#the-woocommerce-plugin), which you should, you can activate client-side tracking for Purchase events and map them as if they were native AnyTrack integration events. However, this feature should only be used if deploying the plugin is not feasible. Using the [plugin](https://wordpress.org/plugins/anytrack-for-WooCommerce/) is strongly recommended as it allows you to track [additional WooCommerce events](/docs/woocommerce#woocommerce-standard-events-and-conversions), not just purchases.

> ⚠️ **Warning**
>
> Only activate client-side tracking as a fallback when the AnyTrack Plugin for WooCommerce cannot be deployed.

To configure client-side tracking:

1. Open the [AnyTrack Dashboard](https://app.anytrack.io) and go to **Property Settings**
2. Select your WooCommerce site using the property selector
3. Go to the **Settings** tab
4. Scroll down to **Client-Side Tracking Settings**
5. Select **WooCommerce**
6. Choose the **Purchase** event and map it to a conversion
7. Click **Save**

<Image alt="How to find the client-side tracking options for the WooCommerce integration from the AnyTrack dashboard." align="center" border={true} src={readmeAsset1} caption={"Client-side tracking options for WooCommerce can be found in the Settings tab of the Property Settings section."} />

## What client-side tracking covers

Client-side tracking for WooCommerce only captures **Purchase** events. It does not track earlier funnel steps like `ViewContent`, `AddToCart`, or `InitiateCheckout`. For full funnel coverage, use the [AnyTrack Plugin for WooCommerce](/docs/woocommerce#the-woocommerce-plugin) instead.

> 📘 **Note**
>
> Client-side tracking relies on the [Tracking Tag](/docs/install-anytrack-tag) being installed on your site. Make sure the tag is firing correctly before testing Purchase events.

<FaqAccordion
  title="Advanced WooCommerce Tracking FAQ"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "When should I use client-side tracking instead of the plugin?",
      answer: "Only use client-side tracking when you cannot install the AnyTrack Plugin for WooCommerce. Common reasons include hosting restrictions, plugin conflicts, or custom checkout implementations that prevent the plugin from running."
    },
    {
      question: "Does client-side tracking capture the same events as the plugin?",
      answer: "No. Client-side tracking only captures Purchase events. The plugin tracks the full funnel including ViewContent, AddToCart, InitiateCheckout, AddPaymentInfo, and Purchase."
    },
    {
      question: "Can I use both client-side tracking and the plugin at the same time?",
      answer: "No. Using both will cause duplicate tracking. Use only one method. The plugin is recommended because it covers more events and includes server-side tracking."
    },
    {
      question: "Will client-side tracking still send data to my ad platforms?",
      answer: "Yes. Purchase events captured via client-side tracking are sent to your connected ad platforms through AnyTrack, just like plugin-tracked events."
    }
  ]}
/>

<Cards columns={2}>

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

  <Card title="FunnelKit Integration" href="/docs/funnelkit-integration" icon="fa-filter" iconColor="blue-500">
    Track upsell and downsell conversions from FunnelKit funnels.
  </Card>

</Cards>
