Identifying the Users

 

Freshmarketer’s JavaScript Identify API helps you associate users with their respective sessions.

In all the recordings made by Freshmarketer, the sessions are related to the users by random names. Example: Brass Ant, Apricot Crab. Now, with the help of this API, you can associate a particular session recording to a particular user by their email ID, UID, name, etc., they use.


Simply call FM.identify () API and pass the parameter that needs to be associated with the session like email_id, uid, etc in it.


Syntax


FM.identify(str);


Parameters


str
String. Any string to identify the user


Example:


if(window.FM && typeof window.FM.identify === "function") {
FM.identify(home.EMAIL_ID);



Freshmarketer expects a string as a parameter for FM.identify API and it can contain only a single value at a time.

Please make sure you call this method after including Freshmarketer’s JS snippet.


Now you can easily search for sessions of a particular user that you are interested in by keying in the identity parameter you had passed in the API,inside the search box.




Technical Support 
 
 
Don't see what you're looking for? Just drop us a mail