share library_books

Identifying Users

By default, all users that interact with your website will be given an anonymous identifier. You will get an overview of the number of sessions for each given user, page loads and network requests, as well as User Satisfaction for these events, which browser was used and the country from which the user is interacting with your website.

Users Overview

This behavior can be altered by calling the identify function that allows you to inform the script about the user's identity. Here's an example. If the user interacting with your application is already logged in, you can pass along their name and identifier (email, email hash, or anything that is unique) so that later you can find data for this user in Experience.

In order to properly identify the user you need to call the identify function just before the config function described in the Getting Started section, i.e.:

<script type="text/javascript">
  strum('identify', { name: 'mike', identifier: 'mike@company.com' })
  strum('config', ...)
</script>