Skip to content

Commit c1b9f54

Browse files
author
markzegarelli
authored
Merge pull request #2010 from segmentio/statsig
Documentation for the new Statsig destination
2 parents f87c0b4 + 8a6694c commit c1b9f54

File tree

6 files changed

+133
-6
lines changed

6 files changed

+133
-6
lines changed

src/_data/catalog/destination_categories.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2021-10-11
2+
# destination categories last updated 2021-10-13
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/destinations.yml

+54-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2021-10-11
2+
# destination data last updated 2021-10-13
33
items:
44
- display_name: 2mee
55
name: 2mee
@@ -7753,7 +7753,7 @@ items:
77537753
components:
77547754
- code: https://github.com/segmentio/integrations/tree/master/integrations/hubspot
77557755
type: server
7756-
browserUnbundlingSupported: true
7756+
browserUnbundlingSupported: false
77577757
browserUnbundlingPublic: true
77587758
replay: false
77597759
connection_modes:
@@ -20682,6 +20682,58 @@ items:
2068220682
description: "Please set a Startdeliver user custom field to match a Segment event on. You can find your custom fields here –\_https://app.startdeliver.com/settings/fields."
2068320683
required: true
2068420684
label: Startdeliver user custom field to match on
20685+
- display_name: Statsig
20686+
name: Statsig
20687+
slug: statsig
20688+
hidden: false
20689+
url: connections/destinations/catalog/statsig
20690+
previous_names:
20691+
- Statsig
20692+
website: https://www.statsig.com
20693+
status: PUBLIC_BETA
20694+
categories:
20695+
- A/B Testing
20696+
- Analytics
20697+
logo:
20698+
url: https://cdn.filepicker.io/api/file/LC02PCIyQaR7Lpt0Ulk1
20699+
mark:
20700+
url: >-
20701+
https://public-segment-devcenter-production.s3.amazonaws.com/476760b5-b915-42ea-9682-ce1217f47af0.svg
20702+
methods:
20703+
track: true
20704+
identify: true
20705+
group: true
20706+
alias: true
20707+
page: true
20708+
platforms:
20709+
browser: true
20710+
mobile: true
20711+
server: true
20712+
components: []
20713+
browserUnbundlingSupported: false
20714+
browserUnbundlingPublic: false
20715+
replay: false
20716+
connection_modes:
20717+
device:
20718+
web: false
20719+
mobile: false
20720+
server: false
20721+
cloud:
20722+
web: false
20723+
mobile: false
20724+
server: false
20725+
summary: No connection mode information available.
20726+
cmode_type: none
20727+
case: '0'
20728+
settings:
20729+
- name: apiKey
20730+
type: string
20731+
defaultValue: ''
20732+
description: >-
20733+
Copy the Statsig Server Secret Key for your Statsig Project here:
20734+
https://console.statsig.com/api_keys
20735+
required: true
20736+
label: API Key
2068520737
- display_name: Stitch Data
2068620738
name: Stitch Data
2068720739
slug: stitch-data

src/_data/catalog/source_categories.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# source cateogries last updated 2021-10-11
2+
# source cateogries last updated 2021-10-13
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/sources.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# sources last updated 2021-10-11
2+
# sources last updated 2021-10-13
33
items:
44
- display_name: .NET
55
slug: net

src/_data/catalog/warehouse_papi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# warehouse data last updated 2021-10-11
2+
# warehouse data last updated 2021-10-13
33
items:
44
- display_name: Azure SQL Data Warehouse
55
slug: azuresqldw
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: Statsig Destination
3+
---
4+
5+
[Statsig](https://www.statsig.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) helps companies safely A/B test features in production before rolling them out, avoiding product debates and costly mistakes when shipping out new features. Statsig automates the grunt work so that A/B tests are always running automatically and you always know how your features are performing.
6+
7+
This destination is maintained by Statsig. For any issues with the destination, [contact the Statsig Support team](mailto:[email protected]).
8+
9+
## Getting Started
10+
11+
{% include content/connection-modes.md %}
12+
13+
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
14+
2. Search for “Statsig” in the Destinations Catalog, and select the “Statsig” destination.
15+
3. Choose which Source(s) should send data to the “Statsig” destination.
16+
4. Go to the [Statsig dashboard](https://console.statsig.com/api_keys), find and copy the Statsig "Server Secret Key”.
17+
5. Enter the Statsig “Server Secret Key” in the “Statsig” destination settings in Segment.
18+
19+
## Supported methods
20+
21+
Statsig supports the following methods, as specified in the [Segment Spec](/docs/connections/spec).
22+
23+
### Page
24+
25+
Send [Page](/docs/connections/spec/page) calls to Statsig. For example:
26+
27+
```js
28+
analytics.page("Home")
29+
```
30+
31+
Segment sends Page calls to Statsig as:
32+
33+
```js
34+
{
35+
"event": "segment_page:Home"
36+
}
37+
```
38+
39+
These events are included in any experiments running on Statsig and will show up in all Metrics data.
40+
41+
### Screen
42+
43+
Send [Screen](/docs/connections/spec/screen) calls to Statsig. For example:
44+
45+
```obj-c
46+
[[SEGAnalytics sharedAnalytics] screen:@"Home"];
47+
```
48+
49+
Segment sends Screen calls to Statsig as:
50+
51+
```js
52+
{
53+
"event": "segment_screen:Home"
54+
}
55+
```
56+
57+
These events are included in any experiments running on Statsig and will show up in all Metrics data.
58+
59+
### Track
60+
61+
Send [Track](/docs/connections/spec/track) calls to Statsig. For example:
62+
63+
```js
64+
analytics.track('Login Button Clicked')
65+
```
66+
67+
Segment sends Track calls to Statsig as:
68+
69+
```js
70+
{
71+
"event": "segment_track:Login Button Clicked"
72+
}
73+
```
74+
75+
These events are included in any experiments running on Statsig and will show up in all Metrics data.

0 commit comments

Comments
 (0)