plugin install
This commit is contained in:
1
wp/wp-content/plugins/woocommerce/assets/js/frontend/wp-consent-api-integration.min.js
vendored
Normal file
1
wp/wp-content/plugins/woocommerce/assets/js/frontend/wp-consent-api-integration.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";document.addEventListener("wp_listen_for_consent_change",t=>{const n=t.detail;for(const t in n)n.hasOwnProperty(t)&&t===window.wc_order_attribution.params.consentCategory&&window.wc_order_attribution.setOrderTracking("allow"===n[t])}),document.addEventListener("wp_consent_type_defined",()=>{window.wc_order_attribution.setOrderTracking(wp_has_consent(window.wc_order_attribution.params.consentCategory))})}();
|
||||
Reference in New Issue
Block a user