Leverage context data to build social-first mini applications that adapt to user entry points and drive viral growth
Use Case | Benefit |
---|---|
Personalized UX | Customize interface based on user identity and entry point |
Viral Optimization | Track and optimize discovery paths for growth |
Platform Adaptation | Adjust functionality for different host platforms |
Social Engagement | Leverage social context for community features |
User Object Properties
Client Object Properties
Access Context Data
useMiniKit()
hook to access context:Create Context-Driven Experiences
Implement Safe Area Support
Add Social Features
Metric | Context Source | Optimization Goal |
---|---|---|
Cast Embed Launches | location.type === 'cast_embed' | Maximize viral sharing |
Return User Rate | location.type === 'launcher' | Improve retention |
Share Attribution | cast.author data | Identify top advocates |
Platform Performance | client.platformType | Optimize for mobile/desktop |
useMiniKit()
to your main component and validate context data