🔥 Major updates
- Added Profile identification via a new
identify(ip, userAgent, profileId, traits?)method.
You can now link a visitor's anonymous profile to your own user ID (e.g. after they log in), so their pre-login activity is attributed to the identified profile. You can also pass traits - key / value metadata like email, plan or signup date - which are displayed on the user's profile in your dashboard. Traits are merged per key; passnullto remove one.
Note: unlike the browser tracker, this does not set a defaultprofileIdfor subsequent calls - keep passingprofileIdpertrack/trackPageViewcall. Learn more.
🙂 Minor changes
- Updated dependencies.