Your Install Code

Success! Please copy and paste the code below in your site's HTML (preferably as close as possible to the open <head> tag but anywhere will work) and you'll be set.

<!-- Begin Inspectlet Asynchronous Code -->
<script type="text/javascript">
(function() {
window.__insp = window.__insp || [];
__insp.push(['wid', 1730131955]);
var ldinsp = function(){
if(typeof window.__inspld != "undefined") return; window.__inspld = 1; var insp = document.createElement('script'); insp.type = 'text/javascript'; insp.async = true; insp.id = "inspsync"; insp.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://cdn.inspectlet.com/inspectlet.js?wid=1730131955&r=' + Math.floor(new Date().getTime()/3600000); var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(insp, x); };
setTimeout(ldinsp, 0);
})();
</script>
<!-- End Inspectlet Asynchronous Code -->
<!-- Begin Inspectlet Asynchronous Code -->
<script type="text/javascript">
(function() {
var insp_ab_loader = true; // set to false to disable A/B optimized loader
window.__insp = window.__insp || [];
__insp.push(['wid', 1730131955]);
var ldinsp = function(){
if(typeof window.__inspld != "undefined") return; window.__inspld = 1; var insp = document.createElement('script'); insp.type = 'text/javascript'; insp.async = true; insp.id = "inspsync"; insp.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://cdn.inspectlet.com/inspectlet.js?wid=1730131955&r=' + Math.floor(new Date().getTime()/3600000); var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(insp, x);if(typeof insp_ab_loader != "undefined" && insp_ab_loader){ var adlt = function(){ var e = document.getElementById('insp_abl'); if(e){ e.parentNode.removeChild(e); __insp.push(['ab_timeout']); }}; var adlc = "body{ visibility: hidden !important; }"; var adln = typeof insp_ab_loader_t != "undefined" ? insp_ab_loader_t : 800; insp.onerror = adlt; var abti = setTimeout(adlt, adln); window.__insp_abt = abti; var abl = document.createElement('style'); abl.id = "insp_abl"; abl.type = "text/css"; if(abl.styleSheet) abl.styleSheet.cssText = adlc; else abl.appendChild(document.createTextNode(adlc)); document.head.appendChild(abl); } };
setTimeout(ldinsp, 0);
})();
</script>
<!-- End Inspectlet Asynchronous Code -->

Check If It's Installed Correctly

To debug whether Inspectlet is installed and functioning correctly, append ?inspectlet_diagnostics=true to your website URL to bring up the diagnostics console

Optional Next Steps

If you'd like, you can exclude your own visits from Inspectlet.

Associate session recordings to users' email addresses, names, etc by identifying your users. Send in any other metadata (like a user's email address, subscription plan, etc) to associate with a session using the javascript tagging API so that you can filter for specific users or types of visits.

You should also mark certain information on your site as sensitive so that it's never sent to Inspectlet's servers.

Our JS is Optimized for Performance

Our JavaScript is loaded asynchronously in a non-blocking fashion, your other page resources will load concurrently. It doesn't delay visual page rendering, nor does it delay the javascript document ready or onload event, so your users should see no difference in performance.
2024 Inspectlet.