From 000e53ebc42939e5fe60e8755e28fd52484bb7c8 Mon Sep 17 00:00:00 2001 From: Torben Lundsgaard Date: Wed, 3 Jul 2024 16:53:41 +0200 Subject: [PATCH] Prepare release 1.23 --- assets/admin/settings.asset.php | 2 +- assets/admin/settings.js | 2 +- composer.lock | 10 +- gtm-kit.php | 4 +- languages/gtm-kit.pot | 150 ++++++++++------------------ package-lock.json | 4 +- package.json | 2 +- readme.txt | 7 +- vendor/autoload.php | 2 +- vendor/composer/autoload_real.php | 8 +- vendor/composer/autoload_static.php | 8 +- vendor/composer/installed.php | 4 +- 12 files changed, 81 insertions(+), 122 deletions(-) diff --git a/assets/admin/settings.asset.php b/assets/admin/settings.asset.php index a237100..57690f2 100644 --- a/assets/admin/settings.asset.php +++ b/assets/admin/settings.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '6f14021299809ef838da'); + array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'a613e9bed392753e55fe'); diff --git a/assets/admin/settings.js b/assets/admin/settings.js index 70e41f1..c2ca71c 100644 --- a/assets/admin/settings.js +++ b/assets/admin/settings.js @@ -10,4 +10,4 @@ // translators: %s is the name of the plugin. (0,a.__)("Track %s","gtm-kit"),e),label:(0,a.sprintf)( // translators: %s is the name of the plugin. -(0,a.__)("Activate the %s integration","gtm-kit"),e),optionGroup:"integrations",optionName:n,disabled:r,useSettings:l,useUpdateStateSettings:o})))},Nt=[{label:(0,a.__)("Retail","gtm-kit"),value:"retail"},{label:(0,a.__)("Education","gtm-kit"),value:"education"},{label:(0,a.__)("Flights","gtm-kit"),value:"flights"},{label:(0,a.__)("Hotel rental","gtm-kit"),value:"hotel_rental"},{label:(0,a.__)("Jobs","gtm-kit"),value:"jobs"},{label:(0,a.__)("Local deals","gtm-kit"),value:"local"},{label:(0,a.__)("Real estate","gtm-kit"),value:"real_estate"},{label:(0,a.__)("Travel","gtm-kit"),value:"travel"},{label:(0,a.__)("Custom","gtm-kit"),value:"custom"}],Ct=e=>{const{Fill:n,Slot:a}=(0,r.createSlotFill)(e),i=({children:e})=>(0,t.createElement)(n,null,e);return i.Slot=({fillProps:e})=>(0,t.createElement)(a,{fillProps:e},(e=>e.length?e:null)),i},Tt=Ct("GravityForms"),Ut=Ct("WooWebhooks"),Dt=Ct("WooCustomSelectors"),Pt=()=>{const{useSettings:e,useUpdateStateSettings:n}=(0,i.useContext)(g),r="WooCommerce",l=!window.gtmkitSettings.plugins.woocommerce,o=l||!e.integrations.woocommerce_integration,s=o||!e.general.sgtm_domain,m=s||!e.premium.woocommerce_webhooks;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("WooCommerce","gtm-kit")),l?(0,t.createElement)(yt,{pluginName:r}):null,(0,t.createElement)(wt,{pluginName:r,optionName:"woocommerce_integration",pluginInactive:l}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Basic settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(xt,{title:(0,a.__)("Brand","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_brand",options:window.gtmkitSettings.taxonomyOptions,help:(0,a.__)("Select the taxonomy that is used for product brands","gtm-kit"),notSet:!0,disabled:o}),(0,t.createElement)(ct,{title:(0,a.__)("Use SKU instead of ID","gtm-kit"),label:(0,a.__)("Use SKU instead of the product ID with fallback to ID if no SKU is set.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_use_sku",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Exclude tax","gtm-kit"),label:(0,a.__)("Exclude tax from prices and revenue","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_exclude_tax",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Exclude shipping from revenue","gtm-kit"),label:(0,a.__)("Exclude shipping from revenue","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_exclude_shipping",disabled:o,useSettings:e,useUpdateStateSettings:n}))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("User Data","gtm-kit")}),(0,t.createElement)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-4"},(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Include customer data","gtm-kit"),label:(0,a.__)('Enable this option to include customer data in the data layer on the "purchase" event.',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_include_customer_data",disabled:o,useSettings:e,useUpdateStateSettings:n})),(0,t.createElement)("div",{className:"gtmkit-px-8 gtmkit-py-6"},(0,t.createElement)("div",{className:"gtmkit-border-2 gtmkit-px-4 gtmkit-mt-3"},(0,t.createElement)("h4",{className:"gtmkit-pt-3 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold"},(0,a.__)("User-Provided Data","gtm-kit")),(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("The user data is available in the datalayer in 'ecommerce.customer' and a subset of the user data formatted for the 'User-Provided Data' variable is available in 'user-data'.","gtm-kit")," ",(0,t.createElement)("a",{href:"https://support.google.com/google-ads/answer/13262500?sjid=9465166023214753583-EU#Code_snippet",className:"gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",target:"_blank",rel:"noreferrer"},(0,a.__)("Learn more","gtm-kit"))))))),(0,t.createElement)(Ut.Slot,{fillProps:{settingsInactive:o,useSettings:e,useUpdateStateSettings:n,sgtmInactive:s,webhooksInactive:m}}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Event customization","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(gt,{title:"view_item_list (with product filter)",options:[{label:(0,a.__)("Push view_item_list when the list is updated using a product filter.","gtm-kit"),value:0},{label:(0,a.__)("Only only push view_item_list once per per page for each list.","gtm-kit"),value:1}],help:(0,a.__)("Do you what to push the view_item_list event if the list is updated using a filter or just once per page view.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_view_item_list_limit",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(gt,{title:"view_item",options:[{label:(0,a.__)("Only push view_item on the master product","gtm-kit"),value:0},{label:(0,a.__)("Push view_item on master and variation products (higher number of views).","gtm-kit"),value:1},{label:(0,a.__)("Only push view_item on variation products.","gtm-kit"),value:2}],help:(0,a.__)('When do you want to fire the "view_item" event on variable products?',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_variable_product_tracking",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(gt,{title:"add_shipping_info ",options:[{label:(0,a.__)("When the 'Place order' button is clicked","gtm-kit"),value:1},{label:(0,a.__)("When a shipment method is selected with fallback to the 'Place order' button.","gtm-kit"),value:2},{label:(0,a.__)("Disable the 'add_shipment_info' event.","gtm-kit"),value:0}],help:(0,a.__)('When do you want to fire the "add_shipment_info" event?',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_shipping_info",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(gt,{title:"add_payment_info ",options:[{label:(0,a.__)("When the 'Place order' button is clicked","gtm-kit"),value:1},{label:(0,a.__)("When a payment method is selected with fallback to the 'Place order' button.","gtm-kit"),value:2},{label:(0,a.__)("Disable the 'add_payment_info' event.","gtm-kit"),value:0}],help:(0,a.__)('When do you want to fire the "add_payment_info" event?',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_payment_info",disabled:o,useSettings:e,useUpdateStateSettings:n}))),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Google Ads Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(xt,{title:(0,a.__)("Google Business Vertical","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_google_business_vertical",options:Nt,help:(0,a.__)("In order to use Google Ads Remarketing you must select your business type (vertical).","gtm-kit"),notSet:!0,disabled:o}),(0,t.createElement)(mt,{title:(0,a.__)("Product ID prefix","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_product_id_prefix",placeholder:(0,a.__)("Enter prefix …","gtm-kit"),help:(0,a.__)("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:o,useSettings:e,useUpdateStateSettings:n}))),(0,t.createElement)(Dt.Slot,{fillProps:{settingsInactive:o,useSettings:e,useUpdateStateSettings:n,sgtmInactive:s,webhooksInactive:m}}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Advanced settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Dequeue the default JavaScript","gtm-kit"),label:(0,a.__)("Enable this option to dequeue the default JavaScript if you plan to create your own JavaScript.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_dequeue_script",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Include permalink structure","gtm-kit"),label:(0,a.__)("Enable this option to include the permalink structure of the product base, category base, tag base and attribute base.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_include_permalink_structure",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Include path of pages","gtm-kit"),label:(0,a.__)("Enable this option to include the path of cart, checkout, order received and my account page.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_include_pages",disabled:o,useSettings:e,useUpdateStateSettings:n}))))},It=()=>{const{useSettings:e,useUpdateStateSettings:n}=(0,i.useContext)(g),r="Contact Form 7",l=!window.gtmkitSettings.plugins.cf7,o=l||!e.integrations.cf7_integration;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Contact Form 7","gtm-kit")),l?(0,t.createElement)(yt,{pluginName:r}):null,(0,t.createElement)(wt,{pluginName:r,optionName:"cf7_integration",pluginInactive:l}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Basic Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(gt,{title:(0,a.__)("Load JavaScript","gtm-kit"),options:[{label:(0,a.__)("Only on pages where the Contact Form 7 script is registered (recommended).","gtm-kit"),value:1},{label:(0,a.__)("On all pages","gtm-kit"),value:2}],help:(0,a.__)("Where do you want load the JavaScript?","gtm-kit"),optionGroup:"integrations",optionName:"cf7_load_js",disabled:o,useSettings:e,useUpdateStateSettings:n}))))},Gt=()=>{const e="Easy Digital Downloads",n=!window.gtmkitSettings.plugins.edd,{useSettings:r}=(0,i.useContext)(g),l=n||!r.integrations.edd_integration;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Easy Digital Downloads","gtm-kit")),n?(0,t.createElement)(yt,{pluginName:e}):null,(0,t.createElement)(wt,{pluginName:e,optionName:"edd_integration",pluginInactive:n}),(0,t.createElement)(pt,{disabled:l},(0,t.createElement)(pt.Header,{title:(0,a.__)("Basic Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Use SKU instead of ID","gtm-kit"),label:(0,a.__)("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:l}),(0,t.createElement)(ct,{title:(0,a.__)("Exclude tax","gtm-kit"),label:(0,a.__)("Exclude tax from prices and revenue","gtm-kit"),optionGroup:"integrations",optionName:"edd_exclude_tax",disabled:l}),(0,t.createElement)(ct,{title:(0,a.__)("Include customer data","gtm-kit"),label:(0,a.__)('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:l}))),(0,t.createElement)(pt,{disabled:l},(0,t.createElement)(pt.Header,{title:(0,a.__)("Google Ads Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(xt,{title:(0,a.__)("Google Business Vertical","gtm-kit"),optionGroup:"integrations",optionName:"edd_google_business_vertical",options:Nt,help:(0,a.__)("In order to use Google Ads Remarketing you must select your business type (vertical).","gtm-kit"),notSet:!0,disabled:l}),(0,t.createElement)(mt,{title:(0,a.__)("Product ID prefix","gtm-kit"),optionGroup:"integrations",optionName:"edd_product_id_prefix",placeholder:(0,a.__)("Enter prefix …","gtm-kit"),help:(0,a.__)("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:l,useSettings:r,useUpdateStateSettings}))),(0,t.createElement)(pt,{disabled:n},(0,t.createElement)(pt.Header,{title:(0,a.__)("Advanced settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Dequeue the default JavaScript","gtm-kit"),label:(0,a.__)("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:l}))))},Ot=window.gtmkitSettings.templates||{},Mt=(Object.keys(Ot).map((function(e){const t=Ot[e][0];return{title:t.title,to:t.path,pill:!1,text:[t.description],link:{internal:!0,url:window.gtmkitSettings.templatesUrl,destination:"/"+t.path,text:(0,a.__)("Get template","gtm-kit")}}})),()=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Getting Started","gtm-kit")),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Configure your Google Tag Manager container","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("GTM Kit is sending data to your Google Tag Manger container but you still need to configure Tags, Triggers and Variables in GTM to use the data.","gtm-kit")),(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("Below you will find GTM container template files, with all the necessary tags, trigger, and variables.","gtm-kit")),(0,t.createElement)("p",null,(0,a.__)("Please read the guide on how to use the import files and configure GTM.","gtm-kit"),(0,t.createElement)("a",{className:"gtmkit-ml-2 gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",href:"https://gtmkit.com/guides/how-to-import-a-google-tag-manager-container/",target:"_blank",rel:"noreferrer"},(0,a.__)("Read the guide","gtm-kit"))))),(0,t.createElement)(lt,{title:(0,a.__)("Templates","gtm-kit"),data:ot("templates")}))),Rt=({title:e,description:n,link:i,templates:r})=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:e}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",{className:"gtmkit-mb-4"},n),i&&i.url&&i.link_text?(0,t.createElement)("div",null,(0,t.createElement)("a",{href:i.url,target:"_blank",className:"gtmkit-text-color-primary gtmkit-text-base dgtmkit-font-semibold hover:gtmkit-underline",rel:"noreferrer"},i.link_text)):null,r&&r.length>0?(0,t.createElement)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-8 gtmkit-mt-8 gtmkit-border-2 gtmkit-px-6 gtmkit-py-4"},(0,t.createElement)("div",null,(0,t.createElement)("h4",{className:"gtmkit-font-bold"},(0,a.__)("GTM container import files:","gtm-kit")),(0,t.createElement)("ul",{className:"gtmkit-text-sm gtmkit-text-color-primary"},r.map((function(e){return(0,t.createElement)("li",null,(0,t.createElement)("a",{className:"hover:gtmkit-underline",href:e.link,target:"_blank",rel:"noreferrer"},e.title))})))),(0,t.createElement)("div",null,(0,t.createElement)("h4",{className:"gtmkit-font-bold"},(0,a.__)("Necessary modifications:","gtm-kit")),(0,t.createElement)("ul",{className:"gtmkit-text-sm"},r.map((function(e){return(0,t.createElement)("li",null,e.help_text)}))))):null))),Lt=({sectionData:e})=>{const n=e.collections;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},e.title),Object.keys(n).map((function(e){return(0,t.createElement)(Rt,{title:n[e].title,description:n[e].description,link:n[e].link,templates:n[e].templates})})))},At=()=>{const e=ae(),n=window.gtmkitSettings.tutorials;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Help","gtm-kit")),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Need help?","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("We are here to help if you have any questions.","gtm-kit"),(0,t.createElement)("a",{className:"gtmkit-ml-2 gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",onClick:()=>{e("/support",{replace:!0})}},(0,a.__)("See support options","gtm-kit"))))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Tutorials","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("ul",null,n.map(((e,n)=>(0,t.createElement)("li",{key:n,className:"gtmkit-mb-4"},(0,t.createElement)("a",{href:e.link.url,target:"_blank",rel:"noreferrer",className:"gtmkit-font-semibold gtmkit-text-color-primary hover:gtmkit-underline"},e.title),e.text.map(((e,n)=>(0,t.createElement)("div",{key:n,className:"gtmkit-text-sm"},e))))))))))},Kt=()=>{const{useIsSending:e,useSiteData:n,useUpdateSupportTicket:l,useSupportTicket:o,useSendSystemData:s,useIsSystemDataSent:m,useSystemDataMessage:c}=(0,i.useContext)(g);return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Get support","gtm-kit")),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Support options","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("ul",{className:"gtmkit-text-color-primary"},(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://wordpress.org/support/plugin/gtm-kit/",target:"_blank",rel:"noreferrer"},(0,a.__)("WordPress.org Support Forum","gtm-kit"))),(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://github.com/tlamedia/gtm-kit",target:"_blank",rel:"noreferrer"},(0,a.__)("GITHub repository","gtm-kit"))),(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://gtmkit.com/",target:"_blank",rel:"noreferrer"},(0,a.__)("Plugin Homepage","gtm-kit"))," ","(gtmkit.com)")))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Share system data with the GTM Kit support team","gtm-kit")}),(0,t.createElement)(pt.Content,null,m?(0,t.createElement)("p",{className:"gtmkit-mb-2"},c):(0,t.createElement)(t.Fragment,null,(0,t.createElement)("p",{className:"gtmkit-mb-2"},(0,a.__)("If the GTM Kit support team has asked you to send your system data you can do so by entering the support ticket below:","gtm-kit")),(0,t.createElement)(r.TextControl,{label:(0,t.createElement)("span",{className:"gtmkit-text-red-600"},c," "),placeholder:(0,a.__)("Enter support ticket","gtm-kit"),className:"gtmkit-settings-field-wrap gtmkit-py-4 gtmkit-max-w-md",value:o,onChange:e=>l(e)}),(0,t.createElement)(r.Button,{variant:"primary",className:"gtmkit-mx-auto gtmkit-rounded-md !gtmkit-py-4 !gtmkit-px-6 gtmkit-text-base disabled:!gtmkit-bg-color-button-disabled disabled:!gtmkit-text-color-grey",onClick:()=>{s()},disabled:!o.toUpperCase().startsWith("FS")},(0,t.createElement)("span",null,(0,a.__)("Send system data","gtm-kit")),e?(0,t.createElement)(r.Spinner,null):"")))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("About GTM Kit","gtm-kit"),className:"gtmkit-flex gtmkit-items-center"},(0,t.createElement)("span",{className:"gtmkit-text-sm gtmkit-text-color-grey gtmkit-font-light gtmkit-ml-2"},"(",(0,a.__)("Version:","gtm-kit")," ",n.gtmkit_version,")")),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",null,(0,a.__)("Learn about changes and follow the development of GTM Kit:","gtm-kit"),(0,t.createElement)("br",null),(0,t.createElement)("a",{className:"gtmkit-text-color-primary hover:gtmkit-underline",href:"https://gtmkit.com/changelog/",target:"_blank",rel:"noreferrer"},(0,a.__)("The changelog","gtm-kit")),(0,t.createElement)("br",null),(0,t.createElement)("a",{className:"gtmkit-text-color-primary hover:gtmkit-underline",href:"https://github.com/tlamedia/gtm-kit",target:"_blank",rel:"noreferrer"},(0,a.__)("The GitHub repository","gtm-kit"))))))};const Ft=({integrationID:e,pluginName:n})=>{const{useSettings:a,useUpdateStateSettings:r}=(0,i.useContext)(g),l=!window.gtmkitSettings.plugins[e],o=l||!a.integrations[e+"_integration"];return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},n),l?(0,t.createElement)(yt,{pluginName:n}):null,(0,t.createElement)(wt,{pluginName:n,optionName:e+"_integration",pluginInactive:l}),"gf"===e?(0,t.createElement)(Tt.Slot,{fillProps:{settingsInactive:o,useSettings:a,useUpdateStateSettings:r}}):null)},jt=window.wp.plugins,Ht={integrations:(0,a.__)("Integrations","gtm-kit"),templates:(0,a.__)("Google Tag Manager Templates","gtm-kit"),help:(0,a.__)("Help","gtm-kit")},Bt=()=>{const{useSettings:e}=(0,i.useContext)(g),n=window.gtmkitSettings,l=n.currentPage,o=function({page:e}){switch(e){case"general":return[{to:"general",title:(0,a.__)("Dashboard","gtm-kit")},{to:"container",title:(0,a.__)("Container","gtm-kit")},{to:"post-data",title:(0,a.__)("Post data","gtm-kit")},{to:"user-data",title:(0,a.__)("User data","gtm-kit")},{to:"google-consent-mode",title:(0,a.__)("Google Consent Mode","gtm-kit")},{to:"misc",title:(0,a.__)("Misc","gtm-kit")}];case"integrations":return[{to:"integrations",title:(0,a.__)("Integrations","gtm-kit")},...ot("integrations")];case"templates":return[{to:"templates",title:(0,a.__)("Templates","gtm-kit")},...ot("templates")];case"help":return[{to:"help",title:(0,a.__)("Help","gtm-kit")},{to:"support",title:(0,a.__)("Support","gtm-kit")}]}}({page:l}),s=n.templates,m=n.integrations,c=Ht[l]||(0,a.__)("Settings","gtm-kit");return Object.keys(e).length?(0,t.createElement)(r.SlotFillProvider,null,(0,t.createElement)(Oe,{title:c}),(0,t.createElement)(Re,{NavList:o}),(0,t.createElement)("main",{className:"gtmkit-max-w-[1536px] gtmkit-px-8 gtmkit-pt-8 gtmkit-text-base"},(0,t.createElement)(ke,null,(0,t.createElement)(he,{exact:!0,path:"/general",element:(0,t.createElement)(st,null)}),(0,t.createElement)(he,{exact:!0,path:"/container",element:(0,t.createElement)(ht,null)}),(0,t.createElement)(he,{exact:!0,path:"/post-data",element:(0,t.createElement)(_t,null)}),(0,t.createElement)(he,{exact:!0,path:"/user-data",element:(0,t.createElement)(kt,null)}),(0,t.createElement)(he,{exact:!0,path:"/google-consent-mode",element:(0,t.createElement)(ft,null)}),(0,t.createElement)(he,{exact:!0,path:"/misc",element:(0,t.createElement)(vt,null)}),(0,t.createElement)(he,{exact:!0,path:"/integrations",element:(0,t.createElement)(bt,null)}),(0,t.createElement)(he,{exact:!0,path:"/woocommerce",element:(0,t.createElement)(Pt,null)}),(0,t.createElement)(he,{exact:!0,path:"/cf7",element:(0,t.createElement)(It,null)}),(0,t.createElement)(he,{exact:!0,path:"/edd",element:(0,t.createElement)(Gt,null)}),m&&Object.keys(m).map((function(e){if("add-on"===m[e].type)return(0,t.createElement)(he,{exact:!0,key:e,path:e,element:(0,t.createElement)(Ft,{integrationID:e,pluginName:m[e].title})})})),(0,t.createElement)(he,{exact:!0,path:"/templates",element:(0,t.createElement)(Mt,null)}),s&&Object.keys(s).map((function(e){return(0,t.createElement)(he,{exact:!0,key:e,path:e,element:(0,t.createElement)(Lt,{sectionData:s[e][0]})})})),(0,t.createElement)(he,{exact:!0,path:"/help",element:(0,t.createElement)(At,null)}),(0,t.createElement)(he,{exact:!0,path:"/support",element:(0,t.createElement)(Kt,null)}),(0,t.createElement)(he,{path:"/",element:(0,t.createElement)(pe,{replace:!0,to:"/"+l})}))),(0,t.createElement)(nt,null),(0,t.createElement)(jt.PluginArea,null)):(0,t.createElement)("div",{className:"gtmkit-h-screen gtmkit-flex gtmkit-items-center gtmkit-justify-center"},(0,t.createElement)(r.Spinner,null))},Wt=()=>(0,t.createElement)(Ce,{basename:"/"},(0,t.createElement)(u,null,(0,t.createElement)(Bt,null)));document.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById(window.gtmkitSettings.rootId);null!=e&&(0,i.render)((0,t.createElement)(Wt,null),e)}))})(); \ No newline at end of file +(0,a.__)("Activate the %s integration","gtm-kit"),e),optionGroup:"integrations",optionName:n,disabled:r,useSettings:l,useUpdateStateSettings:o})))},Nt=[{label:(0,a.__)("Retail","gtm-kit"),value:"retail"},{label:(0,a.__)("Education","gtm-kit"),value:"education"},{label:(0,a.__)("Flights","gtm-kit"),value:"flights"},{label:(0,a.__)("Hotel rental","gtm-kit"),value:"hotel_rental"},{label:(0,a.__)("Jobs","gtm-kit"),value:"jobs"},{label:(0,a.__)("Local deals","gtm-kit"),value:"local"},{label:(0,a.__)("Real estate","gtm-kit"),value:"real_estate"},{label:(0,a.__)("Travel","gtm-kit"),value:"travel"},{label:(0,a.__)("Custom","gtm-kit"),value:"custom"}],Ct=e=>{const{Fill:n,Slot:a}=(0,r.createSlotFill)(e),i=({children:e})=>(0,t.createElement)(n,null,e);return i.Slot=({fillProps:e})=>(0,t.createElement)(a,{fillProps:e},(e=>e.length?e:null)),i},Tt=Ct("GravityForms"),Ut=Ct("WooWebhooks"),Dt=Ct("WooCustomSelectors"),Pt=()=>{const{useSettings:e,useUpdateStateSettings:n}=(0,i.useContext)(g),r="WooCommerce",l=!window.gtmkitSettings.plugins.woocommerce,o=l||!e.integrations.woocommerce_integration,s=o||!e.general.sgtm_domain,m=s||!e.premium.woocommerce_webhooks;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("WooCommerce","gtm-kit")),l?(0,t.createElement)(yt,{pluginName:r}):null,(0,t.createElement)(wt,{pluginName:r,optionName:"woocommerce_integration",pluginInactive:l}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Basic settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(xt,{title:(0,a.__)("Brand","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_brand",options:window.gtmkitSettings.taxonomyOptions,help:(0,a.__)("Select the taxonomy that is used for product brands","gtm-kit"),notSet:!0,disabled:o}),(0,t.createElement)(ct,{title:(0,a.__)("Use SKU instead of ID","gtm-kit"),label:(0,a.__)("Use SKU instead of the product ID with fallback to ID if no SKU is set.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_use_sku",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Exclude tax","gtm-kit"),label:(0,a.__)("Exclude tax from prices and revenue","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_exclude_tax",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Exclude shipping from revenue","gtm-kit"),label:(0,a.__)("Exclude shipping from revenue","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_exclude_shipping",disabled:o,useSettings:e,useUpdateStateSettings:n}))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("User Data","gtm-kit")}),(0,t.createElement)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-4"},(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Include customer data","gtm-kit"),label:(0,a.__)('Enable this option to include customer data in the data layer on the "purchase" event.',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_include_customer_data",disabled:o,useSettings:e,useUpdateStateSettings:n})),(0,t.createElement)("div",{className:"gtmkit-px-8 gtmkit-py-6"},(0,t.createElement)("div",{className:"gtmkit-border-2 gtmkit-px-4 gtmkit-mt-3"},(0,t.createElement)("h4",{className:"gtmkit-pt-3 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold"},(0,a.__)("User-Provided Data","gtm-kit")),(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("The user data is available in the datalayer in 'ecommerce.customer' and a subset of the user data formatted for the 'User-Provided Data' variable is available in 'user-data'.","gtm-kit")," ",(0,t.createElement)("a",{href:"https://support.google.com/google-ads/answer/13262500?sjid=9465166023214753583-EU#Code_snippet",className:"gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",target:"_blank",rel:"noreferrer"},(0,a.__)("Learn more","gtm-kit"))))))),(0,t.createElement)(Ut.Slot,{fillProps:{settingsInactive:o,useSettings:e,useUpdateStateSettings:n,sgtmInactive:s,webhooksInactive:m}}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Event customization","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(gt,{title:"view_item_list (with product filter)",options:[{label:(0,a.__)("Push view_item_list when the list is updated using a product filter.","gtm-kit"),value:0},{label:(0,a.__)("Only only push view_item_list once per per page for each list.","gtm-kit"),value:1}],help:(0,a.__)("Do you what to push the view_item_list event if the list is updated using a filter or just once per page view.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_view_item_list_limit",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(gt,{title:"view_item",options:[{label:(0,a.__)("Only push view_item on the master product","gtm-kit"),value:0},{label:(0,a.__)("Push view_item on master and variation products (higher number of views).","gtm-kit"),value:1},{label:(0,a.__)("Only push view_item on variation products.","gtm-kit"),value:2}],help:(0,a.__)('When do you want to fire the "view_item" event on variable products?',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_variable_product_tracking",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(gt,{title:"add_shipping_info ",options:[{label:(0,a.__)("When the 'Place order' button is clicked","gtm-kit"),value:1},{label:(0,a.__)("When a shipment method is selected with fallback to the 'Place order' button.","gtm-kit"),value:2},{label:(0,a.__)("Disable the 'add_shipment_info' event.","gtm-kit"),value:0}],help:(0,a.__)('When do you want to fire the "add_shipment_info" event?',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_shipping_info",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(gt,{title:"add_payment_info ",options:[{label:(0,a.__)("When the 'Place order' button is clicked","gtm-kit"),value:1},{label:(0,a.__)("When a payment method is selected with fallback to the 'Place order' button.","gtm-kit"),value:2},{label:(0,a.__)("Disable the 'add_payment_info' event.","gtm-kit"),value:0}],help:(0,a.__)('When do you want to fire the "add_payment_info" event?',"gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_payment_info",disabled:o,useSettings:e,useUpdateStateSettings:n}))),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Google Ads Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(xt,{title:(0,a.__)("Google Business Vertical","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_google_business_vertical",options:Nt,help:(0,a.__)("In order to use Google Ads Remarketing you must select your business type (vertical).","gtm-kit"),notSet:!0,disabled:o}),(0,t.createElement)(mt,{title:(0,a.__)("Product ID prefix","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_product_id_prefix",placeholder:(0,a.__)("Enter prefix …","gtm-kit"),help:(0,a.__)("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:o,useSettings:e,useUpdateStateSettings:n}))),(0,t.createElement)(Dt.Slot,{fillProps:{settingsInactive:o,useSettings:e,useUpdateStateSettings:n,sgtmInactive:s,webhooksInactive:m}}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Advanced settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Dequeue the default JavaScript","gtm-kit"),label:(0,a.__)("Enable this option to dequeue the default JavaScript if you plan to create your own JavaScript.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_dequeue_script",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Include permalink structure","gtm-kit"),label:(0,a.__)("Enable this option to include the permalink structure of the product base, category base, tag base and attribute base.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_include_permalink_structure",disabled:o,useSettings:e,useUpdateStateSettings:n}),(0,t.createElement)(ct,{title:(0,a.__)("Include path of pages","gtm-kit"),label:(0,a.__)("Enable this option to include the path of cart, checkout, order received and my account page.","gtm-kit"),optionGroup:"integrations",optionName:"woocommerce_include_pages",disabled:o,useSettings:e,useUpdateStateSettings:n}))))},It=()=>{const{useSettings:e,useUpdateStateSettings:n}=(0,i.useContext)(g),r="Contact Form 7",l=!window.gtmkitSettings.plugins.cf7,o=l||!e.integrations.cf7_integration;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Contact Form 7","gtm-kit")),l?(0,t.createElement)(yt,{pluginName:r}):null,(0,t.createElement)(wt,{pluginName:r,optionName:"cf7_integration",pluginInactive:l}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Basic Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(gt,{title:(0,a.__)("Load JavaScript","gtm-kit"),options:[{label:(0,a.__)("Only on pages where the Contact Form 7 script is registered (recommended).","gtm-kit"),value:1},{label:(0,a.__)("On all pages","gtm-kit"),value:2}],help:(0,a.__)("Where do you want load the JavaScript?","gtm-kit"),optionGroup:"integrations",optionName:"cf7_load_js",disabled:o,useSettings:e,useUpdateStateSettings:n}))))},Gt=()=>{const e="Easy Digital Downloads",n=!window.gtmkitSettings.plugins.edd,{useSettings:r,useUpdateStateSettings:l}=(0,i.useContext)(g),o=n||!r.integrations.edd_integration;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Easy Digital Downloads","gtm-kit")),n?(0,t.createElement)(yt,{pluginName:e}):null,(0,t.createElement)(wt,{pluginName:e,optionName:"edd_integration",pluginInactive:n}),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Basic Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Use SKU instead of ID","gtm-kit"),label:(0,a.__)("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:o,useSettings:r,useUpdateStateSettings:l}),(0,t.createElement)(ct,{title:(0,a.__)("Exclude tax","gtm-kit"),label:(0,a.__)("Exclude tax from prices and revenue","gtm-kit"),optionGroup:"integrations",optionName:"edd_exclude_tax",disabled:o,useSettings:r,useUpdateStateSettings:l}),(0,t.createElement)(ct,{title:(0,a.__)("Include customer data","gtm-kit"),label:(0,a.__)('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:o,useSettings:r,useUpdateStateSettings:l}))),(0,t.createElement)(pt,{disabled:o},(0,t.createElement)(pt.Header,{title:(0,a.__)("Google Ads Settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(xt,{title:(0,a.__)("Google Business Vertical","gtm-kit"),optionGroup:"integrations",optionName:"edd_google_business_vertical",options:Nt,help:(0,a.__)("In order to use Google Ads Remarketing you must select your business type (vertical).","gtm-kit"),notSet:!0,disabled:o}),(0,t.createElement)(mt,{title:(0,a.__)("Product ID prefix","gtm-kit"),optionGroup:"integrations",optionName:"edd_product_id_prefix",placeholder:(0,a.__)("Enter prefix …","gtm-kit"),help:(0,a.__)("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:o,useSettings:r,useUpdateStateSettings:l}))),(0,t.createElement)(pt,{disabled:n},(0,t.createElement)(pt.Header,{title:(0,a.__)("Advanced settings","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)(ct,{title:(0,a.__)("Dequeue the default JavaScript","gtm-kit"),label:(0,a.__)("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:o,useSettings:r,useUpdateStateSettings:l}))))},Ot=window.gtmkitSettings.templates||{},Mt=(Object.keys(Ot).map((function(e){const t=Ot[e][0];return{title:t.title,to:t.path,pill:!1,text:[t.description],link:{internal:!0,url:window.gtmkitSettings.templatesUrl,destination:"/"+t.path,text:(0,a.__)("Get template","gtm-kit")}}})),()=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Getting Started","gtm-kit")),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Configure your Google Tag Manager container","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("GTM Kit is sending data to your Google Tag Manger container but you still need to configure Tags, Triggers and Variables in GTM to use the data.","gtm-kit")),(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("Below you will find GTM container template files, with all the necessary tags, trigger, and variables.","gtm-kit")),(0,t.createElement)("p",null,(0,a.__)("Please read the guide on how to use the import files and configure GTM.","gtm-kit"),(0,t.createElement)("a",{className:"gtmkit-ml-2 gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",href:"https://gtmkit.com/guides/how-to-import-a-google-tag-manager-container/",target:"_blank",rel:"noreferrer"},(0,a.__)("Read the guide","gtm-kit"))))),(0,t.createElement)(lt,{title:(0,a.__)("Templates","gtm-kit"),data:ot("templates")}))),Rt=({title:e,description:n,link:i,templates:r})=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:e}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",{className:"gtmkit-mb-4"},n),i&&i.url&&i.link_text?(0,t.createElement)("div",null,(0,t.createElement)("a",{href:i.url,target:"_blank",className:"gtmkit-text-color-primary gtmkit-text-base dgtmkit-font-semibold hover:gtmkit-underline",rel:"noreferrer"},i.link_text)):null,r&&r.length>0?(0,t.createElement)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-8 gtmkit-mt-8 gtmkit-border-2 gtmkit-px-6 gtmkit-py-4"},(0,t.createElement)("div",null,(0,t.createElement)("h4",{className:"gtmkit-font-bold"},(0,a.__)("GTM container import files:","gtm-kit")),(0,t.createElement)("ul",{className:"gtmkit-text-sm gtmkit-text-color-primary"},r.map((function(e){return(0,t.createElement)("li",null,(0,t.createElement)("a",{className:"hover:gtmkit-underline",href:e.link,target:"_blank",rel:"noreferrer"},e.title))})))),(0,t.createElement)("div",null,(0,t.createElement)("h4",{className:"gtmkit-font-bold"},(0,a.__)("Necessary modifications:","gtm-kit")),(0,t.createElement)("ul",{className:"gtmkit-text-sm"},r.map((function(e){return(0,t.createElement)("li",null,e.help_text)}))))):null))),Lt=({sectionData:e})=>{const n=e.collections;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},e.title),Object.keys(n).map((function(e){return(0,t.createElement)(Rt,{title:n[e].title,description:n[e].description,link:n[e].link,templates:n[e].templates})})))},At=()=>{const e=ae(),n=window.gtmkitSettings.tutorials;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Help","gtm-kit")),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Need help?","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",{className:"gtmkit-mb-4"},(0,a.__)("We are here to help if you have any questions.","gtm-kit"),(0,t.createElement)("a",{className:"gtmkit-ml-2 gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",onClick:()=>{e("/support",{replace:!0})}},(0,a.__)("See support options","gtm-kit"))))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Tutorials","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("ul",null,n.map(((e,n)=>(0,t.createElement)("li",{key:n,className:"gtmkit-mb-4"},(0,t.createElement)("a",{href:e.link.url,target:"_blank",rel:"noreferrer",className:"gtmkit-font-semibold gtmkit-text-color-primary hover:gtmkit-underline"},e.title),e.text.map(((e,n)=>(0,t.createElement)("div",{key:n,className:"gtmkit-text-sm"},e))))))))))},Kt=()=>{const{useIsSending:e,useSiteData:n,useUpdateSupportTicket:l,useSupportTicket:o,useSendSystemData:s,useIsSystemDataSent:m,useSystemDataMessage:c}=(0,i.useContext)(g);return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,a.__)("Get support","gtm-kit")),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Support options","gtm-kit")}),(0,t.createElement)(pt.Content,null,(0,t.createElement)("ul",{className:"gtmkit-text-color-primary"},(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://wordpress.org/support/plugin/gtm-kit/",target:"_blank",rel:"noreferrer"},(0,a.__)("WordPress.org Support Forum","gtm-kit"))),(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://github.com/tlamedia/gtm-kit",target:"_blank",rel:"noreferrer"},(0,a.__)("GITHub repository","gtm-kit"))),(0,t.createElement)("li",null,(0,t.createElement)("a",{href:"https://gtmkit.com/",target:"_blank",rel:"noreferrer"},(0,a.__)("Plugin Homepage","gtm-kit"))," ","(gtmkit.com)")))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("Share system data with the GTM Kit support team","gtm-kit")}),(0,t.createElement)(pt.Content,null,m?(0,t.createElement)("p",{className:"gtmkit-mb-2"},c):(0,t.createElement)(t.Fragment,null,(0,t.createElement)("p",{className:"gtmkit-mb-2"},(0,a.__)("If the GTM Kit support team has asked you to send your system data you can do so by entering the support ticket below:","gtm-kit")),(0,t.createElement)(r.TextControl,{label:(0,t.createElement)("span",{className:"gtmkit-text-red-600"},c," "),placeholder:(0,a.__)("Enter support ticket","gtm-kit"),className:"gtmkit-settings-field-wrap gtmkit-py-4 gtmkit-max-w-md",value:o,onChange:e=>l(e)}),(0,t.createElement)(r.Button,{variant:"primary",className:"gtmkit-mx-auto gtmkit-rounded-md !gtmkit-py-4 !gtmkit-px-6 gtmkit-text-base disabled:!gtmkit-bg-color-button-disabled disabled:!gtmkit-text-color-grey",onClick:()=>{s()},disabled:!o.toUpperCase().startsWith("FS")},(0,t.createElement)("span",null,(0,a.__)("Send system data","gtm-kit")),e?(0,t.createElement)(r.Spinner,null):"")))),(0,t.createElement)(pt,null,(0,t.createElement)(pt.Header,{title:(0,a.__)("About GTM Kit","gtm-kit"),className:"gtmkit-flex gtmkit-items-center"},(0,t.createElement)("span",{className:"gtmkit-text-sm gtmkit-text-color-grey gtmkit-font-light gtmkit-ml-2"},"(",(0,a.__)("Version:","gtm-kit")," ",n.gtmkit_version,")")),(0,t.createElement)(pt.Content,null,(0,t.createElement)("p",null,(0,a.__)("Learn about changes and follow the development of GTM Kit:","gtm-kit"),(0,t.createElement)("br",null),(0,t.createElement)("a",{className:"gtmkit-text-color-primary hover:gtmkit-underline",href:"https://gtmkit.com/changelog/",target:"_blank",rel:"noreferrer"},(0,a.__)("The changelog","gtm-kit")),(0,t.createElement)("br",null),(0,t.createElement)("a",{className:"gtmkit-text-color-primary hover:gtmkit-underline",href:"https://github.com/tlamedia/gtm-kit",target:"_blank",rel:"noreferrer"},(0,a.__)("The GitHub repository","gtm-kit"))))))};const Ft=({integrationID:e,pluginName:n})=>{const{useSettings:a,useUpdateStateSettings:r}=(0,i.useContext)(g),l=!window.gtmkitSettings.plugins[e],o=l||!a.integrations[e+"_integration"];return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},n),l?(0,t.createElement)(yt,{pluginName:n}):null,(0,t.createElement)(wt,{pluginName:n,optionName:e+"_integration",pluginInactive:l}),"gf"===e?(0,t.createElement)(Tt.Slot,{fillProps:{settingsInactive:o,useSettings:a,useUpdateStateSettings:r}}):null)},jt=window.wp.plugins,Ht={integrations:(0,a.__)("Integrations","gtm-kit"),templates:(0,a.__)("Google Tag Manager Templates","gtm-kit"),help:(0,a.__)("Help","gtm-kit")},Bt=()=>{const{useSettings:e}=(0,i.useContext)(g),n=window.gtmkitSettings,l=n.currentPage,o=function({page:e}){switch(e){case"general":return[{to:"general",title:(0,a.__)("Dashboard","gtm-kit")},{to:"container",title:(0,a.__)("Container","gtm-kit")},{to:"post-data",title:(0,a.__)("Post data","gtm-kit")},{to:"user-data",title:(0,a.__)("User data","gtm-kit")},{to:"google-consent-mode",title:(0,a.__)("Google Consent Mode","gtm-kit")},{to:"misc",title:(0,a.__)("Misc","gtm-kit")}];case"integrations":return[{to:"integrations",title:(0,a.__)("Integrations","gtm-kit")},...ot("integrations")];case"templates":return[{to:"templates",title:(0,a.__)("Templates","gtm-kit")},...ot("templates")];case"help":return[{to:"help",title:(0,a.__)("Help","gtm-kit")},{to:"support",title:(0,a.__)("Support","gtm-kit")}]}}({page:l}),s=n.templates,m=n.integrations,c=Ht[l]||(0,a.__)("Settings","gtm-kit");return Object.keys(e).length?(0,t.createElement)(r.SlotFillProvider,null,(0,t.createElement)(Oe,{title:c}),(0,t.createElement)(Re,{NavList:o}),(0,t.createElement)("main",{className:"gtmkit-max-w-[1536px] gtmkit-px-8 gtmkit-pt-8 gtmkit-text-base"},(0,t.createElement)(ke,null,(0,t.createElement)(he,{exact:!0,path:"/general",element:(0,t.createElement)(st,null)}),(0,t.createElement)(he,{exact:!0,path:"/container",element:(0,t.createElement)(ht,null)}),(0,t.createElement)(he,{exact:!0,path:"/post-data",element:(0,t.createElement)(_t,null)}),(0,t.createElement)(he,{exact:!0,path:"/user-data",element:(0,t.createElement)(kt,null)}),(0,t.createElement)(he,{exact:!0,path:"/google-consent-mode",element:(0,t.createElement)(ft,null)}),(0,t.createElement)(he,{exact:!0,path:"/misc",element:(0,t.createElement)(vt,null)}),(0,t.createElement)(he,{exact:!0,path:"/integrations",element:(0,t.createElement)(bt,null)}),(0,t.createElement)(he,{exact:!0,path:"/woocommerce",element:(0,t.createElement)(Pt,null)}),(0,t.createElement)(he,{exact:!0,path:"/cf7",element:(0,t.createElement)(It,null)}),(0,t.createElement)(he,{exact:!0,path:"/edd",element:(0,t.createElement)(Gt,null)}),m&&Object.keys(m).map((function(e){if("add-on"===m[e].type)return(0,t.createElement)(he,{exact:!0,key:e,path:e,element:(0,t.createElement)(Ft,{integrationID:e,pluginName:m[e].title})})})),(0,t.createElement)(he,{exact:!0,path:"/templates",element:(0,t.createElement)(Mt,null)}),s&&Object.keys(s).map((function(e){return(0,t.createElement)(he,{exact:!0,key:e,path:e,element:(0,t.createElement)(Lt,{sectionData:s[e][0]})})})),(0,t.createElement)(he,{exact:!0,path:"/help",element:(0,t.createElement)(At,null)}),(0,t.createElement)(he,{exact:!0,path:"/support",element:(0,t.createElement)(Kt,null)}),(0,t.createElement)(he,{path:"/",element:(0,t.createElement)(pe,{replace:!0,to:"/"+l})}))),(0,t.createElement)(nt,null),(0,t.createElement)(jt.PluginArea,null)):(0,t.createElement)("div",{className:"gtmkit-h-screen gtmkit-flex gtmkit-items-center gtmkit-justify-center"},(0,t.createElement)(r.Spinner,null))},Wt=()=>(0,t.createElement)(Ce,{basename:"/"},(0,t.createElement)(u,null,(0,t.createElement)(Bt,null)));document.addEventListener("DOMContentLoaded",(()=>{const e=document.getElementById(window.gtmkitSettings.rootId);null!=e&&(0,i.render)((0,t.createElement)(Wt,null),e)}))})(); \ No newline at end of file diff --git a/composer.lock b/composer.lock index 224bfd8..9ad99b9 100644 --- a/composer.lock +++ b/composer.lock @@ -872,16 +872,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.11.5", + "version": "1.11.6", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "490f0ae1c92b082f154681d7849aee776a7c1443" + "reference": "6ac78f1165346c83b4a753f7e4186d969c6ad0ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/490f0ae1c92b082f154681d7849aee776a7c1443", - "reference": "490f0ae1c92b082f154681d7849aee776a7c1443", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/6ac78f1165346c83b4a753f7e4186d969c6ad0ee", + "reference": "6ac78f1165346c83b4a753f7e4186d969c6ad0ee", "shasum": "" }, "require": { @@ -926,7 +926,7 @@ "type": "github" } ], - "time": "2024-06-17T15:10:54+00:00" + "time": "2024-07-01T15:33:06+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", diff --git a/gtm-kit.php b/gtm-kit.php index 094c319..c7fb596 100644 --- a/gtm-kit.php +++ b/gtm-kit.php @@ -3,7 +3,7 @@ * GTM Kit Plugin * * Plugin Name: GTM Kit - * Version: 1.22.4 + * Version: 1.23 * Plugin URI: https://gtmkit.com/ * Description: Google Tag Manager implementation focusing on flexibility and pagespeed. * Author: GTM Kit @@ -27,7 +27,7 @@ exit(); } -const GTMKIT_VERSION = '1.22.4'; +const GTMKIT_VERSION = '1.23'; if ( ! defined( 'GTMKIT_FILE' ) ) { define( 'GTMKIT_FILE', __FILE__ ); diff --git a/languages/gtm-kit.pot b/languages/gtm-kit.pot index d46b3c2..102f6cd 100644 --- a/languages/gtm-kit.pot +++ b/languages/gtm-kit.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPLv3. msgid "" msgstr "" -"Project-Id-Version: GTM Kit 1.22.4\n" +"Project-Id-Version: GTM Kit 1.23\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gtm-kit\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-05-29T20:50:59+00:00\n" +"POT-Creation-Date: 2024-07-03T14:47:54+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.9.0\n" "X-Domain: gtm-kit\n" @@ -44,17 +44,17 @@ msgstr "" msgid "Required by %s" msgstr "" -#: src/Admin/AbstractOptionsPage.php:264 +#: src/Admin/AbstractOptionsPage.php:229 #: src/Admin/SetupWizard.php:213 msgid "Whoops, something's not working." msgstr "" -#: src/Admin/AbstractOptionsPage.php:267 +#: src/Admin/AbstractOptionsPage.php:232 #: src/Admin/SetupWizard.php:216 msgid "It looks like something is preventing JavaScript from loading on your website. GTM Kit requires JavaScript in order to give you the best possible experience." msgstr "" -#: src/Admin/AbstractOptionsPage.php:272 +#: src/Admin/AbstractOptionsPage.php:237 #: src/Admin/SetupWizard.php:164 #: src/Admin/SetupWizard.php:221 msgid "Go back to the Dashboard" @@ -89,6 +89,18 @@ msgstr "" msgid "Help" msgstr "" +#: src/Admin/Integrations.php:26 +msgid "The #1 open source eCommerce platform built for WordPress" +msgstr "" + +#: src/Admin/Integrations.php:33 +msgid "Just another contact form plugin for WordPress. Simple but flexible" +msgstr "" + +#: src/Admin/Integrations.php:40 +msgid "Easy way to sell Digital Products With WordPress" +msgstr "" + #: src/Admin/IntegrationsOptionsPage.php:44 #: src/Admin/IntegrationsOptionsPage.php:53 #: assets/admin/settings.js:1 @@ -258,23 +270,19 @@ msgid "Read article" msgstr "" #: assets/admin/settings.js:1 -msgid "The #1 open source eCommerce platform built for WordPress" -msgstr "" - -#: assets/admin/settings.js:1 -msgid "Setup integration" +msgid "Setup Integration" msgstr "" #: assets/admin/settings.js:1 -msgid "Just another contact form plugin for WordPress. Simple but flexible" +msgid "Get Template" msgstr "" #: assets/admin/settings.js:1 -msgid "Easy way to sell Digital Products With WordPress" +msgid "Read More" msgstr "" #: assets/admin/settings.js:1 -msgid "See all tutorials..." +msgid "See all tutorials…" msgstr "" #: assets/admin/settings.js:1 @@ -379,7 +387,7 @@ msgid "sGTM Container Domain:" msgstr "" #: assets/admin/settings.js:1 -msgid "Enter domain ..." +msgid "Enter domain …" msgstr "" #: assets/admin/settings.js:1 @@ -391,7 +399,7 @@ msgid "sGTM container identifier:" msgstr "" #: assets/admin/settings.js:1 -msgid "Enter loader name ..." +msgid "Enter loader name …" msgstr "" #: assets/admin/settings.js:1 @@ -507,6 +515,30 @@ msgstr "" msgid "You can override the values by using constants in wp-config.php, which is a very useful for setting the value in your development and staging environments." msgstr "" +#: assets/admin/settings.js:1 +msgid "Exclude User Roles" +msgstr "" + +#: assets/admin/settings.js:1 +msgid "Exclude user roles" +msgstr "" + +#: assets/admin/settings.js:1 +msgid "Select the roles that you want to exclude from tracking." +msgstr "" + +#: assets/admin/settings.js:1 +msgid "Warning!" +msgstr "" + +#: assets/admin/settings.js:1 +msgid "Excluding user roles is not compatible with all full-page cache solutions. Some full-page cache solutions may cache the page identically for all users, regardless of their user role. This could result in users being excluded who should not be." +msgstr "" + +#: assets/admin/settings.js:1 +msgid "Please ensure thorough and proper testing of this." +msgstr "" + #: assets/admin/settings.js:1 msgid "Container Code Implementation" msgstr "" @@ -633,10 +665,6 @@ msgstr "" msgid "User Data" msgstr "" -#: assets/admin/settings.js:1 -msgid "Warning!" -msgstr "" - #: assets/admin/settings.js:1 msgid "Including user data is not compatible with full page caching." msgstr "" @@ -967,50 +995,6 @@ msgstr "" msgid "The user data is available in the datalayer in 'ecommerce.customer' and a subset of the user data formatted for the 'User-Provided Data' variable is available in 'user-data'." msgstr "" -#: assets/admin/settings.js:13 -msgid "Webhooks for server-side tracking" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "In order to use webhooks you must first enable Server-side Tagging by entering a sGTM Container Domain" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Go to sGTM settings" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "In order to use webhooks you must configure you server-side container to handle the webhooks" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Go to GTM Templates" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Send webhooks to server GTM container" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "This option will allow webhooks to be sent to your server GTM container." -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Purchase webhook" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Enable this option to include the permalink structure of the product base, category base, tag base and attribute base." -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Refund webhook" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Enable this option to include the path of cart, checkout, order received and my account page." -msgstr "" - #: assets/admin/settings.js:13 msgid "Event customization" msgstr "" @@ -1088,7 +1072,7 @@ msgid "Product ID prefix" msgstr "" #: assets/admin/settings.js:13 -msgid "Enter prefix ..." +msgid "Enter prefix …" msgstr "" #: assets/admin/settings.js:13 @@ -1096,55 +1080,31 @@ msgid "If your product feed generator is adding a prefix to the product IDs, you msgstr "" #: assets/admin/settings.js:13 -msgid "Custom CSS Selectors" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "If your shop is not compatible with the default CSS selectors you can specify your own CSS selectors." -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Single Product (add_to_wishlist):" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Enter CSS selector ..." -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Enter the CSS selector that matches button, which should be use to fire the add_to_wishlist event." -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Product List (select_item):" -msgstr "" - -#: assets/admin/settings.js:13 -msgid "Enter the CSS selector that matches your product list item, which should be use to fire the select_item event." +msgid "Advanced settings" msgstr "" #: assets/admin/settings.js:13 -msgid "Product List (add_to_wishlist):" +msgid "Dequeue the default JavaScript" msgstr "" #: assets/admin/settings.js:13 -msgid "Advanced settings" +msgid "Enable this option to dequeue the default JavaScript if you plan to create your own JavaScript." msgstr "" #: assets/admin/settings.js:13 -msgid "Dequeue the default JavaScript" +msgid "Include permalink structure" msgstr "" #: assets/admin/settings.js:13 -msgid "Enable this option to dequeue the default JavaScript if you plan to create your own JavaScript." +msgid "Enable this option to include the permalink structure of the product base, category base, tag base and attribute base." msgstr "" #: assets/admin/settings.js:13 -msgid "Include permalink structure" +msgid "Include path of pages" msgstr "" #: assets/admin/settings.js:13 -msgid "Include path of pages" +msgid "Enable this option to include the path of cart, checkout, order received and my account page." msgstr "" #: assets/admin/settings.js:13 diff --git a/package-lock.json b/package-lock.json index 682b86f..0c2a133 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gtm-kit", - "version": "1.22.4", + "version": "1.23.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "gtm-kit", - "version": "1.22.4", + "version": "1.23.0", "dependencies": { "@wordpress/api-fetch": "^6.48.1", "@wordpress/components": "^26.0.6", diff --git a/package.json b/package.json index 2cf979e..08bce02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gtm-kit", - "version": "1.22.4", + "version": "1.23.0", "description": "Development files for the GTM Kit", "author": "GTM Kit", "keywords": [ diff --git a/readme.txt b/readme.txt index 5bfc01d..cc898d0 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: tlamedia, torbenlundsgaard, gtmkit Donate link: https://github.com/tlamedia/gtm-kit Tags: google tag manager, gtm, woocommerce, analytics, ga4 -Tested up to: 6.5 -Stable tag: 1.22.4 +Tested up to: 6.6 +Stable tag: 1.23 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -98,8 +98,6 @@ Find out about what's new in our [our release post](https://gtmkit.com/gtm-kit-1 * Added an option to exclude selected user roles from tracking. * Improve the flexibility of GTM Kit integrations. -#### Bugfixes: - #### Other: * Tested up to WooCommerce 9.1. @@ -115,6 +113,7 @@ Release date: 2024-05-30 #### Other: * Tested up to WooCommerce 8.9. +* Tested up to WordPress 6.6. = 1.22.3 = diff --git a/vendor/autoload.php b/vendor/autoload.php index 05cc877..93b269a 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit3b585b55966a016a3d1b071eb261592a::getLoader(); +return ComposerAutoloaderInit12fa396dcd6fc263a33fd78c6d8551b8::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index ffabe29..53ab3e3 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit3b585b55966a016a3d1b071eb261592a +class ComposerAutoloaderInit12fa396dcd6fc263a33fd78c6d8551b8 { private static $loader; @@ -24,12 +24,12 @@ public static function getLoader() require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInit3b585b55966a016a3d1b071eb261592a', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit12fa396dcd6fc263a33fd78c6d8551b8', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit3b585b55966a016a3d1b071eb261592a', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit12fa396dcd6fc263a33fd78c6d8551b8', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit3b585b55966a016a3d1b071eb261592a::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit12fa396dcd6fc263a33fd78c6d8551b8::getInitializer($loader)); $loader->register(true); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 3a10c3d..681506a 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit3b585b55966a016a3d1b071eb261592a +class ComposerStaticInit12fa396dcd6fc263a33fd78c6d8551b8 { public static $prefixLengthsPsr4 = array ( 'T' => @@ -53,9 +53,9 @@ class ComposerStaticInit3b585b55966a016a3d1b071eb261592a public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit3b585b55966a016a3d1b071eb261592a::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit3b585b55966a016a3d1b071eb261592a::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit3b585b55966a016a3d1b071eb261592a::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit12fa396dcd6fc263a33fd78c6d8551b8::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit12fa396dcd6fc263a33fd78c6d8551b8::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit12fa396dcd6fc263a33fd78c6d8551b8::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index d139043..cb121d8 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'tlamedia/gtm-kit', 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => 'db2e96b8e57b84c9a63e33fac2115616438e8bcd', + 'reference' => '692626a6b2391e017e7c78b1feecc3e477351f91', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -13,7 +13,7 @@ 'tlamedia/gtm-kit' => array( 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => 'db2e96b8e57b84c9a63e33fac2115616438e8bcd', + 'reference' => '692626a6b2391e017e7c78b1feecc3e477351f91', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(),