Skip to content

Commit 9e14d2d

Browse files
Braze (#2905)
## Description ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/qQgXOng6fMO38nDCoRsE/227fb49a-62f9-43c9-811b-1f16ca18ebc6.png) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/qQgXOng6fMO38nDCoRsE/d05b2ace-5772-4fc3-9e27-a325faddad7f.png) ## Best practice checklist - [x] I've considered the best practices on [where to put your doc](https://www.notion.so/statsig/Statsig-Docs-Contribution-Guide-1c4d27b5090d8093856ff2d94f170a9c?pvs=4#1c4d27b5090d80f7b1f0e14e93af4eb5) and [what to put in your doc](https://www.notion.so/statsig/Statsig-Docs-Contribution-Guide-1c4d27b5090d8093856ff2d94f170a9c?pvs=4#1c4d27b5090d805bb4d0d6b4b8f06fa6) - [x] I've deleted and redirected old pages to this one, if any - [x] I've updated links affected by this change, if any - [x] I've updated screenshots affected by this change, if any ## Questions? Reach out to Brock or Tore on Slack!
1 parent a53b981 commit 9e14d2d

File tree

4 files changed

+59
-1
lines changed

4 files changed

+59
-1
lines changed

cspell.json

+1
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@
662662
"vineeth",
663663
"vijaye",
664664
"brock",
665+
"danielwest",
665666
"makris",
666667
"geotest",
667668
"geotests",
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Braze
3+
keywords:
4+
- owner:danielwest
5+
last_update:
6+
date: 2025-04-22
7+
---
8+
9+
## Overview
10+
11+
Enabling the Braze integration allows you to export Statsig exposure events to your configured Braze app with information on the status of each user's feature gate and experimentation groups. These exposures will be forwarded to Braze as a [Custom Attribute](https://www.braze.com/docs/user_guide/data/custom_data/custom_attributes) object on the user. There will be one Custom Attribute per gate/experiment the user has been exposed to. The Custom Attribute in Braze will be named `statsig_exposure::{gate/experiment name}` and be of the form:
12+
13+
```
14+
{
15+
group_name: String,
16+
timestamp: Time
17+
}
18+
```
19+
20+
You can then filter exposed users into a Segment in Braze. Custom Attributes will be forwarded to Braze users by having the unit ID from the gate/experiment as the `external_id` in Braze.
21+
22+
## Setup in Statsig
23+
24+
This integration is only available for Statsig Enterprise customers. Please reach out to our support team to get this enabled for your project. Then, you will be able to find 'Braze' as an option in your Statsig project's [list of integrations](https://console.statsig.com/integrations) from within Statsig console.
25+
26+
1. Open your [Braze dashboard](https://dashboard.braze.com/). Navigate to Settings > APIs and Identifiers, then open the API Keys tab.
27+
2. Create or select an existing API key that has the 'users.track' permission. Enter the API Key Identifier in the Braze Integration Setup dialog in your Statsig project.
28+
3. Find your Instance's REST Endpoint from the [Braze API docs](https://www.braze.com/docs/api/basics/#api-definitions/). Enter it in the Integration Setup dialog.
29+
30+
## Segment Filtering in Braze
31+
32+
Once your integration is set up in Statsig, exposures can start firing into your Braze app. When exposures arrive in Braze from a new gate/experiment, you can create a filter on these users.
33+
34+
1. Open your [Braze dashboard](https://dashboard.braze.com/). Navigate to Data Settings > Custom Attributes. You should see your new Custom Attribute from Statsig like below:
35+
36+
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/qQgXOng6fMO38nDCoRsE/9b09c6b2-b230-499a-a303-29bfe254c6bd.png)
37+
38+
2. Click 'Generate Schema'. It will automatically detect the schema like below:
39+
40+
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/qQgXOng6fMO38nDCoRsE/f6545fc7-e328-44af-8f32-700d442c7869.png)
41+
42+
3. Now you can create a Segment from these users. Navigate to Audience > Segments, and click 'Create Segment'.
43+
44+
4. Under the 'Segment Builder' section, add a new filter. Click 'Custom Attributes', then 'Nested Custom Attributes'.
45+
46+
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/qQgXOng6fMO38nDCoRsE/d0257d44-793c-4ceb-b81e-4a0d58019ff0.png)
47+
48+
5. Now you can filter to a specific group_name (true/false for gates, group name for experiments), or timestamp for your set of users. An example Segment filter for all users that have passed a specific gate is like below:
49+
50+
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/qQgXOng6fMO38nDCoRsE/20d71870-98bf-47b0-aa8d-e0aed4d7a2df.png)

docs/integrations/introduction.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ slug: /integrations/introduction
55
keywords:
66
- owner:brock
77
last_update:
8-
date: 2024-10-04
8+
date: 2025-04-22
99
---
1010

1111
_For Warehouse Integrations, go to this [page](/data-warehouse-ingestion/introduction)._
1212

1313
The following data connectors are available for use now, and we're adding more every week:
1414

1515
### Events
16+
1617
Forward any events logged via Statsig APIs or SDKs to the following providers:
18+
1719
- Segment
1820
- Snowflake
1921
- Amplitude
@@ -27,15 +29,19 @@ Forward any events logged via Statsig APIs or SDKs to the following providers:
2729
- RudderStack
2830
- Webhook
2931
- Google Tag Manager (GTM)
32+
- Braze
3033

3134
### Changelog
35+
3236
Update the following places when Feature Gates/Experiments/Dynamic Configs change:
37+
3338
- Datadog
3439
- Discord
3540
- LogDNA
3641
- Microsoft Teams
3742
- Slack
3843

3944
### Other
45+
4046
- Jira: track Statsig gate rollout status and A/B test results from Jira issues
4147
- Visual Studio Code: bring Statsig gates and experiments into your VSCode development environment

sidebars.ts

+1
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ const sidebars: SidebarsConfig = {
949949
{
950950
"Data Connectors": [
951951
"integrations/data-connectors/amplitude",
952+
"integrations/data-connectors/braze",
952953
"integrations/data-connectors/census",
953954
"integrations/data-connectors/fivetran",
954955
"integrations/data-connectors/google-analytics",

0 commit comments

Comments
 (0)