Analytics and environments
Understand SDK events, environment labels, overview filters, and what data OnboardingYak stores.
Events the SDK sends#
| Event | When it is recorded |
|---|---|
flow_started | A new onboarding session starts. |
screen_viewed | A screen becomes visible. |
screen_completed | The person advances past the screen. |
flow_completed | The person finishes or skips the onboarding. |
Event details and privacy#
Events include app ID, screen ID where relevant, session ID, flow version, build environment, runtime platform, and experiment variant where applicable. Answer text and selected responses are not sent as analytics events. The host app receives answer values through SDK callbacks and controls whether to store them.
Session identifiers are random for each onboarding and are used to count unique sessions. They aren’t tied to a person, an account, or the device’s advertising identifier. Do not place personal data in screen IDs or other fields intended for analytics.
Country#
OnboardingYak records the country each event came from as a two-letter code, such as FR or US. Our hosting provider looks it up from the connection’s IP address when the event arrives. Only the country code is stored. The IP address is not stored, and the SDK doesn’t read the device’s location or ask for any permission. Events from VPNs, private relays, or unknown networks show as Unknown.
The country reflects where the connection was, not the person’s App Store country, so travelers and VPN users can differ from purchase data.
App Store privacy details#
Apple counts data collected by SDKs as data your app collects. In App Store Connect, declare what OnboardingYak collects as follows:
| Data type | Used for | Linked to the user | Used for tracking |
|---|---|---|---|
| Coarse Location (country) | Analytics | No | No |
| Product Interaction (screens viewed and completed) | Analytics | No | No |
If your app has a PrivacyInfo.xcprivacy privacy manifest, add the same entries there and keep NSPrivacyTracking set to false for OnboardingYak’s data. Answers people type or choose stay in your app unless your own code sends them somewhere, so they don’t need an entry for OnboardingYak. On Google Play, declare the same data in the Data safety form as Approximate location and App interactions, collected for analytics and not shared.
See our privacy policy for how OnboardingYak handles this data.
Separate environments and platforms#
The SDK automatically labels development builds as development. Production builds default to production. Mark TestFlight and other pre-release builds as testing:
<Onboarding {...props} analyticsEnvironment="testing" />Every analytics event also gets a platform label from React Native: ios, android, or other for web and unsupported runtimes. Use the Overview platform selector to compare platforms; the Test data switch controls development and testing environments independently.
The Overview hides development and testing events by default. Turn on Test data when you want to include them in your totals.
View analytics#
Use the app’s Analytics section for starts, completions, completion rate, the screen funnel, starts and finishes by country, the latest onboarding sessions, and experiment results. In Recent onboardings, a session that hasn’t finished and has sent nothing for 30 minutes shows as Dropped off. Overview cards provide account-wide and app-specific summaries; selecting a card opens its detail screen. Data appears after the installed SDK runs and posts events.
AI clients can read the same app-level summary with MCP get_analytics. See MCP tools.