---
title: "WooCommerce integration"
description: "Install the Cometly WooCommerce plugin and the pixel, event tracking, and order webhook all wire themselves up. Add to cart, initiate checkout, and purchase events flow into Cometly automatically with revenue attributed back to source."
source: "https://www.cometly.com/integration/woocommerce"
---

# WooCommerce integration for Cometly

Track add-to-carts, checkouts, and purchases without writing a line of code.

Install the Cometly WooCommerce plugin and the pixel, event tracking, and order webhook all wire themselves up. Add to cart, initiate checkout, and purchase events flow into Cometly automatically with revenue attributed back to source.

- Category: Ecommerce
- Connection method: Plugin

## What you can do

- One-click plugin install — no manual pixel placement
- Tracks add to cart, initiate checkout, and purchase events out of the box
- Sends order data via webhook for accurate, server-confirmed revenue
- Plays nicely with caching, but skip JS-defer rules in WP Rocket

## Setup (Plugin)

1. In Cometly, download the WooCommerce plugin from your account.
2. Install and activate it inside your WordPress admin.
3. Clear any site or page cache so the pixel loads on first visit.
4. Place a test order to confirm the purchase event reaches Cometly.
5. If you use WP Rocket, disable settings that delay JavaScript loading.

## Events

| Event | Description |
| --- | --- |
| Add to Cart | Fires when a shopper adds an item to their cart. |
| Initiate Checkout | Fires when a shopper starts the checkout flow. |
| Purchase | Fires on a confirmed WooCommerce order. |