vendor/crehler/theme-extensions/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 hotjar %}
  3.     {% if page.catalog.hotjarId %}
  4.         <!-- Hotjar Tracking Code for Test Katalog Crehler -->
  5.         <script>
  6.             (function(h,o,t,j,a,r){
  7.                 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
  8.                 h._hjSettings={hjid:{{ page.catalog.hotjarId }},hjsv:6};
  9.                 a=o.getElementsByTagName('head')[0];
  10.                 r=o.createElement('script');r.async=1;
  11.                 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
  12.                 a.appendChild(r);
  13.             })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
  14.         </script>
  15.     {% else %}
  16.         {{ parent() }}
  17.     {% endif %}
  18. {% endblock %}