Skip to main content
The Segment integration is available on the Enterprise plan.
Radar can send events and user traits to Segment as a source. Segment can send those events and user traits to your warehouse and to hundreds of destinations. Use the Segment integration to forward location events and user context to any destinations or to build location-based user segments with Personas.

Configuration

In Segment, add Radar as a source and copy your write key. Then, on the Radar Integrations page under Segment Source, set Enabled to Yes and paste your write key. Note that you can set separate write keys for the Test and Live environments. Whenever events are generated, Radar will call track and identify to send events and user traits to Segment. By default, Radar userId maps to Segment userId for logged in users, and Radar deviceId maps to Segment anonymousId for logged out users. However, you can specify custom mappings by setting Radar metadata.segmentUserId or metadata.segmentAnonymousId. For example, on iOS:

User mapping

Note that Radar uses the special string "(null)" to represent null user trait values.

Event mapping

Geofence Entered

Geofence Exited

Dwelled in Geofence

Place Entered

Place Exited

Country Entered

Country Exited

State Entered

State Exited

DMA Entered

DMA Exited

Trip Started

Trip Updated

Trip Approaching Destination

Trip Arrived Destination

Trip Stopped

Beacon Entered

Beacon Exited