Events
Overview
Events are the foundational building blocks of the Lynes Loyalty system. They represent specific user actions or interactions within your application that you want to track, reward, or analyze.
What are Events?
Events capture meaningful user activities such as:
- User registrations and logins
- Content consumption (watching videos, reading articles)
- Purchases and transactions
- Social interactions (sharing content, inviting friends)
- Feature usage (commenting, uploading content)
- Milestone achievements
Every aspect of the loyalty and gamification system is built upon these events - from point accumulation to streaks, challenges, and analytics.
Why Events Matter
Events are crucial because they:
- Drive Rewards: Determine when and how users earn points
- Enable Gamification: Power features like streaks, challenges, and leaderboards
- Provide Insights: Offer valuable data on user behavior and engagement
- Create Personalization: Allow for tailored experiences based on activity
- Track Progress: Measure user advancement through your platform
Creating and Managing Events
Events can be created and configured in the dashboard with various settings:
- Different event types (Fix, Conditional, Transactional)
- Reward structures
- Completion limits
- User group specific settings
For detailed information on event configuration options, see the Event Settings page.
Event Implementation
To integrate events into your application:
- Create the event in the dashboard with appropriate settings
- Implement event tracking in your application code
- Send event data to our system via the event logging endpoint
When your application sends an event, our system automatically:
- Validates the event against configured rules
- Awards appropriate points (if applicable)
- Updates related challenges and streaks
- Records the activity for analytics
- Triggers any dependent gamification features
Event Types and Use Cases
Events can be used for both direct rewards and broader gamification:
Reward-Based Events
Events that directly award points to users based on their actions.
Tracking-Only Events
Events that don't award points but track behaviors for:
- Building streaks
- Contributing to challenges
- Analyzing user journeys
- Creating behavioral profiles
By thoughtfully designing your event structure, you can create engaging experiences that drive user behavior while gathering valuable insights about your audience.