How To Identify Specific Users in Asayer

Make debugging easy by finding sessions by user, company, email and much more.

Laurena Dehlouz
Asayer
3 min readNov 22, 2019

--

You’ve started recording sessions — great. But now, you want to be able to search sessions by specific user traits, such as name, company or email address. When it comes to troubleshooting and technical support, this makes everything much easier. Want to see that specific users’ problem? Want to see how users are evolving on your platform? By associating sessions with the user metadata, you can easily answer these questions.

In this guide we will show you how you can set up metadata in Asayer to make it easy to search sessions by specific user traits.To do this, you will need Segment.

Step 1. Segment Integration

If you don’t know about Segment yet, it is a nifty little tool tool that lets you collect user data from every source you have into a single exportable API.

First, you need to link your Segment account with Asayer. To do this, simply search for Asayer in the list of available Segment integrations and select it.

To enable the integration, copy your Asayer Site ID (Found at Preferences > Sites > Tracking Code) and paste into the Segment Settings for Asayer.

As a reminder, your tracking code should look something like this:

<! — Asayer Tracking Code for app.asayer.io →
<script>
(function(a,s,a,y,e,r){
r=[y];window[a]={r:r};y=document.createElement(‘script’);
y.src=s;y.async=!!e;y.setAttribute(‘data-asayer-ns’,a);
document.getElementsByTagName(‘head’)[0].appendChild(y);
window[a].start=function(v){r.push([0])};
window[a].vars=function(k,v){r.push([1,k,v])};
window[a].event=function(t,p){r.push([2,t,p])};
window[a].id=Function.prototype;
window[a].started=function(){return false};
})(0,’https://static.asayer.io/asayer.js','asayer',0,1);
</script>

Step 2. Using Segment Traits in Asayer

Once you’ve enabled Asayer in Segment, you can now transfer that data into your session recordings, to easily identify users. To explicitly specify user traits go to Preferences > Metadata. There, you can set up identifiable traits using the same name and type as the Segment User Traits.

For example, if you want to identify users by their segment user id or by email, you would specify these traits:

Here, we’ve set up user traits by user ID, anonymous ID and email.

Step. 3 Searching for sessions using metadata

Now that you have set up your user traits, you can look them up using the powerful search feature.

Simply click on the search bar and you will see all the user traits you specified under the ‘META DATA’ category. As you can see, all 3 traits that we’ve added are searchable.

Moreover, every-time you open a session, you can see all the other sessions associated with that user. That way, if you want to keep a historical track of issues that they encounter. All of this is available within the ‘Metadata’ tag in each session replay.

There you go! No need to spend your time watching tons of session recordings as if you were bingeing on a new Netflix special. Now it should be easy for you to find all the sessions associated with specific users, or specific companies, so that you can focus only on the sessions that matter.

--

--

Laurena Dehlouz
Asayer
Writer for

Writing about software development and debugging with @Asayer