Our API gives you the options to display even more information about your recordings.

Variables

We prepared for you some variables with specific identifying variables. The most useful one will most likely be the 'recording URL' variable, as it gives you a link so that you can see and play the given recording.

Access variables

This example shows a code how it can look in a console.

<script>
  smartlook(
    function () {
      console.log(smartlook.playUrl);
      console.log(smartlook.visitorId);
    }
  );
</script>

Now let’s say you want to save a recording URL (playUrl) in your own service.

<script>
  smartlook(
    function () {
      MyServiceToLogUrl.sendToApi(smartlook.playUrl);
    }
  );
</script>
Did this answer your question?