Skip to content

Commit

Permalink
add smartlook JS code
Browse files Browse the repository at this point in the history
  • Loading branch information
rosado committed Jul 12, 2024
1 parent 07226e1 commit 52e1b49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/common/smartlook.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
window.smartlook || (function (d) {
var o = smartlook = function () { o.api.push(arguments) }; const h = d.getElementsByTagName('head')[0]
const 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', '{{ smartlookKey }}', { region: '{{ smartlookRegion }}' })

0 comments on commit 52e1b49

Please sign in to comment.