src/Social/FrontendBundle/Resources/views/hotjar_code.html.twig line 1

Open in your IDE?
  1. {% if hotjar_code %}
  2.     <script>
  3.         (function(h,o,t,j,a,r){
  4.             h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
  5.             h._hjSettings={hjid:{{ hotjar_code }},hjsv:6};
  6.             a=o.getElementsByTagName('head')[0];
  7.             r=o.createElement('script');r.async=1;
  8.             r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
  9.             a.appendChild(r);
  10.         })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
  11.     </script>
  12. {% endif %}