Braze Source
Braze is a marketing automation and customer engagement platform. Growth, Engagement, and Marketing teams use Braze to build great long term relationships with their customers across key digital channels.
Take your company’s marketing and customer engagement to the next level by adding Braze as a Segment Source, using Braze’s Currents product. Segment automatically collects marketing and analytics events, forwards them to your destinations, and loads them into your data warehouse.
In your favorite BI or analytics tool, you’ll be able to analyze your mobile, email, and web marketing campaign data in SQL or using drag-and-drop reports. You’ll be able to join your Braze data with the event data you’re already sending through Segment to analyze the impacts of your marketing and engagement programs.
Braze maintains this source. For any issues with the source, you can contact the Braze Support team.
If you’re interested in using Braze, contact your Braze Customer Success Manager. Braze Currents is only available in select Braze packages and can’t be configured without assistance from the Braze team.
Getting Started
- Go to Connections > Sources and click Add Source in the Segment app.
- Search for Braze in the Sources Catalog and click Add Source.
- Give the Source a nickname and click Add Source.
The nickname is used as a label for the source in your Segment interface, and Segment creates a related schema name. The schema name is the namespace you’ll query against in a warehouse. The nickname can be anything, but Segment recommends sticking to something that reflects the source itself and distinguishes amongst your environments (for example,
Braze_Prod
,Braze_Staging
,Braze_Dev
). - Copy the Write Key on the Overview page.
- To finish the setup, contact Braze Support or your Customer Support Manager to activate Currents in Braze. Braze Currents is only available in select Braze packages and can’t be configured within Braze without assistance from your Braze Customer Success representative.
- Go back to Segment and click Add Destinations in your Braze source to add the destinations where you want to receive your Braze data.
Events are now sent to these destinations and automatically loaded into any warehouses you enabled.
The Braze Segment Currents integration doesn’t isolate events by different apps in a single app group. If you create more than 1 of the same Currents connectors (for example, 2 message engagement event connectors), they must be in different app groups. If you don’t do this, it leads to data deduping and lost data.
Components
Stream Braze uses Segment’s stream Source component to send events to Segment. These events are then available in any Destination that accepts server-side events, including your data warehouse.
Events
Below is a table of events that Braze sends to Segment. These events show up as tables in your Warehouse, and as regular events in your other Destinations.
Event Name | Description |
Application Uninstalled | User uninstalled the App. |
Email Sent | An email was successfully sent |
Email Delivered | An email was successfully delivered to a User’s mail server. |
Email Opened | User opened an email. |
Email Link Clicked | User clicked a link in an email. Email click tracking must be enabled. |
Email Bounced | Braze attempted to send an email, but the User’s receiving mail server did not accept it. |
Email Soft Bounced | Braze attempted to send an email, but the User’s receiving mail server temporarily bounced it. (Reasons may include: inbox full, server down, etc.) |
Email Marked As Spam | User marked an email as spam. |
Email Unsubscribed | User clicked the unsubscribe link in an email. |
Subscription Group State Changed | User’s subscription group state changed to Subscribed or Unsubscribed |
Push Notification Sent | A push notification was successfully sent |
Push Notification Tapped | User tapped on a push notification. |
Push Notification Bounced | Braze was not able to send a push notification to this User. |
iOS Foreground Push Opened | User received a push notification on iOS while the app was open. |
In-App Message Viewed | User viewed an in-app message. |
In-App Message Clicked | User tapped or clicked a button in an in-app message. |
News Feed Viewed | User viewed the native Braze News Feed. |
News Feed Card Viewed | User viewed a Card within the native Braze News Feed. |
News Feed Card Clicked | User tapped or clicked on a Card within the native Braze News Feed. |
Webhook Sent | A webhook message was sent. |
Campaign Converted | User performed the primary conversion event for a Campaign within its conversion window. |
Canvas Converted | User performed the primary conversion event for a Canvas within its conversion window. |
Canvas Entered | User was entered into a Canvas. |
Campaign Control Group Entered | User was enrolled in a Campaign control group. |
Braze Event Properties
Below are tables outlining the properties included in the events listed above.
Property Name | Type | Description |
app_id |
string | The API Identifier of the App on which a user received a message or performed an action, if applicable. |
send_id |
string | The id of the message if specified for the campaign, if applicable. |
campaign_id |
string | The API Identifier of the Campaign associated with the event, if applicable. |
canvas_id |
string | The API Identifier of the Canvas associated with the event, if applicable. |
canvas_variation_id |
string | The API Identifier of the Canvas Variation associated with the event, if applicable. |
canvas_step_id |
string | The API Identifier of the Canvas Step associated with the event, if applicable. |
context.traits.email |
string | For Email events, the email address that the email was sent to. |
button_id |
string | For In-App Message Clicked events, the ID of the button the user clicked on. |
card_id |
string | For News Feed Card Viewed and News Feed Card Clicked events, the API Identifier of the News Feed Card. |
Braze will send the Braze external_user_id
as the top level userId
field. This is the same userId
that Braze originally receives from the downstream destination with Segment. Braze will only send events associated with users who have an external_user_id
set.
Adding Destinations
Now that your Source is set up, you can connect it with Destinations.
Log in to your downstream tools and make sure that the events are populating in your Debugger, and that they contain all of the properties you expect. If something isn’t working as you expect, see the Destination docs for troubleshooting.
If there are problems with how the events arrive to Segment, contact the Braze team.
Sending Data To Braze
The Braze Source works better when you also connect Braze as a Destination. With the Braze Destination, you can use Segment to send event data to Braze in order to target customers with messaging campaigns. Want to start sending data TO Braze? Head on over to our Braze docs.
This page was last modified: 16 Aug 2021
Need support?
Questions? Problems? Need more info? Contact Segment Support for assistance!