Title: CookieROAS for WooCommerce
Author: cookieroas
Published: <strong>December 2, 2026</strong>
Last modified: December 2, 2026

---

Search plugins

![](https://ps.w.org/cookieroas-for-woocommerce/assets/banner-772x250.png?rev=3839423)

![](https://ps.w.org/cookieroas-for-woocommerce/assets/icon-256x256.png?rev=3839423)

# CookieROAS for WooCommerce

 By [cookieroas](https://profiles.wordpress.org/cookieroas/)

[Download](https://downloads.wordpress.org/plugin/cookieroas-for-woocommerce.2.0.4.zip)

 * [Details](https://wordpress.org/plugins/cookieroas-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/cookieroas-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/cookieroas-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/cookieroas-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/cookieroas-for-woocommerce/)

## Description

**CookieROAS for WooCommerce** adds server-side conversion tracking to your shop.
Every paid WooCommerce order goes to CookieROAS with the ad click that brought it(
gclid, fbclid, msclkid and more). CookieROAS then reports the purchase to the ad
platforms you connect, such as Google Ads (with enhanced conversions), Meta Conversions
API (CAPI), Microsoft Advertising and TikTok, and shows the real ROAS and profit
per campaign.

Browser tags miss many purchases: ad blockers, cookie banners and Safari’s tracking
prevention (ITP) stop them. Because the order travels from your server, your ad 
platforms see the sales you really made, so smart bidding optimizes on real revenue.

#### What the plugin does

 * Creates the WooCommerce webhook that sends paid orders to CookieROAS, and keeps
   it in step with your settings.
 * Places the CookieROAS measuring code early in the head of every page.
 * Keeps the landing page’s ad click ids (gclid, gbraid, wbraid, fbclid, msclkid,
   ttclid and others) with the order, in WooCommerce’s own session, so it also works
   behind a page cache.
 * Labels each order as a new or returning customer.
 * After marketing consent, keeps a server-set copy of the measuring code’s click
   records, so Safari does not erase them after 7 days.

#### Why shops use CookieROAS

 * **More conversions in Google Ads and Meta:** purchases that ad blockers and ITP
   hide still reach your ad accounts.
 * **Real ROAS per campaign:** revenue, ROAS and profit per channel and campaign
   in one dashboard.
 * **Refunds handled:** order changes and refunds update the conversion value.
 * **Consent first:** CookieROAS checks the visitor’s consent (Google Consent Mode
   v2) before it sends anything to an ad platform.
 * **No code:** paste the order token and measuring code, save, done.

This plugin itself sends nothing to an ad platform; CookieROAS does that for the
platforms you connect. You need a CookieROAS account (cookieroas.eu); the free plan
covers 25 attributed orders a month.

### External service

This plugin sends orders to CookieROAS (https://cookieroas.eu, or the address you
set) through a standard WooCommerce webhook (topic Order updated). The webhook carries
WooCommerce’s order data, including billing details, plus the click ids kept with
the order and the customer type. It loads the CookieROAS measuring script from the
address in the install code you paste in the settings. The plugin only accepts that
install code as plain

## Screenshots

[⌊Connect the ad platforms you use in CookieROAS.⌉⌊Connect the ad platforms you 
use in CookieROAS.⌉[

Connect the ad platforms you use in CookieROAS.

[⌊Switch server-side sending on per platform.⌉⌊Switch server-side sending on per
platform.⌉[

Switch server-side sending on per platform.

[⌊Sending status and delivery counts per ad platform.⌉⌊Sending status and delivery
counts per ad platform.⌉[

Sending status and delivery counts per ad platform.

## Installation

 1. Install and activate the plugin. WooCommerce 8.5 or later is required.
 2. Open WooCommerce > CookieROAS.
 3. Paste the order token and the measuring code from CookieROAS, Tracking > Setup,
    and save.

The settings page shows the webhook’s status and any failed deliveries.

## FAQ

### Which ad platforms are supported?

Google Ads (including enhanced conversions), Meta (Facebook and Instagram) through
the Conversions API, Microsoft Advertising, TikTok and more. You connect them in
your CookieROAS account.

### Is this server-side tracking?

Yes. Paid orders go from your WooCommerce server to CookieROAS through a webhook,
and CookieROAS sends the conversions to the ad platforms server to server. Ad blockers
and browser tracking prevention cannot block that.

### Does it slow down my shop?

No. The measuring code is one small script, and orders are sent by WooCommerce’s
own webhook in the background.

### Does it work when visitors refuse cookies?

Yes. The click ids are kept in WooCommerce’s own session and saved on the order,
without a cookie of the plugin.

### What happens when I deactivate or delete the plugin?

Deactivating pauses the order webhook. Deleting the plugin deletes the webhook and
its settings.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CookieROAS for WooCommerce” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ cookieroas ](https://profiles.wordpress.org/cookieroas/)

[Translate “CookieROAS for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/cookieroas-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cookieroas-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cookieroas-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cookieroas-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/cookieroas-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.4

 * window.CookieROASKeep is added with wp_add_inline_script() instead of a printed
   script tag.
 * The click id endpoint, like the keep endpoint, only answers POST requests from
   the shop’s own pages.
 * The settings page keeps the save notice in a short-lived transient instead of
   reading it from the URL, and the save handler reads only its own form fields.

#### 2.0.3

 * The measuring code field only accepts CookieROAS install code: external script
   tags with their settings, no inline JavaScript. The plugin prints those tags 
   itself with wp_print_script_tag().

#### 2.0.2

 * Tested with WordPress 7.1 and WooCommerce 11.3.
 * Request input is sanitized before it is checked, and the new-or-returning lookup
   no longer uses a slow exclude query.

#### 2.0.1

 * Licensed under the GPL, version 2 or later. Text domain and folder are now cookieroas-
   for-woocommerce, to match the WordPress.org slug.

#### 2.0.0

 * Connection settings: the plugin creates and manages the order webhook and places
   the measuring code.

#### 1.2.0

 * Server-set keep copy of the measuring code’s click records for Safari.

#### 1.1.0

 * New or returning customer label on each order.

## Meta

 *  Version **2.0.4**
 *  Last updated **53 minutes ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [conversion tracking](https://wordpress.org/plugins/tags/conversion-tracking/)
   [Facebook Conversions API](https://wordpress.org/plugins/tags/facebook-conversions-api/)
   [google ads](https://wordpress.org/plugins/tags/google-ads/)[roas](https://wordpress.org/plugins/tags/roas/)
   [Server Side Tracking](https://wordpress.org/plugins/tags/server-side-tracking/)
 *  [Advanced View](https://wordpress.org/plugins/cookieroas-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cookieroas-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cookieroas-for-woocommerce/reviews/)

## Contributors

 *   [ cookieroas ](https://profiles.wordpress.org/cookieroas/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cookieroas-for-woocommerce/)