Add smartlook script to studio-frontend (#108)

This commit is contained in:
Danny McGee
2024-03-26 18:25:59 -04:00
committed by GitHub
parent daabc4d562
commit b9ec09e06c
+9
View File
@@ -15,5 +15,14 @@
<body>
<app-root></app-root>
<script type="module" src="/src/main.ts"></script>
<!-- Smartlook recording -->
<script type='text/javascript'>
window.smartlook||(function(d) {
var o=smartlook=function(){ o.api.push(arguments)},h=d.getElementsByTagName('head')[0];
var c=d.createElement('script');o.api=new Array();c.async=true;c.type='text/javascript';
c.charset='utf-8';c.src='https://web-sdk.smartlook.com/recorder.js';h.appendChild(c);
})(document);
smartlook('init', '3d1ddaf51ab1fa28ffe0b2bd94aa0e233bb0fd9e', { region: 'eu' });
</script>
</body>
</html>