Sending your users data
This guide is for SaaS or subscription-based businesses only.
Sending your app's user data will help you better understand how users interact with your site or app with Usermaven's pre-built product insights reports.
If the tracking script is already installed, the next step is adding or identifying people in Usermaven.
This function allows you to attach a unique identity and maintain user histories across sessions, devices, and browsers under a single profile in Usermaven.
You must call the
usermaven("id") method whenever a user signs-in to your app in order to identify logged-in users and attach the actions they perform in your app to the contacts (people and companies) database in Usermaven.
Calling this function creates or updates a profile in the Contacts hub. You can pass as many different attributes about that user or company as you like. Take some time to think about the name you give to your attributes. You can name them anything you like, but it's best to use clear, concise, and consistent names.
Please make sure that these calls are made after the tracking script, either by inserting them in your HTML after the script tags or by delaying their execution using the page load event.