Overview
The referrer package is a Flutter plugin that enables apps to retrieve referrer information from incoming deep links on Android and iOS. It provides access to data such as the source URL, campaign details, and referral identifiers, which are useful for tracking user acquisition and marketing campaigns. The plugin integrates seamlessly with Flutter's deep linking capabilities, offering a straightforward API to extract referrer data during app launches or link handling. It supports both Android and iOS platforms, ensuring cross-platform consistency in referrer detection.
Use cases
- Tracking user acquisition sources
- Analyzing marketing campaign performance
- Enabling personalized onboarding based on referral
- Supporting deep link analytics
- Integrating with third-party analytics tools
Key features
- Cross-platform support (Android & iOS)
- Simple API for accessing referrer data
- Retrieves source URLs and campaign info
- Works with deep link launches
- Lightweight and easy to integrate
Suitable for
- Marketing teams tracking referrals
- Apps using deep linking for user engagement
- Analytics-driven applications
- Mobile apps with referral programs
- Developers needing referrer context at launch
Considerations
- Requires proper setup in Android/iOS manifest files
- Limited to referrer data available from platform
- Does not handle all deep link scenarios
- Privacy considerations around tracking
- Depends on platform-level referrer delivery