Visitor info

Set basic visitor info.

This API comes in handy when you need to modify your visitor info.

Navigation

name

You can set visitor’s name.

<script>
  smartsupp('name', 'username');
</script>

email

You can set visitor’s email.

<script>
  smartsupp('email', 'user.email@example.com');
</script>

status

Mark visitor as active or idle. This is helpful in non-refresh application when you want setup activity manually.

active

Mark visitor as active.

<script>
  smartsupp('status', 'active');
</script>

idle

Mark visitor as idle.

<script>
  smartsupp('status', 'idle');
</script>

group

You can set visitor’s group.

<script>
  smartsupp('group', 'GROUP_ID');
</script>

variables

You can set additional variables to get info about your visitor.

<script>
  smartsupp('variables', {
    accountId: {
      label: 'Account ID',
      value: 123
    },
    role: {
      label: 'Role',
      value: 'admin'
    }
  });
</script>