templates/includes/window-vars.html.twig line 1

Open in your IDE?
  1. <script>
  2.     window.hostName                = "{{ app.request.getSchemeAndHttpHost() | replace({subdomainName : '', 'http://': ''}) }}"
  3.     window.googleAnalyticsUaID     = "{{ pimcore_website_config('googleAnalyticsUaID', 'UA-123456789-1') }}"
  4.     window.googleAnalyticsCookieID = "{{ pimcore_website_config('googleAnalyticsUaID', 'UA-123456789-1') | replace({'-':'_'}) }}"
  5.     window.dataProtectionDoc       = "{{ document.getProperty('dataProtectionDoc') }}"
  6.     window.dataImprintDoc          = "{{ document.getProperty('dataImprintDoc') }}"
  7. </script>