More than ever, people are visiting your product from phones, tables, laptops and work computers.
Cross device tracking is going from an optional nicety to a necessary call. Identifying your users on each device is the key to correlating their sessions and properly attributing referral sources.
Identifying users with a unique user ID is essential. When
identify is called for a specific user, all previous and future events on that device will be associated with that user. The key here is that previous events are associated as well. This allows for properly tracking many different cross device scenarios, such as the following:
This might seem like an edge case, but these days it’s too common to ignore.
Properly tracking this scenario is simple:
- Make an
identifycall on your client side software (JS, iOS, Android, etc) whenever a user signs up or logs in (and pass a unique user id)
In order to associate traits with your user, we recommend making an additional server side
identify call. This way you can associate information that you might not have in your client software.
It’s sometimes common to call identify using the email address instead of a user ID. This is, of course, a problem when a user changes their email. Tracking with the ID is really the best practice.