Capture user actions in FlagSync with Numeric and Property events.
track()
function, providing the core data that all Metrics rely on for analysis.
eventValue
to capture measurable data like time or counts for Numeric Metrics:
Why
Use Case
Example
properties
to capture rich context like purchase details for detailed Numeric Metrics:
Why
price
, “Discount Usage” from discount
) from one purchase_event
.Use Case
Example
purchase_event
to check if a 20% discount boosts $49.99 purchases or engages returning buyers.price
as the eventValue
?Properties let you track one purchase_event
and create separate metrics for price
, discount
, or other keys—more flexibility than a single number.See Metric Examples for more detail.signup-cta-click
) to match metrics.price
, discount
) to avoid clutter.