Analytics
The Detour platform provides a comprehensive analytics system that automatically tracks user engagement and link performance. By integrating the SDK, you gain access to deep insights into how users interact with your application.
Overview
Detour automatically collects statistics regarding:
- Link Clicks: Every interaction with a Detour-generated link is recorded.
- Matched Installations: The system tracks installations that result directly from a link click, providing accurate attribution.
You can view detailed performance metrics in the Detour Dashboard, filterable by:
- Application Level: Aggregate data for your entire project.
- Individual Links: Granular performance for specific marketing assets.
- Time Range: Flexible date selection to monitor trends over time.
Organic vs. Non-Organic Attribution
Detour distinguishes between different installation sources to help you measure the effectiveness of your campaigns:
- Non-Organic: Installations that the system successfully attributed to a specific click on a Detour link.
- Organic: Standard installations where no prior link interaction was detected by the SDK.
Manual Event Tracking
Beyond automatic tracking, you can log specific user behaviors using the DetourAnalytics module. This allows you to track the user journey through your conversion funnel.
Events are emitted via a global internal system and handled by the DetourProvider.
Example Usage
import { DetourAnalytics } from "@software-mansion-labs/react-native-detour";
// Simple event logging
DetourAnalytics.logEvent("login");
// Event logging with custom metadata
DetourAnalytics.logEvent("purchase", {
item: "subscription_premium",
currency: "USD",
});
Check the list of defined events here