{"id":417338,"date":"2026-12-02T08:41:22","date_gmt":"2026-12-02T08:41:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cookieroas-for-woocommerce\/"},"modified":"2026-12-02T08:46:45","modified_gmt":"2026-12-02T08:46:45","slug":"cookieroas-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cookieroas-for-woocommerce\/","author":23615844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.4","stable_tag":"2.0.4","tested":"7.1.5","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"CookieROAS for WooCommerce","header_author":"CookieROAS","header_description":"Connects WooCommerce to CookieROAS: paste your order token and measuring code, and the plugin adds the webhook that sends paid orders and places the measuring code. It also keeps the ad click ids of the landing page with the order, labels new and returning customers, and keeps a server-set copy of the CookieROAS snippet's click records after consent, so Safari does not erase them after 7 days.","last_updated":"2026-12-02 08:46:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/cookieroas.eu\/docs\/orders\/woocommerce","header_author_uri":"https:\/\/cookieroas.eu","rating":0,"author_block_rating":0,"active_installs":0,"downloads":30,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.4":{"tag":"2.0.4","author":"cookieroas","date":"2026-12-02 08:46:45","revision":3839437}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3839423,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3839423,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3839423,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3839423,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3839437,"resolution":"1","location":"assets","locale":"","width":1600,"height":1265},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3839437,"resolution":"2","location":"assets","locale":"","width":992,"height":1142},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3839437,"resolution":"3","location":"assets","locale":"","width":1600,"height":1434}},"screenshots":{"1":"Connect the ad platforms you use in CookieROAS.","2":"Switch server-side sending on per platform.","3":"Sending status and delivery counts per ad platform."}},"plugin_section":[],"plugin_tags":[986,194928,985,257359,219244],"plugin_category":[45],"plugin_contributors":[297094],"plugin_business_model":[],"class_list":["post-417338","plugin","type-plugin","status-publish","hentry","plugin_tags-conversion-tracking","plugin_tags-facebook-conversions-api","plugin_tags-google-ads","plugin_tags-roas","plugin_tags-server-side-tracking","plugin_category-ecommerce","plugin_contributors-cookieroas","plugin_committers-cookieroas"],"banners":{"banner":"https:\/\/ps.w.org\/cookieroas-for-woocommerce\/assets\/banner-772x250.png?rev=3839423","banner_2x":"https:\/\/ps.w.org\/cookieroas-for-woocommerce\/assets\/banner-1544x500.png?rev=3839423","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cookieroas-for-woocommerce\/assets\/icon-128x128.png?rev=3839423","icon_2x":"https:\/\/ps.w.org\/cookieroas-for-woocommerce\/assets\/icon-256x256.png?rev=3839423","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cookieroas-for-woocommerce\/assets\/screenshot-1.png?rev=3839437","caption":"Connect the ad platforms you use in CookieROAS."},{"src":"https:\/\/ps.w.org\/cookieroas-for-woocommerce\/assets\/screenshot-2.png?rev=3839437","caption":"Switch server-side sending on per platform."},{"src":"https:\/\/ps.w.org\/cookieroas-for-woocommerce\/assets\/screenshot-3.png?rev=3839437","caption":"Sending status and delivery counts per ad platform."}],"raw_content":"<!--section=description-->\n<p><strong>CookieROAS for WooCommerce<\/strong> 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.<\/p>\n\n<p>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.<\/p>\n\n<h4>What the plugin does<\/h4>\n\n<ul>\n<li>Creates the WooCommerce webhook that sends paid orders to CookieROAS, and keeps it in step with your settings.<\/li>\n<li>Places the CookieROAS measuring code early in the head of every page.<\/li>\n<li>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.<\/li>\n<li>Labels each order as a new or returning customer.<\/li>\n<li>After marketing consent, keeps a server-set copy of the measuring code's click records, so Safari does not erase them after 7 days.<\/li>\n<\/ul>\n\n<h4>Why shops use CookieROAS<\/h4>\n\n<ul>\n<li><strong>More conversions in Google Ads and Meta:<\/strong> purchases that ad blockers and ITP hide still reach your ad accounts.<\/li>\n<li><strong>Real ROAS per campaign:<\/strong> revenue, ROAS and profit per channel and campaign in one dashboard.<\/li>\n<li><strong>Refunds handled:<\/strong> order changes and refunds update the conversion value.<\/li>\n<li><strong>Consent first:<\/strong> CookieROAS checks the visitor's consent (Google Consent Mode v2) before it sends anything to an ad platform.<\/li>\n<li><strong>No code:<\/strong> paste the order token and measuring code, save, done.<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<h3>External service<\/h3>\n\n<p>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 <\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin. WooCommerce 8.5 or later is required.<\/li>\n<li>Open WooCommerce &gt; CookieROAS.<\/li>\n<li>Paste the order token and the measuring code from CookieROAS, Tracking &gt; Setup, and save.<\/li>\n<\/ol>\n\n<p>The settings page shows the webhook's status and any failed deliveries.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"which%20ad%20platforms%20are%20supported%3F\"><h3>Which ad platforms are supported?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"is%20this%20server-side%20tracking%3F\"><h3>Is this server-side tracking?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"does%20it%20slow%20down%20my%20shop%3F\"><h3>Does it slow down my shop?<\/h3><\/dt>\n<dd><p>No. The measuring code is one small script, and orders are sent by WooCommerce's own webhook in the background.<\/p><\/dd>\n<dt id=\"does%20it%20work%20when%20visitors%20refuse%20cookies%3F\"><h3>Does it work when visitors refuse cookies?<\/h3><\/dt>\n<dd><p>Yes. The click ids are kept in WooCommerce's own session and saved on the order, without a cookie of the plugin.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20deactivate%20or%20delete%20the%20plugin%3F\"><h3>What happens when I deactivate or delete the plugin?<\/h3><\/dt>\n<dd><p>Deactivating pauses the order webhook. Deleting the plugin deletes the webhook and its settings.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>window.CookieROASKeep is added with wp_add_inline_script() instead of a printed script tag.<\/li>\n<li>The click id endpoint, like the keep endpoint, only answers POST requests from the shop's own pages.<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>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().<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Tested with WordPress 7.1 and WooCommerce 11.3.<\/li>\n<li>Request input is sanitized before it is checked, and the new-or-returning lookup no longer uses a slow exclude query.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Licensed under the GPL, version 2 or later. Text domain and folder are now cookieroas-for-woocommerce, to match the WordPress.org slug.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Connection settings: the plugin creates and manages the order webhook and places the measuring code.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Server-set keep copy of the measuring code's click records for Safari.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>New or returning customer label on each order.<\/li>\n<\/ul>","raw_excerpt":"Server-side conversion tracking for WooCommerce. Send paid orders to Google Ads, Meta and Microsoft Ads and see the real ROAS per campaign.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/417338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=417338"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cookieroas"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=417338"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=417338"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=417338"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=417338"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=417338"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=417338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}