Radar can send events to Branch .
Use the Branch integration to attribute offline actions to online campaigns and measure the ROI of location-based features.
Configuration# On the Branch Account Settings page under Profile , copy your Branch key.
Then, on the Radar Integrations page under Branch , set Enabled to Yes and paste your key. Note that you can set separate keys for the Test and Live environments.
Whenever events are generated, Radar will send custom events to Branch.
User mapping# Radar deviceId maps to idfv for iOS devices and android_id for Android devices in Branch. For web devices, set Radar metadata.branchFingerprintId to the Branch Browser Fingerprint Id.
branch . getBrowserFingerprintId ( function ( err , data ) { Radar . setMetadata ( { 'branchFingerprintId' : data } ) ; } ) ; Copy Event mapping# Radar Event Context Type Branch Event user.entered_geofenceGeofences entered_geofenceuser.exited_geofenceGeofences exited_geofenceuser.dwelled_in_geofenceGeofences dwelled_in_geofenceuser.entered_placePlaces entered_placeuser.exited_placePlaces exited_placeuser.entered_region_countryRegions entered_countryuser.exited_region_countryRegions exited_countryuser.entered_region_stateRegions entered_stateuser.exited_region_stateRegions exited_stateuser.entered_region_dmaRegions entered_dmauser.exited_region_dmaRegions exited_dmauser.started_tripTrip Tracking started_tripuser.updated_tripTrip Tracking updated_tripuser.approaching_trip_destinationTrip Tracking approaching_trip_destinationuser.arrived_at_trip_destinationTrip Tracking arrived_at_trip_destinationuser.stopped_tripTrip Tracking stopped_tripuser.entered_beaconBeacons entered_beaconuser.exited_beaconBeacons exited_beacon
entered_geofence# Radar Event Field Branch Event Property Type Example Value geofence._idgeofence_idstring "5b2c0906f5874b001aecfd8e"geofence.descriptiongeofence_descriptionstring "Store #123"geofence.taggeofence_tagstring "store"geofence.externalIdgeofence_external_idstring "123"geofence.metadata[{key}]geofence_metadata_{key}{type} {value}confidenceconfidencestring "high"foregroundforegroundboolean true
If Regions is enabled, Radar will also send the following attributes:
Radar Event Field Branch Event Property Type Example Value country.codecountry_codestring "US"country.namecountry_namestring "United States"state.codestate_codestring "MD"state.namestate_namestring "Maryland"dma.codedma_codestring "26"dma.namedma_namestring "Baltimore"postalCode.codepostal_codestring "21014"
exited_geofence# Radar Event Field Branch Event Property Type Example Value geofence._idgeofence_idstring "5b2c0906f5874b001aecfd8e"geofence.descriptiongeofence_descriptionstring "Store #123"geofence.taggeofence_tagstring "store"geofence.externalIdgeofence_external_idstring "123"geofence.metadata[{key}]geofence_metadata_{key}{type} {value}confidenceconfidencestring "high"durationdurationnumber (minutes) 42.1foregroundforegroundboolean true
If Regions is enabled, Radar will also send the following attributes:
Radar Event Field Branch Event Property Type Example Value country.codecountry_codestring "US"country.namecountry_namestring "United States"state.codestate_codestring "MD"state.namestate_namestring "Maryland"dma.codedma_codestring "26"dma.namedma_namestring "Baltimore"postalCode.codepostal_codestring "21014"
dwelled_in_geofence# Radar Event Field Branch Event Property Type Example Value geofence._idgeofence_idstring "5b2c0906f5874b001aecfd8e"geofence.descriptiongeofence_descriptionstring "Store #123"geofence.taggeofence_tagstring "store"geofence.externalIdgeofence_external_idstring "123"geofence.metadata[{key}]geofence_metadata_{key}{type} {value}confidenceconfidencestring "high"durationdurationnumber (minutes) 5foregroundforegroundboolean true
If Regions is enabled, Radar will also send the following attributes:
Radar Event Field Branch Event Property Type Example Value country.codecountry_codestring "US"country.namecountry_namestring "United States"state.codestate_codestring "MD"state.namestate_namestring "Maryland"dma.codedma_codestring "26"dma.namedma_namestring "Baltimore"postalCode.codepostal_codestring "21014"
entered_place# Radar Event Field Branch Event Property Type Example Value place._idplace_idstring "59302bcf8f27e8a156bd4f91"place.nameplace_namestring "Starbucks"place.chain.slugplace_chain_idstring "starbucks"place.chain.nameplace_chain_namestring "Starbucks"place.chain.externalIdplace_chain_external_idstring "123"place.chain.metadata[{key}]place_chain_metadata_{key}{type} {value}place.categoriesplace_categoriesstring (comma-separated) "food-beverage,cafe,coffee-shop"confidenceconfidencestring "high"foregroundforegroundboolean true
If Regions is enabled, Radar will also send the following attributes:
Radar Event Field Branch Event Property Type Example Value country.codecountry_codestring "US"country.namecountry_namestring "United States"state.codestate_codestring "MD"state.namestate_namestring "Maryland"dma.codedma_codestring "26"dma.namedma_namestring "Baltimore"postalCode.codepostal_codestring "21014"
exited_place# Radar Event Field Branch Event Property Type Example Value place._idplace_idstring "59302bcf8f27e8a156bd4f91"place.nameplace_namestring "Starbucks"place.chain.slugplace_chain_idstring "starbucks"place.chain.nameplace_chain_namestring "Starbucks"place.chain.externalIdplace_chain_external_idstring "123"place.chain.metadata[{key}]place_chain_metadata_{key}{type} {value}place.categoriesplace_categoriesstring (comma-separated) "food-beverage,cafe,coffee-shop"confidenceconfidencestring "high"durationdurationnumber (minutes) 42.1foregroundforegroundboolean true
If Regions is enabled, Radar will also send the following attributes:
Radar Event Field Branch Event Property Type Example Value country.codecountry_codestring "US"country.namecountry_namestring "United States"(/regions)state.codestate_codestring "MD"state.namestate_namestring "Maryland"dma.codedma_codestring "26"dma.namedma_namestring "Baltimore"postalCode.codepostal_codestring "21014"
entered_country# Radar Event Attribute Branch Event Property Type Example Value region.coderegion_codestring "US"region.nameregion_namestring "United States"confidenceconfidencestring "high"foregroundforegroundboolean true
exited_country# Radar Event Attribute Branch Event Property Type Example Value region.coderegion_codestring "US"region.nameregion_namestring "United States"confidenceconfidencestring "high"foregroundforegroundboolean true
entered_state# Radar Event Attribute Branch Event Property Type Example Value region.coderegion_codestring "MD"region.nameregion_namestring "Maryland"confidenceconfidencestring "high"foregroundforegroundboolean true
exited_state# Radar Event Attribute Branch Event Property Type Example Value region.coderegion_codestring "MD"region.nameregion_namestring "Maryland"confidenceconfidencestring "high"foregroundforegroundboolean true
entered_dma# Radar Event Attribute Branch Event Property Type Example Value region.coderegion_codestring "26"region.nameregion_namestring "Baltimore"confidenceconfidencestring "high"foregroundforegroundboolean true
exited_dma# Radar Event Attribute Branch Event Property Type Example Value region.coderegion_codestring "26"region.nameregion_namestring "Baltimore"confidenceconfidencestring "high"foregroundforegroundboolean true
started_trip# Radar Event Attribute Branch Event Property Type Example Value trip.externalIdtrip_external_idstring "299"trip.metadata[{key}]trip_metadata_{key}{type} {value}trip.destinationGeofenceTagtrip_destination_geofence_tagstring "store"trip.destinationGeofenceExternalIdtrip_destination_geofence_external_idstring "123"foregroundforegroundboolean true
updated_trip# Radar Event Attribute Branch Event Property Type Example Value trip.externalIdtrip_external_idstring "299"trip.metadata[{key}]trip_metadata_{key}{type} {value}trip.destinationGeofenceTagtrip_destination_geofence_tagstring "store"trip.destinationGeofenceExternalIdtrip_destination_geofence_external_idstring "123"foregroundforegroundboolean true
approaching_trip_destination# Radar Event Attribute Branch Event Property Type Example Value trip.externalIdtrip_external_idstring "299"trip.metadata[{key}]trip_metadata_{key}{type} {value}trip.destinationGeofenceTagtrip_destination_geofence_tagstring "store"trip.destinationGeofenceExternalIdtrip_destination_geofence_external_idstring "123"foregroundforegroundboolean true
arrived_at_trip_destination# Radar Event Attribute Branch Event Property Type Example Value trip.externalIdtrip_external_idstring "299"trip.metadata[{key}]trip_metadata_{key}{type} {value}trip.destinationGeofenceTagtrip_destination_geofence_tagstring "store"trip.destinationGeofenceExternalIdtrip_destination_geofence_external_idstring "123"foregroundforegroundboolean true
stopped_trip# Radar Event Attribute Branch Event Property Type Example Value trip.externalIdtrip_external_idstring "299"trip.metadata[{key}]trip_metadata_{key}{type} {value}trip.destinationGeofenceTagtrip_destination_geofence_tagstring "store"trip.destinationGeofenceExternalIdtrip_destination_geofence_external_idstring "123"foregroundforegroundboolean true
entered_beacon# Radar Event Attribute Branch Event Property Type Example Value beacon._idbeacon_idstring "5b2c0906f5874b001aecfd8f"beacon.descriptionbeacon_descriptionstring "Store #123 - Drive-Thru"beacon.tagbeacon_tagstring "drive-thru"beacon.externalIdbeacon_external_idstring "123"beacon.metadata[{key}]beacon_metadata_{key}{type} {value}confidenceconfidencestring "high"foregroundforegroundboolean true
exited_beacon# Radar Event Attribute Branch Event Property Type Example Value beacon._idbeacon_idstring "5b2c0906f5874b001aecfd8f"beacon.descriptionbeacon_descriptionstring "Store #123 - Drive-Thru"beacon.tagbeacon_tagstring "drive-thru"beacon.externalIdbeacon_external_idstring "123"beacon.metadata[{key}]beacon_metadata_{key}{type} {value}confidenceconfidencestring "high"durationdurationnumber (minutes) 1.42foregroundforegroundboolean true