Segment
Courier as a Segment Source
Use Courier as a Segment Source by adding your Segment write key to Courier’s config to track message and audience events—like “Message Sent” or “Audience User Matched”—directly in Segment.
Setting Up Courier as a Segment Source
- In Segment, navigate to the Sources page (under “Connections”).
- Select your framework of choice (e.g., Node.js).
- Obtain a write key. After adding Node.js as a source, you’ll see a page with instructions on how to add Segment to your Node.js codebase. Copy the write key from this page.
- In Courier’s Segment configuration, paste your Segment Write Key in the Segment write key input field.
After adding your Segment write key, Courier will send updates to Segment. Update events include messages being sent, opened, clicked, delivered, unroutable, and undeliverable.
Courier Events Sent to Segment
When Courier is set up as a Segment source, the following events can be tracked in Segment:
Message Events
Message Clicked
Message Delivered
Message Opened
Message Sent
Message Undeliverable
Message Unroutable
Audience Events
Audience User Matched
Audience User Unmatched