<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <section id="weltpixel_ga4" translate="label" type="text" sortOrder="201" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Google Analytics 4 Ecommerce</label>
            <tab>weltpixel</tab>
            <resource>WeltPixel_GA4::GA4Settings</resource>
            <group id="general_module_information" translate="label" type="text" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Google Analytics 4 Ecommerce</label>
                <attribute type="expanded">1</attribute>
                <fieldset_css>weltpixel-module-information-header active</fieldset_css>
                <field id="separator_product_dimensions" translate="button_label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\Backend\Block\Adminhtml\System\Config\ModuleInformation</frontend_model>
                    <button_label>WeltPixel_GA4</button_label>
                </field>
            </group>
            <group id="module_information" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Important Note</label>
                <attribute type="expanded">1</attribute>
                <fieldset_css>weltpixel-ga4-header active</fieldset_css>
                <field id="important_note" translate="label" type="text" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\ImportantNote</frontend_model>
                </field>
            </group>
            <group id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>General Configuration</label>
                <field id="enable" translate="label" type="select" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable GA4</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                </field>
                <field id="preconnect_url" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Preconnect to Google Tag Manager</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Enable to add a link to Google Tag Manager with a preconnect attribute to the head of the store, potentially improving performance and the speed at which the Google Tag Manager container is loaded.</comment>
                </field>
                <field id="gtm_code" translate="label" type="textarea" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Google Tag Manager Javascript Code</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="gtm_nonjs_code" translate="label" type="textarea" sortOrder="25" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Google Tag Manager Non-Js Code</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="load_datalayer_before_gtm" translate="label" type="select"  sortOrder="26" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Load dataLayer before GTM Container</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>This is a troubleshooting option. If you're experiencing inconsistent data flow in Google Analytics or Google Ads for tags that are set to fire on a Page View trigger, you can set this option to Yes as a potential solution.</comment>
                </field>
                <field id="enable_datalayer_preview" translate="label" type="select" sortOrder="27" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable dataLayer frontend Preview/Debug</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Set this option to Yes to enable a button which can be used to trigger a preview window on the frontend which shows the current values of the dataLayer and is updated as the dataLayer is updated</comment>
                </field>
                <field id="datalayer_preview_ip_addresses" translate="label" type="text" sortOrder="28" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>IP Address Restriction</label>
                    <depends>
                        <field id="enable">1</field>
                        <field id="enable_datalayer_preview">1</field>
                    </depends>
                    <comment>Add IP ranges in this field (comma separated) to limit the display of the dataLayer preview to certain IP addresses only. Leave blank for no restrictions.</comment>
                </field>
                <field id="impression_chunk_size" translate="label" type="text" sortOrder="35" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Impression Chunks Size</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <validate>required number</validate>
                    <comment>The impressions will be sent in separate chunks limited to this number.</comment>
                </field>
                <field id="id_selection" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Product Identifier</label>
                    <source_model>WeltPixel\GA4\Model\Config\Source\Id</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="enable_brand" translate="label" type="select" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Brand</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="brand_attribute" translate="label" type="select" sortOrder="55" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Brand Attribute</label>
                    <comment>Only attributes with Used in Product Listing set to Yes are available here.</comment>
                    <source_model>WeltPixel\GA4\Model\Config\Source\AttributeCollection</source_model>
                    <depends>
                        <field id="enable_brand">1</field>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="enable_variant" translate="label" type="select" sortOrder="56" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Variant</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="item_variant" translate="label" type="select" sortOrder="57" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Item Variant</label>
                    <source_model>WeltPixel\GA4\Model\Config\Source\ItemVariant</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="enable_variant">1</field>
                    </depends>
                </field>        
                <field id="order_total_calculation" translate="label" type="select" sortOrder="58" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Order Success Page Total Calculation</label>
                    <source_model>WeltPixel\GA4\Model\Config\Source\OrderTotalCalculation</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                 <field id="exclude_tax_from_product_prices" translate="label" type="label" sortOrder="59" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Tax From Product Prices</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="exclude_tax_from_transaction" translate="label comment" type="select" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Tax From Transaction</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="order_total_calculation">grandtotal</field>
                    </depends>
                    <comment>Tax will be deduced from Grand Total</comment>
                </field>
                <field id="exclude_shipping_from_transaction" translate="label comment" type="select" sortOrder="61" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Shipping From Transaction</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="order_total_calculation">grandtotal</field>
                    </depends>
                    <comment>Shipping charges will deduced from Grand Total</comment>
                </field>
                <field id="exclude_shipping_from_transaction_including_tax" translate="label comment" type="select" sortOrder="62" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Shipping Including Tax</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="order_total_calculation">grandtotal</field>
                        <field id="exclude_shipping_from_transaction">1</field>
                    </depends>
                </field>
                <field id="exclude_free_purchase" translate="label comment" type="select" sortOrder="63" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Orders with 0 value</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Orders with value 0.00 can be excluded from purchase transactions if you set this option to Yes</comment>
                </field>
                <field id="exclude_order_by_status_flag" translate="label comment" type="select" sortOrder="65" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Orders By Status</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="exclude_order_by_statuses" translate="label" type="label" sortOrder="66" showInDefault="1" showInWebsite="1">
                    <label>Exclude Orders with status</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="checkout_page_paths" translate="label comment" type="textarea" sortOrder="69" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Checkout Page Paths</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>
                        <![CDATA[If you are using custom checkout, and the checkout page path is different from the default magento path: 'checkout/index/index', you can list it here to make sure the Transaction data is sent to GTM.
                        <br/> If you have different checkout pages you can separate them with ",". <br/> Ex: checkout/onestepcheckout/index, checkout/mycustomcheckout/index
                        <br/> Also * can be used as generic placeholder. <br/> Ex: checkout/customcheckout/*
                        ]]>
                    </comment>
                </field>
                <field id="success_page_paths" translate="label comment" type="textarea" sortOrder="69" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Success Page Paths</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>
                        <![CDATA[If you are using custom checkout, and the success page path is different from the default magento path: 'checkout/onepage/success', you can list it here to make sure the Transaction data is sent to GTM.
                        <br/> If you have different success pages you can separate them with ",". <br/> Ex: checkout/onestepcheckout/success, checkout/mycustomcheckout/success
                        <br/> Also * can be used as generic placeholder. <br/> Ex: checkout/customcheckout/*
                        ]]>
                    </comment>
                </field>
                <field id="product_click_tracking" translate="label" type="select" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Measure Product Clicks</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <comment><![CDATA[This option allows ‘Product Click’ tracking on Category Page , Search results page and Related/Cross-sell/Up-sell product grids. <br/>
If Product Click Tracking is enabled this option rewrites Magento_Catalog::product/list.phtml and Magento_Catalog::product/list/list.phtml. <br/> If you are using a custom theme/extension already re-writing this templates check here how you can make the necessary compatibility adjustments: <br/> <a target="_blank" href="https://support.weltpixel.com/hc/en-us/articles/115006195028-How-to-solve-compatibility-issues-Google-Tag-Manager-Enhanced-Ecommerce">How to solve GTM compatibility issues</a>]]></comment>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="promotion_tracking" translate="label" type="select" sortOrder="71" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Promotion Tracking</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <comment><![CDATA[<b>Example of usage:</b> &#60;a href="#" data-track-promo-id="PROMOID" data-track-promo-name="PROMONAME" data-track-promo-creative="PROMOCREATIVE" data-track-promo-position="PROMOPOSITION" &#62;Content&#60;/a&#62;]]></comment>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="persistentlayer_expiry" translate="label comment" type="text" sortOrder="72" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Persistent datalayer expiry time</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <validate>required number</validate>
                    <comment>The specified value represents minutes.</comment>
                </field>
                <field id="parent_vs_child" translate="label comment" type="select" sortOrder="105" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Child vs Parent ID/SKU for Google Analytics</label>
                    <source_model>WeltPixel\GA4\Model\Config\Source\ParentVsChild</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Choose between sending the ID/SKU of the Child product or the Parent Product to Google Analytics.</comment>
                </field>
                <field id="send_all_child_configurable"  translate="label comment" type="select" sortOrder="106" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Send all simple products on View Item</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="parent_vs_child">child</field>
                    </depends>
                    <comment>Send all Simple Configurations for Configurable Products for View Item Event</comment>
                </field>
                <field id="secure_cookies" translate="label comment" type="select" sortOrder="107" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Use Secure Cookies</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Send the cookies as secure ones. Should only be used if your whole site is on HTTPS.</comment>
                </field>
                <field id="loadlistingblock" translate="label comment" type="select" sortOrder="108" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Load Product List Block</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <tooltip>Setting for compatibility with 3rd party Search Engines - may decrease performance</tooltip>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Set this option to Yes only if you're having issues on Category/Search Pages, such as ignored product limit per page settings or incorrect sorting after enabling the extension. This is usually only required if you're using a 3rd party Search Engine or have modifications/customizations applied to the default product listing on Category/Search Pages.</comment>
                </field>
                <field id="separator_user_dimensions" translate="button_label" type="text" sortOrder="109" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\SeparatorElement</frontend_model>
                    <button_label>User Scoped Custom Dimensions</button_label>
                    <button_url>https://support.weltpixel.com/hc/en-us/articles/12457440427666-Google-Analytics-4-Using-Custom-Dimensions</button_url>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="custom_dimension_customerid" translate="label" type="select" sortOrder="110" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Dimension - Customer ID</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="custom_dimension_customergroup" translate="label" type="select" sortOrder="120" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Dimension - Customer Group</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="separator_hitscoped_dimensions" translate="button_label" type="text" sortOrder="169" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\SeparatorElement</frontend_model>
                    <button_label>Hit Scoped Custom Dimensions</button_label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="custom_dimension_pagename" translate="label" type="select" sortOrder="170" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Dimension - Page Name</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="custom_dimension_pagetype" translate="label" type="select" sortOrder="180" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Dimension - Page Type</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="separator_product_dimensions" translate="button_label" type="text" sortOrder="198" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\SeparatorElement</frontend_model>
                    <button_label>Product Scoped Custom Dimensions</button_label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="separator_stock_status" translate="label" type="text" sortOrder="199" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_stockstatus" translate="label comment" type="select" sortOrder="200" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Stock Status (in stock/out of stock)</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="separator_reviews_count" translate="label" type="text" sortOrder="209" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_reviewscount" translate="label" type="select" sortOrder="210" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Reviews Count</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="separator_reviews_score" translate="label" type="text" sortOrder="219" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_reviewsscore" translate="label" type="select" sortOrder="220" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Reviews Score</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="separator_sale_product" translate="label" type="text" sortOrder="229" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_saleproduct" translate="label comment" type="select" sortOrder="230" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Sale Product</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Magento's Sale Product Attribute value is used here</comment>
                </field>

                <field id="separator_product_attribute_custom_dimensions" translate="button_label" type="text" sortOrder="300" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\SeparatorElement</frontend_model>
                    <button_label>Custom Attribute as Custom Dimension</button_label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="separator_custom_attribute_1" translate="label" type="text" sortOrder="310" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_1" translate="label" type="select" sortOrder="315" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Attribute 1</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_1_name" translate="label" type="text" sortOrder="316" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 1 Name</label>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_1">1</field>
                    </depends>
                    <validate>validate-data</validate>
                </field>
                <field id="track_custom_attribute_1_code" translate="label" type="select" sortOrder="317" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 1</label>
                    <comment>Only attributes with Used in Product Listing set to Yes are available here.</comment>
                    <source_model>WeltPixel\GA4\Model\Config\Source\AttributeCollection</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_1">1</field>
                    </depends>
                </field>
                <field id="separator_custom_attribute_2" translate="label" type="text" sortOrder="330" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_2" translate="label" type="select" sortOrder="335" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Attribute 2</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_2_name" translate="label" type="text" sortOrder="337" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 2 Name</label>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_2">1</field>
                    </depends>
                    <validate>validate-data</validate>
                </field>
                <field id="track_custom_attribute_2_code" translate="label" type="select" sortOrder="338" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 2</label>
                    <comment>Only attributes with Used in Product Listing set to Yes are available here.</comment>
                    <source_model>WeltPixel\GA4\Model\Config\Source\AttributeCollection</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_2">1</field>
                    </depends>
                </field>
                <field id="separator_custom_attribute_3" translate="label" type="text" sortOrder="348" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_3" translate="label" type="select" sortOrder="350" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Attribute 3</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_3_name" translate="label" type="text" sortOrder="354" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 3 Name</label>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_3">1</field>
                    </depends>
                    <validate>validate-data</validate>
                </field>
                <field id="track_custom_attribute_3_code" translate="label" type="select" sortOrder="355" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 3</label>
                    <comment>Only attributes with Used in Product Listing set to Yes are available here.</comment>
                    <source_model>WeltPixel\GA4\Model\Config\Source\AttributeCollection</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_3">1</field>
                    </depends>
                </field>
                <field id="separator_custom_attribute_4" translate="label" type="text" sortOrder="368" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_4" translate="label" type="select" sortOrder="370" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Attribute 4</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_4_name" translate="label" type="text" sortOrder="374" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 4 Name</label>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_4">1</field>
                    </depends>
                    <validate>validate-data</validate>
                </field>
                <field id="track_custom_attribute_4_code" translate="label" type="select" sortOrder="375" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 4</label>
                    <comment>Only attributes with Used in Product Listing set to Yes are available here.</comment>
                    <source_model>WeltPixel\GA4\Model\Config\Source\AttributeCollection</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_4">1</field>
                    </depends>
                </field>
                <field id="separator_custom_attribute_5" translate="label" type="text" sortOrder="388" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\Adminhtml\System\Config\DimensionSeparator</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_5" translate="label" type="select" sortOrder="390" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Custom Attribute 5</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
                <field id="track_custom_attribute_5_name" translate="label" type="text" sortOrder="393" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 5 Name</label>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_5">1</field>
                    </depends>
                    <validate>validate-data</validate>
                </field>
                <field id="track_custom_attribute_5_code" translate="label" type="select" sortOrder="395" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Attribute 5</label>
                    <comment>Only attributes with Used in Product Listing set to Yes are available here.</comment>
                    <source_model>WeltPixel\GA4\Model\Config\Source\AttributeCollection</source_model>
                    <depends>
                        <field id="enable">1</field>
                        <field id="track_custom_attribute_5">1</field>
                    </depends>
                </field>
            </group>
            <group id="api" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>GTM API Configuration</label>
                <comment>Retrigger the Variables, Triggers and Tags Setup if you make changes here.</comment>
                <field id="account_id" translate="label" type="text" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Account ID</label>
                    <validate>required</validate>
                    <comment><![CDATA[<b>Ex:</b> 600354931. Check usage <a target="_blank" href="http://oauth.weltpixel.com/demo-image.png">here</a>]]></comment>
                </field>
                <field id="container_id" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Container ID</label>
                    <validate>required</validate>
                    <comment><![CDATA[<b>Ex:</b> 2293419. Check usage <a target="_blank" href="http://oauth.weltpixel.com/demo-image.png">here</a>]]></comment>
                </field>
                <field id="measurement_id" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Measurement ID</label>
                    <validate>required</validate>
                    <comment><![CDATA[<b>Ex:</b> G-123456789 ]]></comment>
                </field>
            </group>
            <group id="adwords_conversion_tracking" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Google Ads Conversion Tracking</label>
                <comment>Retrigger the Variables, Triggers and Tags Setup if you make changes here.</comment>
                <field id="enable" translate="label" type="select" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <comment><![CDATA[Enable / Disable Google Ads Conversion Tracking - When enabled, a Google Ads Conversion Tracking Tag is generated via the container JSON. If you're enabling this feature after the initial configuration, you'll need to regenerate and reimport the container JSON into Google Tag Manager.]]></comment>
                </field>
                <field id="adwords_separate_datalayer_event" translate="label" type="select" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Send separate dataLayer event for Google Ads Conversion</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[Set this option to Yes to enable a new dataLayer event for Google Ads Conversions, which will be used as a trigger for the Google Ads Conversion Tracking Tag. This is only required if you find your tag isn't picking up the correct transaction details from the dataLayer. If you change this setting, remember to regenerate and reimport the JSON container into Google Tag Manager.]]></comment>
                </field>
                <field id="google_conversion_id" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Google Ads Conversion ID</label>
                    <validate>required</validate>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[The Google Ads Conversion ID. This ID is found in your Google Ads account. More details on how to find it in the <a href="https://support.google.com/tagmanager/answer/6105160?hl=en" target="_blank">Google Documentation</a>]]></comment>
                </field>
                <field id="google_conversion_label" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Google Ads Conversion Label</label>
                    <validate>required</validate>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[The Google Ads Conversion Label. This Label is found in your Google Ads account. More details on how to find it in the <a href="https://support.google.com/tagmanager/answer/6105160?hl=en" target="_blank">Google Documentation</a>]]></comment>
                </field>
                <field id="google_conversion_currency_code" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Google Conversion Currency Code</label>
                    <validate>required</validate>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[The currency code you want to use for your Google Ads Conversions. <b>Ex:</b> USD ]]></comment>
                </field>
                <field id="exclude_free_purchase" translate="label comment" type="select" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Orders with 0 value</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[Orders with value 0.00 can be excluded from Conversion Tracking if you set this option to Yes]]></comment>
                </field>
                <field id="enable_enhanced_conversion" translate="label comment" type="label" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Enhanced Conversions</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[If set to Yes, the dataLayer will be populated with the Email and Phone Number used in the checkout process, which are sent to Google Ads via the Google Ads Conversion Tracking tag. If you're enabling this feature after the initial configuration, please make sure you regenerate and reimport your Google Tag Manager JSON container file. More details about Enhanced Conversions can be found in the <a target="_blank" href="https://support.google.com/google-ads/answer/9888656?hl=en">Google Documentation</a>. <br/><a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="send_enhanced_conversion_to_ga4" translate="label comment" type="label" sortOrder="55" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Send Enhanced Conversions to Google Analytics 4</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[ If set to Yes, the Google Analytics 4 Purchase Tag will be supplemented with Enhanced Conversions data, which is then sent over to Google Analytics. More details can be found in  <a target="_blank" href="https://support.google.com/analytics/answer/14252663?hl=en&ref_topic=14272008&sjid=1913064183067408714-EU">Google Documentation</a>. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="enable_new_customer_acquisition" translate="label comment" type="label" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable New Customer Acquisition</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[If set to Yes, the dataLayer will be populated with the New Customer Data in the checkout process, which is sent to Google Ads via the Google Ads Conversion Tracking tag. If you're enabling this feature after the initial configuration, please make sure you regenerate and reimport your Google Tag Manager JSON container file. More details about New Customer Data can be found in the <a target="_blank" href="https://support.google.com/google-ads/answer/12077475?hl=en">Google Documentation</a>. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="purchase_day_lapse" translate="label" type="label" sortOrder="85" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Purchase Time Period (In Days)</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[This setting refers to the time (in days) that needs to pass without the customer having completed an order before they're marked as a New Customer again. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="enable_cart_data" translate="label comment" type="label" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Cart Data</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[Set this option to Yes to enable the Cart Data functionality for Google Ads to enhance ad performance with details regarding the products being sold. To find out more about this functionality, check out the <a href="https://support.google.com/google-ads/answer/9028254?hl=en" target="_blank">Google Documentation</a>. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="parent_vs_child" translate="label comment" type="label" sortOrder="92" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Child vs Parent ID/SKU for Google Ads</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Choose between sending the ID/SKU of the Child product or the Parent Product to Google Ads.</comment>
                </field>
                <field id="merchant_center_id" translate="label" type="label" sortOrder="95" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Merchant Center ID</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[The Merchant Center ID where your items are uploaded. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="feed_country" translate="label" type="label" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Feed Country</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[Feed Country - The country associated with the feed where your items are uploaded. Use <a href=" https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml" target="_blacnk">CLDR territory codes</a>.  <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="feed_language" translate="label" type="label" sortOrder="105" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Feed Language</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[The language associated with the feed where your items are uploaded. Use ISO 639-1 language codes.  <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality. ]]></comment>
                </field>
            </group>
            <group id="adwords_remarketing" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Google Ads Remarketing</label>
                <comment>Retrigger the Variables, Triggers and Tags Setup if you make changes here.</comment>
                <field id="enable" translate="label" type="select" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                </field>
                <field id="conversion_code" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Google Ads Conversion ID</label>
                    <validate>required</validate>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[The Google Ads Conversion ID. This ID is found in your Google Ads account. More details on how to find it in the <a href="https://support.google.com/tagmanager/answer/6105160?hl=en" target="_blank">Google Documentation</a>]]></comment>
                </field>
                <field id="conversion_label" translate="label comment" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Google Ads Conversion Label</label>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment><![CDATA[The Google Ads Conversion Label. This Label is found in your Google Ads account. More details on how to find it in the <a href="https://support.google.com/tagmanager/answer/6105160?hl=en" target="_blank">Google Documentation</a>]]></comment>
                </field>
                <field id="exclude_free_purchase" translate="label comment" type="select" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Exclude Orders with 0 value</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                    <comment>Orders with value 0.00 can be excluded from Google Ads Remarketing if you set this option to Yes</comment>
                </field>
            </group>
            <group id="json_export" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Json Export Options</label>
                <field id="public_id" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Public ID</label>
                    <comment>Ex: GTM-12XYZ21</comment>
                </field>
                <field id="api_container" translate="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <frontend_model>WeltPixel\GA4\Block\System\Config\Json\Export</frontend_model>
                    <depends>
                        <field id="enable">1</field>
                    </depends>
                </field>
            </group>
            <group id="serverside_measurement" translate="label" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Measurement Protocol Tracking Configuration</label>
                <field id="enable" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Measurement Protocol Tracking Configuration</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="measurement_id" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Measurement ID</label>
                    <comment><![CDATA[<b>Ex: G-XCXCCXXC </b> <br/> Find this information in Google Analytics 4 -> Admin Settings -> Data Stream -> Open the desired Data Stream -> MEASUREMENT ID  <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality. ]]></comment>
                </field>
                <field id="api_secret" translate="label" type="label" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>API Secret</label>
                    <comment><![CDATA[ Find this information in Google Analytics 4 -> Admin Settings -> Data Stream -> Open the desired Data Stream -> Measurement Protocol API secrets -> create a new API secret key and paste the value into this field.  <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality. ]]></comment>
                </field>
                <field id="events" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Events</label>
                    <comment><![CDATA[ If you are using Client Side Tracking in conjunction with Measurement Protocol, make sure that you only track events on one side or another. <br/>
For example, by having the “purchase” tag enabled on client side as well as via measurement protocol, 1 transaction will be triggered twice and it will result in duplicate transactions.   <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="send_user_id"  translate="label" type="label" sortOrder="33" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Send User-ID</label>
                    <comment><![CDATA[Including the User ID allows for more granular and accurate connection of user counts and behavior across different sessions as well as various devices and platforms. <br/>To find out more about the differences between User ID and Client ID, check out this <a href="https://support.weltpixel.com/hc/en-us/articles/10467838638482-How-to-differentiate-between-Google-Analytics-4-Client-ID-and-User-ID-" target="_blank">article</a>.  <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="enable_user_properties_sending"  translate="label" type="label" sortOrder="34" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Send User Properties with enabled events</label>
                    <comment><![CDATA[If set to Yes, a User Properties object will be sent to Google Analytics for each enabled Measurement Protocol event, containing data that can be used to create Custom Dimensions.  <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="user_properties" translate="label" type="label" sortOrder="35" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Select User Properties to send</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="track_specific_customer_groups" translate="label" type="label" sortOrder="36" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Only Specific Customer Groups</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="disable_datalayer_events"  translate="label" type="label" sortOrder="38" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Automatically disable data layer for enabled measurement protocol events</label>
                    <comment><![CDATA[To avoid any chance of duplicate events to be sent, you must choose which event is sent via Measurement Protocol or via Data Layer. By enabling this option we automatically disable Data Layer for enabled Measurement protocol events, therefore even existing GTM tags will not fire because the data layer is not sent. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="enable_file_log" translate="label" type="label" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable File Log</label>
                    <comment><![CDATA[Enable the creation of a log file that shows the pushed event data. The ga4.log file can be found in the var/log directory of Magento 2 root. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="enable_debug_collect" translate="label" type="label" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Debug Collect</label>
                    <comment><![CDATA[Send debug_mode flag to Measurement Protocol Events and enable push of data to https://www.google-analytics.com/debug/mp/collect and logging in the ga4-debug-collect.log file. More information about Debug Collect can be found in the <a href="https://developers.google.com/analytics/devguides/collection/protocol/ga4/validating-events?client_type=gtag" target="_blank">Google Documentation on the subject</a>. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
            <group id="server_side_google_analytics" translate="label" type="text" sortOrder="150" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Server-side Google Analytics Tracking (Beta)</label>
                <comment><![CDATA[The true server-side integration for this extension is still currently in its beta phase. The functionality, in its current iteration, allows you to export a fully-configured JSON Container file built specifically for a Google Tag Manager Server container based on your existing client-side Google Tag Manager container.<br/><br/>
                Please make sure you've already completed the client-side setup, have a functional Google Tag Manager client-side container sending data to Google Analytics and a configured Google Tag Manager server-side container.
                You can follow <a target="_blank" href="https://developers.google.com/tag-platform/learn/sst-fundamentals/4-sst-setup-container?continue=https%3A%2F%2Fdevelopers.google.com%2Ftag-platform%2Flearn%2Fsst-fundamentals%23article-https%3A%2F%2Fdevelopers.google.com%2Ftag-platform%2Flearn%2Fsst-fundamentals%2F4-sst-setup-container">Google's Documentation</a>
                to set up a Server Container into which you can import the file you generate below, to create the necessary tags, triggers and variables for server-side tracking. You will also need to edit your client-side container GA4 tag to send data to your server-side container. <br/><br/>
                <i>This feature is for advanced users. It will be extended and altered in future versions of the Google Analytics 4 PRO module, so the process is subject to change.</i>
                ]]></comment>
                <field id="server_account_id" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Account ID</label>
                    <comment><![CDATA[<b>Ex:</b> 600354931. Check usage <a target="_blank" href="http://oauth.weltpixel.com/demo-image.png">here</a> <br/> Note: Make sure these values are taken from the Google Tag Manager Server container. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="server_container_id" translate="label" type="label" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Container ID</label>
                    <comment><![CDATA[<b>Ex:</b> 2293419. Check usage <a target="_blank" href="http://oauth.weltpixel.com/demo-image.png">here</a> <br/> Note: Make sure these values are taken from the Google Tag Manager Server container. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="server_public_id" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Public ID</label>
                    <comment><![CDATA[Ex: GTM-12XYZ21. <br/> Note: Make sure these values are taken from the Google Tag Manager Server container. <br/> <a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
        </section>
        <section id="weltpixel_ga4_meta_pixel" translate="label" type="text" sortOrder="202" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Meta Pixel Tracking Configuration</label>
            <tab>weltpixel</tab>
            <resource>WeltPixel_GA4::GA4MetaSettings</resource>
            <group id="general_tracking" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Meta Pixel Tracking Configuration</label>
                <field id="enable" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Meta Pixel Tracking</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="code_snippet" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Meta Pixel Tracking Javascript Code</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="events" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Events</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="id_selection" translate="label" type="label" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Product Identifier</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
        </section>
        <section id="weltpixel_ga4_tiktok_pixel" translate="label" type="text" sortOrder="203" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>TikTok Pixel Tracking Configuration</label>
            <tab>weltpixel</tab>
            <resource>WeltPixel_GA4::GA4TikTokSettings</resource>
            <group id="general_tracking" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>TikTok Pixel Tracking Configuration</label>
                <field id="enable" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Tiktok Pixel Tracking</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="code_snippet" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Tiktok Pixel Base Tracking Code</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="events" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Events</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="id_selection" translate="label" type="label" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Product Identifier</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
        </section>
        <section id="weltpixel_ga4_reddit_pixel" translate="label" type="text" sortOrder="204" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Reddit Pixel Tracking Configuration</label>
            <tab>weltpixel</tab>
            <resource>WeltPixel_GA4::GA4RedditSettings</resource>
            <group id="general_tracking" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Reddit Pixel Tracking Configuration</label>
                <field id="enable" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Reddit Pixel Tracking</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="code_snippet" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Redit Pixel Tracking Javascript Code</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="events" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Events</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="id_selection" translate="label" type="label" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Product Identifier</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
        </section>
        <section id="weltpixel_ga4_bing_pixel" translate="label" type="text" sortOrder="205" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Bing UET Tracking Configuration</label>
            <tab>weltpixel</tab>
            <resource>WeltPixel_GA4::GA4BingSettings</resource>
            <group id="general_tracking" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Bing UET Tracking Configuration</label>
                <field id="enable" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Bing UET Tracking</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="code_snippet" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Bing UET Tag Javascript Code</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="events" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Events</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="id_selection" translate="label" type="label" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Product Identifier</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
        </section>
        <section id="weltpixel_ga4_x_pixel" translate="label" type="text" sortOrder="206" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>X (Twitter) Pixel Tracking</label>
            <tab>weltpixel</tab>
            <resource>WeltPixel_GA4::GA4XSettings</resource>
            <group id="general_tracking" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>X (Twitter) Pixel Tracking Configuration</label>
                <field id="enable" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable X (Twitter) Pixel Tracking</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="code_snippet" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>X (Twitter) Pixel Tracking Javascript Code</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="events" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Events</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="twitter_events" translate="label" type="label" sortOrder="35" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Twitter Event IDs</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="id_selection" translate="label" type="label" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Product Identifier</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
        </section>
        <section id="weltpixel_ga4_klaviyo_pixel" translate="label" type="text" sortOrder="207" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Klaviyo Pixel Tracking</label>
            <tab>weltpixel</tab>
            <resource>WeltPixel_GA4::GA4KlaviyoSettings</resource>
            <group id="general_tracking" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Klaviyo Pixel Tracking Configuration</label>
                <field id="enable" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Enable Klaviyo Pixel Tracking</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="public_api_key" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Klaviyo Pixel Tracking Public Api Key</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
                <field id="events" translate="label" type="label" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Track Events</label>
                    <comment><![CDATA[<a target="_blank" href="https://www.weltpixel.com/google-analytics-4-ga4-with-gtm-support-for-magento-2.html">Upgrade to Pro version</a> to enable this functionality.]]></comment>
                </field>
            </group>
        </section>
    </system>
</config>
