Skip to content
Menu
WooCommerceOrder sourceAvailable

Connect WooCommerce orders
without a plugin.

WooCommerce has webhooks built in. With them your store sends every paid order to CookieROAS, without an extra plugin. That lets you compare your orders with the purchases your measurement code has seen.

What the WooCommerce connection does.

A webhook on Order updated

A webhook on the Order updated topic also covers new orders. Orders with the status Processing or Completed count; other statuses are acknowledged and skipped.

Verified with a signature

WooCommerce signs every message with the webhook secret. You use your order token as the secret, so CookieROAS can check that the message comes from your store.

Order number as the key

The order number in the webhook must match the transaction_id that your thank-you page passes to the measurement code. Only then can CookieROAS link the order to the measured purchase.

How to set up the WooCommerce webhook.

  1. Create an order token

    In CookieROAS, create a new order token under Tracking › Setup. You see the token and the webhook URLs once; keep them like a password.

  2. Add the webhook in WordPress

    Go to WooCommerce › Settings › Advanced › Webhooks. Choose status Active, topic Order updated, paste the delivery URL, enter the token as the secret and choose API version WP REST API Integration v3.

  3. Check the test message

    After saving, WooCommerce sends a test message. Then look at a paid order in the order view and compare the amount.

Good to know about WooCommerce.

  • The webhook only sends the order: order number, time, amount and currency. Click IDs, consent and customer data for advertising channels come from the measurement code or have to be supplied separately.
  • If you use a plugin for order numbers, check that the thank-you page passes the same number as the webhook.
  • Existing tracking plugins keep sending their own purchases. Check beforehand which routes already send purchases to your advertising channels.

Questions about this connection.

Do I need a plugin for WooCommerce server-side tracking?

Not for the order connection: the webhook is part of WooCommerce. You do place the measurement code for browser measurement in your theme or through your tag manager.

Which WooCommerce orders count?

Only paid orders, recognised by the status Processing or Completed. An order paid later counts as soon as the webhook reports the new status.

Can I also connect Google Ads and Meta through WooCommerce?

Yes, if the required consent and matching data are available. They come from the measurement code or an additional connection; the webhook itself only supplies the order.

Have it set up for you, or start yourself.

With the Real ROAS Check we set everything up, and after 30 days you know where your money leaks away. Rather do it yourself? Start free with every advertising channel.

We set it up

The 30-day Real ROAS Check: setup, your costs configured and a report with a call. €199 one-off, money back if we find nothing.

Start the Real ROAS Check

Set it up yourself

Create a free account, then follow the guided setup. See which steps are needed for your store and advertising channels.

Create your free account

A question first? Discuss my setup