Connecting WooCommerce
Connect WooCommerce with the CookieROAS plugin or with a webhook without a plugin.
There are two ways. The plugin does more; the webhook needs no installation.

What you need
- WooCommerce 8.5 or newer and WordPress 6.5 or newer (for the plugin)
- Admin access to WordPress
Way 1: the CookieROAS plugin (recommended)
The plugin creates the webhook for you, puts the tracking code on your store and keeps the landing page's ad click ids with the order. It also passes on whether the customer is new or returning.
You install the CookieROAS plugin from the WordPress plugin directory.
Create a connection key
In the dashboard, open Tracking › Setup › Order source, choose WooCommerce and click Create key.
You see the full key (cro_live_…) only once. Copy what you need right away. If you lose it, create a new key; an existing key keeps working.

Install the plugin
In WordPress, go to Plugins › Add New, search for CookieROAS, click Install Now and then Activate.
Fill in the settings
Open WooCommerce › CookieROAS and fill in:
| Field | What to enter |
|---|---|
| CookieROAS address | https://cookieroas.eu. Only change this if you host CookieROAS yourself. |
| Order token | The key from step 1 (cro_live_…). This is the Secret that Order source shows. |
| Measuring code | The tracking code from Snippet & consent, or empty if your theme or tag manager already loads it. |
Place a test order
Check out one order in your store. The Place a test order step on the Order source page turns green once the order is in; the page checks every 15 seconds.

With a valid key, the plugin creates one WooCommerce webhook. The settings page shows that webhook's status and the number of failed deliveries in a row. Note: WooCommerce disables a webhook after 5 failed deliveries.
Way 2: a webhook without a plugin
Create a connection key
In the dashboard, open Tracking › Setup › Order source, choose WooCommerce and click Create key.
You see the full key (cro_live_…) only once. Copy what you need right away. If you lose it, create a new key; an existing key keeps working.
Add the webhook in WooCommerce
Open WooCommerce › Settings › Advanced › Webhooks › Add webhook and fill in:
| Field | What to enter |
|---|---|
| Status | Active |
| Topic | Order updated (this also covers new orders) |
| Delivery URL | The Order source address |
| Secret | The key from Order source |
| API version | WP REST API Integration v3 |

Place a test order
Check out one order in your store. The Place a test order step on the Order source page turns green once the order is in; the page checks every 15 seconds.
Only paid orders count (Processing or Completed). The order number is the order's identity. It must equal the transaction_id of the purchase on your thank-you page, so CookieROAS links the order to the purchase in the browser. An order that arrives twice counts once.
Check that it works
- The Place a test order step on Order source says Received.
- In Getting started, the Orders from the shop step is green, with the time of the last order.
- The amount and currency of the test order match your store.
If it doesn't work
Read more
Connecting orders
Which order connection fits your store, and what each one needs.
Connecting advertising channels
Next step: send the purchases to Google Ads, Meta and your other channels.
Placing the tracking code
How to put the CookieROAS snippet in your store's head, with your cookie banner, your CSP and the purchase on the thank-you page.