custom/plugins/ComanConsentManager/src/Resources/views/storefront/layout/meta.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
  2. {% block layout_head_meta_tags %}
  3.     {% set ComanConsentManager = config('ComanConsentManager') %}
  4.     {% if ComanConsentManager is defined %}
  5.         {% if ComanConsentManager.config.active and ComanConsentManager.config.formId > 0 %}
  6.             {% if ComanConsentManager.config.blockingMode == 'automatic' %}
  7.                 <script type="text/javascript" data-cmp-ab="1" src="https://cdn.consentmanager.net/delivery/autoblock/{{ ComanConsentManager.config.formId }}.js" data-cmp-id="{{ ComanConsentManager.config.formId }}" data-cmp-host="b.delivery.consentmanager.net" data-cmp-cdn="cdn.consentmanager.net" data-cmp-codesrc="3"></script>
  8.             {% endif %}
  9.         {% endif %}
  10.     {% endif %}
  11.     {{ parent() }}
  12. {% endblock %}