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/destinations/catalog/variance/index.md
+21-16Lines changed: 21 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,20 @@ This destination is maintained by Variance. For any issues with the destination,
14
14
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
15
15
2. Search for "Variance" in the Destinations Catalog, and select the "Variance" destination.
16
16
3. Choose which Source should send data to the "Variance" destination.
17
-
4. Go to the [Variance Integrations page](http://app.variance.com/integrations) (you'll see it in the main nav under your company name).
17
+
4. Go to the [Variance Integrations page](http://app.variance.com/integrations){:target="_blank"} (you'll see it in the main nav under your company name).
18
18
5. Click **Add Connection**.
19
19
6. Give your connection a name (descriptive is better as it can be used as an event filter in Variance).
20
20
7. Choose a method for account matching. Details on these methods can be found in the [Account Mapping](#Account-Mapping) section at the bottom of this doc.
21
21
8. Find and copy the "Secret" and "Webhook URL" fields associated with this project.
22
22
9. Back in the Segment App, enter these as the "API Key" and "Webhook URL" fields in the "Variance" Destination settings.
23
23
24
-
## Page
24
+
## Supported methods
25
25
26
-
If you aren't familiar with the Segment Spec, take a look at the [Page method documentation](https://segment.com/docs/connections/spec/page/) to learn about what it does. An example call would look like:
26
+
Variance supports the following methods, as specified in the [Segment Spec](/docs/connections/spec).
27
+
28
+
### Page
29
+
30
+
Send [Page](/docs/connections/spec/page) calls to *ADD WHAT PAGE CALLS ARE USED FOR HERE*. For example:
27
31
28
32
```js
29
33
analytics.page()
@@ -32,9 +36,9 @@ analytics.page()
32
36
Segment sends Page calls to Variance as a `Page` Event Type.
33
37
34
38
35
-
## Screen
39
+
###Screen
36
40
37
-
If you aren't familiar with the Segment Spec, take a look at the [Screen method documentation](https://segment.com/docs/connections/spec/screen/)to learn about what it does. An example call would look like:
41
+
Send [Screen](/docs/connections/spec/screen) calls to *ADD WHAT SCREEN CALLS ARE USED FOR HERE*. For example:
38
42
39
43
```obj-c
40
44
[[SEGAnalytics sharedAnalytics] screen:@"Home"];
@@ -43,9 +47,9 @@ If you aren't familiar with the Segment Spec, take a look at the [Screen method
43
47
Segment sends Screen calls to Variance as a `Screen` Event Type.
44
48
45
49
46
-
## Identify
50
+
### Identify
47
51
48
-
If you aren't familiar with the Segment Spec, take a look at the [Identify method documentation](https://segment.com/docs/connections/spec/identify/) to learn about what it does. An example call would look like:
52
+
Send [Identify](/docs/connections/spec/identify) calls to *ADD WHAT IDENTIFY CALLS ARE USED FOR HERE*. For example:
Segment sends Identify calls to Variance as a `Contact`.
57
61
58
62
59
-
## Track
63
+
###Track
60
64
61
-
If you aren't familiar with the Segment Spec, take a look at the [Track method documentation](https://segment.com/docs/connections/spec/track/)to learn about what it does. An example call would look like:
65
+
Send [Track](/docs/connections/spec/track) calls to *ADD WHAT Track CALLS ARE USED FOR HERE*. For example:
Segment sends Track calls to Variance as an `Action` Event Type.
68
72
69
73
70
-
## Group
74
+
###Group
71
75
72
-
If you aren't familiar with the Segment Spec, take a look at the [Group method documentation](https://segment.com/docs/connections/spec/group/) to learn about what it does. An example call would look like:
76
+
Send [Group](/docs/connections/spec/group) to Variance. For example:
73
77
74
78
```js
75
79
analytics.group("groupId123", {
@@ -84,10 +88,11 @@ Segment sends Group calls to Variance as an `Account` if you've chosen the "Grou
84
88
85
89
## Account Mapping
86
90
87
-
As mentioned in the setup instructions, Variance offers a few different ways of mapping your users to accounts/companies. Here's an overview:
91
+
As mentioned in the setup instructions, Variance offers multiple ways to map your users to accounts or companies. Here's an overview:
88
92
89
-
1. Group: if you already use the Group call to indicate the Account, then you don’t need to fill in anything. We will extract the Account automatically, and you’re good to go.
90
-
1. Identify with custom traits (ex. `company.id` and `company.name`): choose this option if you include some information about the Account/Company/Organization as a trait in each Identify call. When you choose this option you'll need to let us know the name of the trait you use. For instance, if you do something like `{'company':{'id':1,'name':'Awesome Inc.'}}` you could add `company.id` as the Account ID trait and `company.name` as the Account Name trait.
91
-
1. (Fallback) Identify email trait domain extraction: if you don't use either of the methods above, we can extract the domain from the `email` trait and use that as the Account name.
93
+
1. Group: if you already use the Group call to indicate the Account, then you don’t need to fill in anything. Segment extracts the Account name automatically.
94
+
2. Identify with custom traits (for example `company.id` and `company.name`): choose this option if you include some information about the Account, Company, or Organization as a trait in each Identify call. When you choose this option you'll need to add the name of the trait you use. For instance, if you configure the call with the data `{'company':{'id':1,'name':'Awesome Inc.'}}`, add `company.id` as the Account ID trait and `company.name` as the Account Name trait.
95
+
3. (Fallback) Identify email trait domain extraction: if you don't use either of the methods above, Segment extracts the domain from the `email` trait and uses that value as the Account name.
92
96
93
-
Note: if none of these work for your setup, [reach out to Variance support](mailto:[email protected]) and we can discuss alternatives.
97
+
> info ""
98
+
> If none of the above work for your setup, [contact Variance support](mailto:[email protected]) to discuss alternative configurations.
0 commit comments