Advanced Setup
Document describing some more of the advanced features available for Rosetta.ai's JavaScript source.
Read our quickstart guide to learn how to load and initialize the Rosetta.ai SDK for JavaScript. While the quickstart guides you through the necessary components for minimum implementation, this guide will take you through some of the optional, advanced features.
User Mapping
Rosetta.ai SDK for JavaScript automatically generates a unique identifier anonymousId
for your users. The userID
method is how you associate your users and their actions to recognizable userId
s (usually mapped to your own database of user identifiers).
In turn, this allows you to more easily accomplish:
Cross Device tracking
Retargeting
User Mapping Definition
User Mapping Examples
User ID is a String
String
User ID is an Integer
Integer
Last updated