# identify

Identify a Common Room user session using an email address. Once identified, any previous anonymous traces that share the same user id and session id will be linked to the email address. Additionally, any existing data associated with that email address will be attached to the current session.

# Reference

identify(emailAddress);

# Parameters

  • emailAddress: The user email address.

# Returns

Nothing

# Usage

import { identify } from "@workleap/common-room";

identify("johndoe@contoso.com");