Integracije
WooCommerceWooCommerce
praktično preverjenoPlatforme in trgovine

WooCommerce | Integracije CookiePilot

WooCommerce: Začnite tam, kjer se tagi nalagajo: CMS, tema trgovine ali GTM. Nato testirajte izdelek, košarico, checkout in obrazce.

Pregled

WooCommerce: Začnite tam, kjer se tagi nalagajo: CMS, tema trgovine ali GTM. Nato testirajte izdelek, košarico, checkout in obrazce.

praktično preverjeno
Začnite tam, kjer se tagi nalagajo: CMS, tema trgovine ali GTM. Nato testirajte izdelek, košarico, checkout in obrazce.
Ne navajamo certifikatov, ki niso v izdelku. Opisujemo Consent Mode v2, dataLayer, blokiranje trackerjev in teste.

Why WooCommerce needs a dedicated flow

The store cannot break after Reject. CookiePilot treats WooCommerce cart/session cookies as necessary: woocommerce_cart_hash, woocommerce_items_in_cart and wp_woocommerce_session_*.

Analytics and marketing tags such as GA4 ecommerce, Google Ads, Meta Pixel, TikTok, Hotjar and Klaviyo should wait for consent.

Source: WooCommerce.tsx and cookie-database.ts
Necessary cart/session cookies
GA4, Ads and Meta paused before consent

WooCommerce-safe settings in the plugin

The WooCommerce component exposes Apply WooCommerce-safe settings. It saves enforceBlocking: true, blockingMode: AUTO and denied Consent Mode defaults for analytics/ad/ad_user_data/ad_personalization.

The WooCommerce Shop banner preset uses WooCommerce purple #7f54b3, a cart icon and a visible reject button.

enforceBlocking: true
blockingMode: AUTO
Preset: WooCommerce Shop

Production smoke test

Test product, add-to-cart, cart, checkout and thank-you page before consent, after Reject and after Accept.

Google cookieless pings are not failures when storage is denied and no tracking cookies are written. Real failures are tracking cookies or marketing requests before consent.

Test product → cart → checkout → thank-you
Reject must not break checkout
Accept starts vendors after consent update

Koraki

  1. 1Začnite tam, kjer se tagi nalagajo: CMS, tema trgovine ali GTM. Nato testirajte izdelek, košarico, checkout in obrazce.
  2. 2Ne navajamo certifikatov, ki niso v izdelku. Opisujemo Consent Mode v2, dataLayer, blokiranje trackerjev in teste.
  3. 3Testni seznam: praktično preverjeno.

Testni seznam

  • Vedenje soglasja
  • Ne navajamo certifikatov, ki niso v izdelku. Opisujemo Consent Mode v2, dataLayer, blokiranje trackerjev in teste.
  • Začnite tam, kjer se tagi nalagajo: CMS, tema trgovine ali GTM. Nato testirajte izdelek, košarico, checkout in obrazce.

FAQ

Je to pravni nasvet?

Ne. To je tehnični vodič. Posebne podatkovne tokove naj pregleda pravna ekipa.

Ali CookiePilot vse blokira samodejno?

Podpira autoblocking in Consent Mode. Trackerje pred CMP je treba premakniti za stub ali GTM Consent Initialization.