Integration Tutorials /  

WooCommerce

WooCommerce

Track WooCommerce Purchases by receiving web hooks from WooCommerce and attribute them to the original visitor who started the purchase process tracked by Able, allowing to send purchase conversions to Google Analytics and ad platforms such as Google Ads.

Contents

Track WooCommerce Purchases

Able tracks WooCommerce order forms as well as purchases by receiving web hooks from WooCommerce and attributing purchases to the original visitor tracked by Able, allowing to send purchase conversions to Google Analytics and ad platforms such as Google Ads.

  1. Track Customer Details

    To track customer details and associate WooCommerce customers with the visitor details, install tracking code generated using the "Get Code" section. This code will track WooCommerce form submissions.

  2. Create WooCommerce API Key

    Open WooCommerce Settings, Advanced - REST API.

    Create a new API key with Read permissions.

  3. Save Consumer key and secret as a new Able credential

    Open Able Dashboard and press ⊕ Add Service Integration button to do the action.
  4. Add Inbound Integration

    Open Able Dashboard and press ⊕ Add Service Integration button to do the action.
  5. Configure WooCommerce to Notify Able of New Purchases

    1. Open Advanced - Webhooks in WooCommerce settings. Add a new webhook with following parameters:
    2. Status: Active
    3. Topic: Action
    4. Action Event: woocommerce_order_status_changed
    5. Delivery URL: https://pfsh9epbe1.execute-api.eu-west-2.amazonaws.com/Prod/woocommerce-webhook/%%FUNNEL_MARK%%, where %%FUNNEL_MARK%% - unique identifier of your funnel.


    When configuring WooCommerce, check that the correct Topic and Action Event are selected:


    Able CDP will now receive webhooks from WooCommerce and retrieve purchase details from its API, automatically attributing Purchases to Visitors by customer emails and phones and sending Purchase conversions with detailed Invoice Lines where supported.

    WooCommerce purchases are attributed by matching purchase to the web lead by billing email or phone. Transition of order status into ‘processing’ is treated as a successful order event.

    Read more about how to track e-commerce and DTC funnels on our website.