Files
ltsecurityinc/app/code/Plumrocket/CookieConsentPro/etc/adminhtml/system/integrations.xml
T

66 lines
3.8 KiB
XML

<?xml version="1.0" ?>
<!--
/**
* @package Plumrocket_CookieConsentPro
* @copyright Copyright (c) 2025 Plumrocket Inc. (https://www.plumrocket.com)
* @license https://www.plumrocket.com/license/ End-user License Agreement
*/
-->
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
<group id="integrations">
<group id="pr_gpc" sortOrder="10">
<label>Global Privacy Control (GPC)</label>
<attribute type="expanded">1</attribute>
<field id="open_settings" type="button" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<frontend_model>Plumrocket\CookieConsentPro\Block\Adminhtml\System\Config\Form\GlobalPrivacyControl\OpenSettingsButton</frontend_model>
</field>
<field id="upgrade_to_pro_notice" showInDefault="0" showInWebsite="0" showInStore="0"/>
</group>
<group id="gtm" sortOrder="20"/>
<group id="no_cookie_youtube" sortOrder="30"/>
<group id="microsoft_ads" sortOrder="40">
<label>Microsoft Ads (UET Consent Mode)</label>
<field id="upgrade_to_pro_notice" showInDefault="0" showInWebsite="0" showInStore="0"/>
<field id="enabled" type="select" sortOrder="10" translate="label" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Enable</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id="consent_types" translate="label" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Consent Types</label>
<frontend_model>Plumrocket\CookieConsent\Block\Adminhtml\System\Config\Form\ConsentTypes\MappingTable</frontend_model>
<backend_model>Plumrocket\CookieConsent\Model\Config\Backend\ConsentTypes</backend_model>
<depends>
<field id="*/*/*/enabled">1</field>
</depends>
<comment><![CDATA[Define the cookie category and default consent status for Microsoft Ads tracking. This setting determines how the UET tag behaves if the user has not yet accepted or denied cookies. Refer to the <a href="https://help.ads.microsoft.com/apex/index/3/en/60119" target="_blank">official Microsoft guide</a> if you need to validate the consent mode implementation.]]></comment>
</field>
</group>
<group id="microsoft_clarity" sortOrder="50">
<label>Microsoft Clarity</label>
<field id="upgrade_to_pro_notice" showInDefault="0" showInWebsite="0" showInStore="0"/>
<field id="enabled" type="select" sortOrder="10" translate="label" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Enable</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<field id="consent_types" translate="label" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Consent Types</label>
<frontend_model>Plumrocket\CookieConsent\Block\Adminhtml\System\Config\Form\ConsentTypes\MappingTable</frontend_model>
<backend_model>Plumrocket\CookieConsent\Model\Config\Backend\ConsentTypes</backend_model>
<depends>
<field id="*/*/*/enabled">1</field>
</depends>
<comment><![CDATA[To learn more about consent types, please check official <a href="https://learn.microsoft.com/en-us/clarity/setup-and-installation/clarity-consent-api-v2" target="_blank">consent configuration article</a>.]]></comment>
</field>
</group>
<group id="adobe_commerce_data_collection" sortOrder="60"/>
</group>
</include>