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/alias.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,17 @@ title: 'Spec: Alias'
3
3
---
4
4
5
5
> note "Alias is an advanced method"
6
-
> The Alias method allows you to explicitly change the ID of a tracked user, however this should only be done when it's required for downstream destination compatibility. See our[Best Practices for Identifying Users](/docs/guides/how-to-guides/best-practices-identify/) for more information.
6
+
> The Alias method allows you to explicitly change the ID of a tracked user, however this should only be done when it's required for downstream destination compatibility. See the[Best Practices for Identifying Users](/docs/guides/how-to-guides/best-practices-identify/) docs for more information.
7
7
8
-
The `alias` method is used to merge two user identities, effectively connecting two sets of user data as one. This is an advanced method, but it is required to manage user identities successfully in some of our destinations.
8
+
The `alias` method is used to merge two user identities, effectively connecting two sets of user data as one. This is an advanced method, but it is required to manage user identities successfully in some of Segment's destinations.
9
9
10
-
{% include components/reference-button.html href="https://university.segment.com/introduction-to-segment/324252?reg=1&referrer=docs" icon="media/academy.svg" title="Segment University: The Segment Methods" content="Check out our high-level overview of these APIs in Segment University. (Must be logged in to access.)" %}
11
-
12
-
Since this is our most advanced method we have added sections to each docs page for destinations that use it:
10
+
Since this is Segment's most advanced method, there are sections on each docs page for destinations that use it:
Here's the payload of a basic `alias` call that will associate this user's existing `id` (email address) with a new one (a database ID), with most [common fields](/docs/connections/spec/common/) removed:
16
+
Here's the payload of a basic Alias call that will associate this user's existing `id` (email address) with a new one (a database ID), with most [common fields](/docs/connections/spec/common/) removed:
19
17
20
18
```js
21
19
{
@@ -34,7 +32,7 @@ analytics.alias("507f191e81");
34
32
```
35
33
{% include content/syntax-note.md %}
36
34
37
-
Beyond the common fields, the `alias` call takes the following fields:
35
+
Beyond the common fields, the Alias call takes the following fields:
38
36
39
37
<table>
40
38
{% include content/spec-table-header.md %}
@@ -44,7 +42,7 @@ Beyond the common fields, the `alias` call takes the following fields:
44
42
45
43
46
44
## Examples
47
-
Here's a complete example of an `alias` call:
45
+
Here's a complete example of an Alias call:
48
46
49
47
```js
50
48
{
@@ -72,7 +70,7 @@ Here's a complete example of an `alias` call:
72
70
73
71
## Previous ID
74
72
75
-
The `previousId` is the existing ID you've referred to the user by. It might be an Anonymous ID assigned to that user or a User ID you previously identified them with using our [`identify`](/docs/connections/spec/identify/) call.
73
+
The `previousId` is the existing ID you've referred to the user by. It might be an Anonymous ID assigned to that user or a User ID you previously identified them with using Segment's [Identify](/docs/connections/spec/identify/) call.
0 commit comments