[ WOOCOMMERCE ]
One snippet. No new plugin to keep updated.
WooCommerce runs on WordPress, so the install is the same lightweight script tag as any WordPress site — no dedicated WooCommerce plugin, no extra settings screen competing with the ones you already have.
- [ Install ]
- 1 snippet
- [ Plugin required ]
- None
- [ Script size ]
- < 8KB
- [ Setup time ]
- ~5 min
Install on WooCommerce
Pick a snippet method
Use a lightweight snippet plugin (e.g. WPCode, Insert Headers and Footers) or add a wp_head hook in your child theme's functions.php — either works, snippet plugins are just update-safe by default.
Add the tag to <head>
Paste the CookieJar script tag so it outputs in the site <head> on every page, storefront and cart/checkout included.
Purge your cache
If you run a caching plugin or a host-level CDN, purge the cache once after adding the tag so cached pages pick it up.
Skip the theme editor
Editing header.php directly through Appearance → Theme File Editor works, but a theme update can silently overwrite it. A snippet plugin (or a child theme) survives theme updates — worth the extra two minutes of setup.
Caching is the usual culprit
WooCommerce sites are often layered with a page cache (WP Rocket, W3 Total Cache) and a host or Cloudflare-level CDN cache. If the banner isn't showing after install, or a config change isn't reflecting, a stale cached page is the first thing to rule out.
[ FAQ ]
WooCommerce questions
Ready to add it to your WooCommerce site?
Free tier covers 5,000 pageviews on 1 domain — no credit card required.