Set up a project and its environments
Sign in to the Radar dashboard and open the Settings page for your project. Every project has two environments, Test and Live, and the dashboard shows data for the one you select. Do all integration work in Test. Use a separate project when two apps must not share geofences, settings, keys, or user data.Choose the right API key
Each environment has its own data and its own pair of keys.
Keys are on the Settings page under API keys, visible to the Admin and Owner roles.
- Publishable keys: Safe to ship in client code. They can call only the endpoints marked
Publishablein the API reference. - Secret keys: Can read and write project data. Load them from a secret store or environment variable, and never put one in a mobile app, a web page, or a source repository.
Authorization header:
Restrict where publishable keys can be used
On the Settings page:- Under Website restrictions, add the domains allowed to use your publishable keys. Wildcards are supported, for example
example.com,*.example.com, andlocalhost:8080. - Under Mobile restrictions, add the iOS bundle IDs and Android package names allowed to use them, for example
com.example.app. Wildcards aren’t supported.
Rotate a key
Only an Owner can reset a key: under API keys, click Reset key. A reset replaces the key, so replacing a publishable key can require an app release. Rotate a secret key immediately if it appears in client code, logs, a ticket, or a source repository.Use auth tokens instead of a publishable key
For verified location checks, you can initialize the SDK with a short-lived auth token that your backend signs, instead of a publishable key. Auth tokens must be enabled for your project. See Authenticate the SDK with auth tokens.Sign in to the dashboard
- Email and password: Passwords need at least 10 characters with upper-case and lower-case letters, a number, and a symbol.
- Multi-factor authentication (MFA): Turn it on from the Account page, with an authenticator app or SMS.
- Single sign-on (SSO): Available on the Enterprise plan, with SAML, LDAP, OpenID, and other identity providers. Your Radar account team turns it on.
Invite teammates
You need the Admin or Owner role. On the Organization page, click Invite, enter the teammate’s email, and select a Role. For Read and Write accounts, select Environment access: Test, Live, or Test and live. Deleting an account ends its dashboard sessions.Roles and what each can do
Each built-in role includes everything the role before it can do.
Owners can edit any other account’s role and project access, and only an Owner can delete another Owner’s account. No account can change its own role.
Limit access to location data with custom roles
On the Enterprise plan, create a custom role in the Roles section of the Organization page. It sets a base access level, environment access, access to user and trip locations, and geofence access by tag and external ID.Review account activity with audit logs
On the Enterprise plan, audit logs record each request made from the dashboard with the account, project, environment, IP address, and timestamp. You can export them to CSV.Identify the users in your app
AfterRadar.initialize(), call Radar.setUserId() with your own stable ID as soon as you know who the user is. Until then, Radar identifies the device by installId and deviceId.
userId across app sessions. It appears as External ID in the dashboard.
Handle login, logout, and user switching
CallRadar.setUserId() with the new ID whenever a user logs in. A different user who logs in on the same device gets their own user record.
userId is nullable. At logout, you can clear it by passing nil in Swift or null in Kotlin, or by calling Radar.setUserId() with no argument in JavaScript.
How Radar counts users
- User record: One exists for each unique combination of
installId,deviceId, anduserId. - Tracked user: A unique user that sends one or more location events to Radar in a given period.
- Active user: A unique user with an app session in a given period. A new app session starts when the app is opened and at least 5 minutes have passed since the last session started.
Control what data Radar keeps
What the SDK collects
By default the SDK collects location, device IDs, IP address, and device information. Radar also stores any user ID and metadata you choose to send. The SDK calls the Radar API over HTTPS with TLS 1.2 or later.Find and change data retention
Retention settings are on the Privacy page, under Data retention. New projects start with these values:
On the Enterprise plan, an Owner can select a different period for each data type. Settings apply to both Test and Live and can take up to 24 hours to take effect. On some accounts, retention is managed by Radar and the controls are read-only.
Export data
Export one user with their events and locations from the user detail page. Export lists of locations, users, events, geofences, and trips from the dashboard. Every list except locations requires the Write role or above. For scheduled exports, see Create, save, and subscribe to reports.Delete data
Delete a user from the user detail page, or with the Users API. Deletion is immediate.Security and compliance
- Radar maintains SOC 1 Type II and SOC 2 Type II attestations. You can request the most current reports in the Radar Trust Center at trust.radar.com.
- Radar supports CCPA and GDPR requests through the export and delete controls.
- To report a potential vulnerability, email security@radar.com.