Skip to content

Commit 340b79b

Browse files
author
markzegarelli
authored
Merge pull request #2942 from gmathieu/develop
Variance alias support
2 parents ac34416 + 398b1fc commit 340b79b

File tree

1 file changed

+10
-0
lines changed
  • src/connections/destinations/catalog/variance

1 file changed

+10
-0
lines changed

src/connections/destinations/catalog/variance/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ analytics.group("groupId123", {
8585

8686
Segment sends Group calls to Variance as an `Account` if you've chosen the "Group" Account Mapping method during setup.
8787

88+
### Alias
89+
90+
If you're not familiar with the Segment Spec, take a look at the [Alias method documentation](/docs/connections/spec/alias/) to learn about what it does. An example call would look like this:
91+
92+
```js
93+
analytics.alias('123456')
94+
```
95+
96+
If there is an existing user with that `userId` in Variance that matches the `previousId` passed with the alias, that user will be merged into the "123456" user identified in the alias. If there is only one user with the `previousId` and no user with the `userId`, that user will have their Variance `externalId` updated to match the current `userId` passed in the alias.
97+
8898
## Account Mapping
8999

90100
Variance offers several ways to map your users to accounts or companies, including the following.

0 commit comments

Comments
 (0)