You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/spec/identify.md
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,9 @@ Segment recommends that you make an Identify call:
11
11
- After a user first registers
12
12
- After a user logs in
13
13
- When a user updates their info (for example, they change or add a new address)
14
-
- Upon loading any pages that aren't accessible by a logged in user (optional)
15
14
16
15
The first three examples are pretty self-explanatory, but many might ask: why you would call identify on every page load if we're storing the `userId` in the cookie/local storage?
17
16
18
-
Let's imagine this scenario:
19
-
20
-
I log into your app. Identify is called. For whatever reason, I close the browser and don't return until later. There's no way of knowing where I will reenter your app from. I could start my session from anywhere. And because there are many tools out there that require an initial identify call for certain features (e.g. Intercom chat widget) it's important to tell your end tools who the user is when they first start their session.
21
-
22
17
Calling `identify` in one of our [libraries](/docs/connections/sources/) is one of the first steps to getting started with Segment. Refer to library-specific documentation for more details.
23
18
24
19
Here's the payload of a typical `identify` call with most [common fields](/docs/connections/spec/common/) removed:
0 commit comments