File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 13
13
<referenceBlock name =" cookie_notices" remove =" true" />
14
14
15
15
<referenceContainer name =" after.body.start" >
16
- <block class =" Magento\Cookie\Block\Html\Notices" name =" cookie_notices_content_mode_v2" template =" Elgentos_ConsentModeV2::html/notices.phtml" >
16
+ <block class =" Magento\Cookie\Block\Html\Notices"
17
+ name =" cookie_notices_content_mode_v2"
18
+ template =" Elgentos_ConsentModeV2::html/notices.phtml"
19
+ ifconfig =" elgentos_consentmodev2/general/enabled"
20
+ >
17
21
<block class =" Magento\Cookie\Block\Html\Notices" name =" cookie_banner_script" template =" Elgentos_ConsentModeV2::cookie-banner-script.phtml" />
18
22
<block class =" Magento\Theme\Block\Html\Header\Logo" name =" cookie_notice.logo" >
19
23
<arguments >
27
31
</referenceContainer >
28
32
29
33
<referenceContainer name =" before.body.end" >
30
- <block name =" cookie_notices_content_mode_v2_button" template =" Elgentos_ConsentModeV2::html/button.phtml" />
34
+ <block
35
+ name =" cookie_notices_content_mode_v2_button"
36
+ template =" Elgentos_ConsentModeV2::html/button.phtml"
37
+ ifconfig =" elgentos_consentmodev2/general/enabled"
38
+ />
31
39
</referenceContainer >
32
40
</body >
33
41
</page >
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ if (!$cookieHelper->isCookieRestrictionModeEnabled()) {
80
80
};
81
81
},
82
82
83
- gtag(arguments ) {
83
+ gtag() {
84
84
dataLayer.push(arguments);
85
85
},
86
86
You can’t perform that action at this time.
0 commit comments