Mixpanel Integration Reference

Contents

Introduction

Whenever events are generated, Radar will send custom events and user properties to Mixpanel. The full list of supported user properties and events is below.

User mapping

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

Radar User Field Mixpanel User Property Type Example Value
userId Distinct ID string "1"
location.coordinates[0] Radar Location Longitude number -76.350663
location.coordinates[1] Radar Location Latitude number 39.525665
_id Radar ID string "5b2c0906f5874b001aecfd8d"
updatedAt Radar Updated At timestamp "2018-06-22T15:23:39.000Z"
geofences[]._id Radar Geofence IDs array[string] ["5b2c0906f5874b001aecfd8e"]
geofences[].description Radar Geofence Descriptions array[string] ["Bel Air"]
geofences[].tag Radar Geofence Tags array[string] ["city"]
geofences[].externalId Radar Geofence External IDs array[string] ["bel-air"]
place._id Radar Place ID string "59302bcf8f27e8a156bd4f91"
place.name Radar Place Name string "Target Bel Air"
place.facebookId Radar Place Facebook ID string "141162456060553"
place.categories Radar Place Categories array[string] ["shopping-retail"]
place.chain.slug Radar Place Chain Slug string "target"
place.chain.name Radar Place Chain Name string "Target"
insights.state.home Radar Insights State Home boolean false
insights.state.office Radar Insights State Office boolean false
insights.state.traveling Radar Insights State Traveling boolean true

Event mapping

Radar Event Mixpanel Event
user.entered_geofence Radar Geofence Entered
user.exited_geofence Radar Geofence Exited
user.entered_place Radar Place Entered
user.exited_place Radar Place Exited
user.entered_home Radar Home Entered
user.exited_home Radar Home Exited
user.entered_office Radar Office Entered
user.exited_office Radar Office Exited
user.started_traveling Radar Traveling Started
user.stopped_traveling Radar Traveling Stopped

Radar Geofence Entered

Radar Event Field Mixpanel Event Property Type Example
geofence._id Geofence ID string "5b2c0906f5874b001aecfd8e"
geofence.description Geofence Description string "Bel Air"
geofence.tag Geofence Tag string "city"
geofence.externalId Geofence External ID string "bel-air"
confidence Confidence string "high"

Radar Geofence Exited

Radar Event Field Mixpanel Event Property Type Example
geofence._id Geofence ID string "5b2c0906f5874b001aecfd8e"
geofence.description Geofence Description string "Bel Air"
geofence.tag Geofence Tag string "city"
geofence.externalId Geofence External ID string "bel-air"
confidence Confidence string "high"
duration Duration number (minutes) 42.1

Radar Place Entered

Radar Event Field Mixpanel Event Property Type Example
place._id Place ID string "59302bcf8f27e8a156bd4f91"
place.name Place Name string "Target Bel Air"
place.facebookId Place Facebook ID string "141162456060553"
place.chain.slug Place Chain ID string "target"
place.chain.name Place Chain Name string "Target"
place.categories Place Categories array[string] ["shopping-retail"]
confidence Confidence string "high"

Radar Place Exited

Radar Event Field Mixpanel Event Property Type Example
place._id Place ID string "59302bcf8f27e8a156bd4f91"
place.name Place Name string "Target Bel Air"
place.facebookId Place Facebook ID string "141162456060553"
place.chain.slug Place Chain ID string "target"
place.chain.name Place Chain Name string "Target"
place.categories Place Categories array[string] ["shopping-retail"]
confidence Confidence string "high"
duration Duration number (minutes) 42.1

Radar Home Entered

Radar Event Field Mixpanel Event Property Type Example
confidence Confidence string "high"

Radar Home Exited

Radar Event Field Mixpanel Event Property Type Example
confidence Confidence string "high"

Radar Office Entered

Radar Event Field Mixpanel Event Property Type Example
confidence Confidence string "high"

Radar Office Exited

Radar Event Field Mixpanel Event Property Type Example
confidence Confidence string "high"

Radar Traveling Started

Radar Event Field Mixpanel Event Property Type Example
confidence Confidence string "high"

Radar Traveling Stopped

Radar Event Field Mixpanel Event Property Type Example
confidence Confidence string "high"