Back to all cookies

WooCommerce cookies

WooCommerce sets 3 cookies on websites that load its scripts. Below is the full list with purpose, expiry, and whether each one needs GDPR / ePrivacy consent.

Source: Automattic, Inc.Official cookie reference

Which WooCommerce cookies does your site set before consent?

Scan my website free

Open the free website cookie checker →

woocommerce_cart_hashEssentialExpires: Session

WooCommerce cart-hash cookie. Indicates when the cart contents change so the front-end can reload cart fragments.

woocommerce_items_in_cartEssentialExpires: Session

WooCommerce cart-items counter. Tracks the number of items currently in the cart.

wp_woocommerce_session_<hash>EssentialExpires: 2 days

WooCommerce session cookie. Holds a unique code for the customer so cart and order data can be retrieved from the database.

Catch unconsented WooCommerce cookies

Scan my website free

Open the free website cookie checker →