We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 079935b commit 5fe757eCopy full SHA for 5fe757e
src/partials/head-last.hbs
@@ -1,9 +1,9 @@
1
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
2
<script src="{{{uiRootPath}}}/js/vendor/jquery.js"></script>
3
-{{#with env.OPTANON_SCRIPT_URL}}
4
-<script src="{{this}}" data-domain-script="{{env.OPTANON_SCRIPT_DATA_DOMAIN_SCRIPT}}"></script>
+{{#if env.OPTANON_SCRIPT_URL}}
+<script src="{{env.OPTANON_SCRIPT_URL}}" data-domain-script="{{env.OPTANON_SCRIPT_DATA_DOMAIN_SCRIPT}}"></script>
5
<script>function OptanonWrapper(){}</script>
6
-{{/with}}
+{{/if}}
7
{{#with site.keys.googleAnalytics}}
8
<script>(window.dataLayer=window.dataLayer||[]).push({'gtm.start':+new Date(),event:'gtm.js'})</script>
9
<script async src="https://www.googletagmanager.com/gtm.js?id={{{this}}}"></script>
0 commit comments