Identify visitors
Tell QuickPipe who the visitor is, for example after a login or a registration. QuickPipe then connects the earlier visits of this browser to the person.
Procedure
After the visitor logs on or sends their email address, call
identify:tslg.identify({ email: '[email protected]', userId: 'u_1842' });With the script tag, use:
jslg('identify', { email: '[email protected]', userId: 'u_1842' });When the visitor ends the session, call
reset:tslg.reset();
Result
QuickPipe adds the identifiers to the visitor of this browser. The match mode of each identifier decides the result. When an identifier with the mode merge belongs to a known person, the visits before identify and after it belong to that person. An identifier with the mode suggest, for example phone, gives only a suggestion. QuickPipe examines the suggestion before it joins two people. After reset, the browser gets a new visitor ID, and the next visits do not belong to the person.
Identifiers
| Identifier | Example | Default mode |
|---|---|---|
email | [email protected] | merge |
phone | +46701234567 | suggest |
linkedinProfile | https://www.linkedin.com/in/ana | merge |
xProfile | https://x.com/ana | suggest |
instagramProfile | https://www.instagram.com/ana | suggest |
githubProfile | https://github.com/ana | suggest |
tiktokProfile | @ana | suggest |
youtubeChannel | https://www.youtube.com/@ana | suggest |
userId | The user ID in your product | merge |
leadId | The lead ID in QuickPipe | merge |
anonymousId | The visitor ID from the cookie lg_aid | merge |
A person can have more than one value of an identifier, for example a work email and a private email. QuickPipe does not use the case of a value to match, so [email protected] and [email protected] are one value. A handle of X, Instagram, GitHub, TikTok or YouTube can belong to a company, so it gives only a suggestion.
The client needs consent to store the visitor ID. Refer to Set consent.