Attributes vs. Events
Quick Comparison
Attributes
Events
The Simple Rule
When to Use Attributes
Cueflow.init({
id: 'user-123',
// These are all ATTRIBUTES
plan: 'pro', // Current subscription
role: 'admin', // Current role
company: 'Acme Inc', // Company name
teamSize: 50, // Team size
onboardingComplete: true // Current state
});When to Use Events
Common Scenarios
Scenario
Attribute
Event
When to Use Both
Goal
Use
Targeting Differences
Attribute Targeting
Event Targeting
Decision Flowchart
Examples by Use Case
Onboarding
What you're tracking
Type
Code
Feature Adoption
What you're tracking
Type
Code
Subscriptions
What you're tracking
Type
Code
Summary
Remember
Attributes
Events
Last updated