"use strict";(globalThis.webpackChunkgtm_kit_settings=globalThis.webpackChunkgtm_kit_settings||[]).push([[76],{4901:(t,e,i)=>{i.d(e,{A:()=>r});var n=i(7723),s=i(6992),a=i(237),o=i(6087),d=i(3951),l=i(790);const r=(0,o.memo)((({pluginName:t,optionName:e,pluginInactive:i})=>{const{useSettings:r,updateStateSettings:g}=(0,o.useContext)(d.ph);return(0,l.jsxs)(a.A,{disabled:i,children:[(0,l.jsx)(a.A.Header,{title:(0,n.sprintf)(
// translators: %s is the name of the plugin.
// translators: %s is the name of the plugin.
(0,n.__)("%s Integration","gtm-kit"),t)}),(0,l.jsx)(a.A.Content,{children:(0,l.jsx)(s.A,{title:(0,n.sprintf)(
// translators: %s is the name of the plugin.
// translators: %s is the name of the plugin.
(0,n.__)("Track %s","gtm-kit"),t),label:(0,n.sprintf)(
// translators: %s is the name of the plugin.
// translators: %s is the name of the plugin.
(0,n.__)("Activate the %s integration","gtm-kit"),t),optionGroup:"integrations",optionName:e,disabled:i,useSettings:r,updateStateSettings:g})})]})}))},2076:(t,e,i)=>{i.r(e),i.d(e,{default:()=>_});var n=i(7723),s=i(9566),a=i(6992),o=i(8949),d=i(4901),l=i(4832),r=i(3903),g=i(8562),u=i(237),p=i(790);const _=()=>{const t="Easy Digital Downloads",{pluginInactive:e,settingsInactive:i}=(0,s.q)("edd","edd_integration");return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8",children:(0,n.__)("Easy Digital Downloads","gtm-kit")}),e?(0,p.jsx)(o.A,{pluginName:t}):null,(0,p.jsx)(d.A,{pluginName:t,optionName:"edd_integration",pluginInactive:e}),(0,p.jsxs)(u.A,{disabled:i,children:[(0,p.jsx)(u.A.Header,{title:(0,n.__)("Basic Settings","gtm-kit")}),(0,p.jsxs)(u.A.Content,{children:[(0,p.jsx)(a.A,{title:(0,n.__)("Use SKU instead of ID","gtm-kit"),label:(0,n.__)("Use SKU instead of the product ID with fallback to ID if no SKU is set.","gtm-kit"),optionGroup:"integrations",optionName:"edd_use_sku",disabled:i}),(0,p.jsx)(a.A,{title:(0,n.__)("Exclude tax","gtm-kit"),label:(0,n.__)("Exclude tax from prices and revenue","gtm-kit"),optionGroup:"integrations",optionName:"edd_exclude_tax",disabled:i}),(0,p.jsx)(a.A,{title:(0,n.__)("Include customer data","gtm-kit"),label:(0,n.__)('Enable this option to include customer data in the data layer on the "purchase" event.',"gtm-kit"),optionGroup:"integrations",optionName:"edd_include_customer_data",disabled:i})]})]}),(0,p.jsxs)(u.A,{disabled:i,children:[(0,p.jsx)(u.A.Header,{title:(0,n.__)("Google Ads Settings","gtm-kit")}),(0,p.jsxs)(u.A.Content,{children:[(0,p.jsx)(l.A,{title:(0,n.__)("Google Business Vertical","gtm-kit"),optionGroup:"integrations",optionName:"edd_google_business_vertical",options:g.X,help:(0,n.__)("In order to use Google Ads Remarketing you must select your business type (vertical).","gtm-kit"),notSet:!0,disabled:i}),(0,p.jsx)(r.A,{title:(0,n.__)("Product ID prefix","gtm-kit"),optionGroup:"integrations",optionName:"edd_product_id_prefix",placeholder:(0,n.__)("Enter prefix","gtm-kit"),help:(0,n.__)("If your product feed generator is adding a prefix to the product IDs, you can add the prefix here to include it in the Data Layer.","gtm-kit"),disabled:i})]})]}),(0,p.jsxs)(u.A,{disabled:e,children:[(0,p.jsx)(u.A.Header,{title:(0,n.__)("Advanced settings","gtm-kit")}),(0,p.jsx)(u.A.Content,{children:(0,p.jsx)(a.A,{title:(0,n.__)("Dequeue the default JavaScript","gtm-kit"),label:(0,n.__)("Enable this option to dequeue the default JavaScript if you plan to create your own JavaScript.","gtm-kit"),optionGroup:"integrations",optionName:"edd_dequeue_script",disabled:i})})]})]})}}}]);