Tracking Events
Bily provides a powerful event tracking system that helps you monitor user interactions on your website.Event Types
Bily supports various event types out of the box:Basic Event Tracking
To track an event, use thetrack function:
Event Payload
Each event can include additional data in its payload:Examples
Tracking Page Views
Tracking User Actions
Tracking Search Events
Client Identification
Bily automatically manages client identification using thegetBilyTrackingId() function:
Best Practices
- Always include relevant context in your event payloads
- Use consistent event names across your application
- Include client information when available
- Add custom properties that help analyze user behavior
Next Steps
- Learn about Client Identification
- Explore E-commerce Events
- Check out Custom Event Payloads