When a user lands on your site, they're automatically assigned a Mutiny user token. Provided that they don't clear their cookies, we'll continue identifying that user as the same user every time they come back. The problem is, Mutiny alone doesn't know everything about who that user is. Are they a current customer? Are they an enterprise prospect? Being able to identify a user on your website is vital for ensuring that the right personalization is shown at the right time.
The key to understanding that user is being able to match them back to an existing record in your CRM. To do this, you'll need to tell Mutiny who that user is using the identify SDK. This article will walk through the details of installing the identify SDK on your site.
What is the identify SDK?
Mutiny exposes an identify method that allows you to associate properties to your users. The identify call accepts any properties that you'd like to use to personalize that user's experience (such as email, name, buying stage, etc.), as well as a unique user ID (more on that below).
Installing the identify SDK
To install the identify SDK, you should call the method below right after a user has identified themselves through registering for your service, logging in to your product, or when they update/change their info.
In the example below, we're identifying a user's
title, as well as their unique CRM ID (
name: 'Marc Benioff',
Once you call this method, you will be able to use these attributes for segmentation and personalization on subsequent page views. We'll also match this user back to their record in your CRM, allowing for more enhanced personalizations.
The first argument to
identify is a user ID. We recommend using the ID that represents that user in your own database. This way, all the data you use for personalization will match the records in your database and be kept in sync.
If you want to associate data to a user that has not yet been recognized via registration or login, you can leave this parameter blank and we will associate the information to an anonymous user.
Mutiny maintains an anonymous visitor token for you to automatically keep track of these anonymous properties.
When a user first lands on your website, we will associate page views and conversion events to this anonymous user to understand what they did before signing up.
Once a user signs up, we will merge all of their anonymous properties with their known user properties, providing the full picture of what a user has done.
If a user first visits from their computer and then from their mobile device, this would normally be 2 separate anonymous visitors. However, once they login, we will know that these two anonymous visitors are actually a single user, and we will merge these profiles together.
While we can collect metadata about users, it is also helpful to use information about the company the user works for to personalize.
Data passed to us about a company will be consolidated and shared for all users that work at that company. You can pass us company information about a user through the
name: 'Brian Chesky',
industry: 'Information Technology',
Mutiny will take all the attributes in the
company key and associate them with a separate Account object that will be shared across all of your users that belong to that organization. We will merge in all attributes we see in subsequent
identify calls under the
company key to this account.
Additionally, there are reserved company properties that should only be used for their intended meaning.
Don't be a stranger
If you have any questions, we’re here to help! Please feel free to contact us at any time, either through intercom chat or via firstname.lastname@example.org.