Overview

To target content to the right users at the right time, you can identify users and send UserGuiding user attributes about them.

Plus, by letting UserGuiding track custom events (user actions), you can create powerful user segments to target & analyze feature adoption as well.

Identify Users and send user attributes

To send user attributes and identify users, you must call the userGuiding.identify() function as shown below.

You can identify users with unique IDs. We recommend choosing any data type that can be converted to a string, as we store userId as a string.

Sample Identify call

Enabling User Identification

Once you've finished the implementation shown above (identifying users by passing unique IDs), go to UserGuiding Panel > Settings > User Identification to enable User Identification.

Send user attributes without identifying users

If the User Identification feature is not enabled in your account, you can still pass user attributes without passing a unique ID by calling the userGuiding.identify() function.

This method allows you to send user attributes for your end-users during their anonymous usage in your application.

Sample Identify call

Track custom events

Tracking events lets you target UserGuiding content based on actions people have or have not taken in your application and see your content's impact on user behaviors.

To track actions users take in your application, you must call the userGuiding.track() function as shown below.

Analytics > Uses Page

Once you start sending user ids, user attributes (user attributes), and tracking specific user actions (events), you will also obtain user-specific analytics data inside the Users page to analyze platform and UG content engagement metrics for particular user profiles.

Did this answer your question?