custom/plugins/DIScoGA4/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_noscript %}
  3.     {% block disco_base_noscript %}
  4.         {% if config('DIScoGA4.config.googleTagId') and config('DIScoGA4.config.googleTagEnabled') and app.request.cookies.has('_dis_gtag')%}
  5.             <!-- Google Tag Manager (noscript) - DisGA4 -->
  6.             <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ config('DIScoGA4.config.googleTagId')|raw }}"
  7.                         height="0" width="0" style="display:none;visibility:hidden" title="googletagmanager"></iframe></noscript>
  8.             <!-- End Google Tag Manager (noscript) - DisGA4 -->
  9.         {% endif %}
  10.     {% endblock %}
  11.     {{ parent() }}
  12. {% endblock %}