Skip to content

Commit 7b680a2

Browse files
author
Niall Brennan
committed
Add alias method
1 parent 450c2a1 commit 7b680a2

File tree

1 file changed

+1
-2
lines changed
  • src/connections/sources/catalog/libraries/mobile/swift-ios

1 file changed

+1
-2
lines changed

src/connections/sources/catalog/libraries/mobile/swift-ios/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ analytics.group(groupId: "user-123", traits: MyTraits(
187187
{% endcodeexample %}
188188

189189
### Alias
190-
The [Alias](/docs/connections/spec/alias/) method is used to merge two user identities, effectively connecting two sets of user data as one. This is an advanced method, but can be used to manage user identities successfully in some of our destinations.
191-
When this method is called the `newId` value will overwrite the old userId. If no userId is currently set, the `newId` will be associated with future events as the userId. This is an advanced method and may not be supported across our destination catalog, please refer to our destination docs to understand if this method is supported or not.
190+
The [Alias](/docs/connections/spec/alias/) method is used to merge two user identities, effectively connecting two sets of user data as one. When this method is called the `newId` value will overwrite the old userId. If no userId is currently set, the `newId` will be associated with future events as the userId. This is an advanced method and may not be supported across the entire destination catalog, please refer to the destination docs to understand if this method is supported or not.
192191

193192
{% codeexample %}
194193
{% codeexampletab Method signature %}

0 commit comments

Comments
 (0)