Skip to content

Commit 76d4756

Browse files
committed
DOC-13715 marker.io script
1 parent 9bdcddd commit 76d4756

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/partials/head-last.hbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,15 @@
77
<script src="{{env.OPTANON_SCRIPT_URL}}" data-domain-script="{{env.OPTANON_SCRIPT_DATA_DOMAIN_SCRIPT}}"></script>
88
<script>function OptanonWrapper(){}</script>
99
{{/if}}
10+
11+
<script>
12+
window.markerConfig = {
13+
project: '6911fff96c3b61c1fb3a0678',
14+
source: 'snippet'
15+
};
16+
17+
!function(e,r,a){if(!e.__Marker){e.__Marker={};var t=[],n={__cs:t};["show","hide","isVisible","capture","cancelCapture","unload","reload","isExtensionInstalled","setReporter","clearReporter","setCustomData","on","off"].forEach(function(e){n[e]=function(){var r=Array.prototype.slice.call(arguments);r.unshift(e),t.push(r)}}),e.Marker=n;var s=r.createElement("script");s.async=1,s.src="https://edge.marker.io/latest/shim.js";var i=r.getElementsByTagName("script")[0];i.parentNode.insertBefore(s,i)}}(window,document);
18+
</script>
19+
1020
{{> head-meta}}
1121
{{> head-scripts}}

0 commit comments

Comments
 (0)