From 11b20bd65c1ad5f4607f2f12d5d5667e78a34812 Mon Sep 17 00:00:00 2001 From: Ihor Vansach Date: Tue, 4 Jul 2023 11:15:58 +0300 Subject: [PATCH] Refactored last merge request --- etc/adminhtml/system.xml | 2 +- view/frontend/templates/js_code.phtml | 75 ++++++++++++++------------- 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 8fff83e..55afb0c 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -169,7 +169,7 @@ height="0" width="0" style="display:none;visibility:hid - If enabled Facebook Pixel JavaScript will be loaded only after users first click, scroll, or mouse touch. It is recommended to keep it enabled for better page speed performance. + If enabled Google Tag Manager JavaScript will be loaded only after users first click, scroll, or mouse touch. You can enable it for better page speed performance. Magento\Config\Model\Config\Source\Yesno diff --git a/view/frontend/templates/js_code.phtml b/view/frontend/templates/js_code.phtml index 9af3e13..786bc0f 100644 --- a/view/frontend/templates/js_code.phtml +++ b/view/frontend/templates/js_code.phtml @@ -14,42 +14,21 @@ if (!isset($escaper)) { ?> - + \ No newline at end of file