Analytics Module
Track custom events and user activity viabase44.analytics.
Contents
Methods
| Method | Signature | Description |
|---|---|---|
track(params) | void | Track a custom event |
Examples
Track Custom Event
Track User Actions
Automatic Tracking
The analytics module automatically tracks:- Initialization events: When the app loads
- Heartbeat events: Periodic activity signals
- Session duration: Time spent in the app
Best Practices
- Use descriptive event names:
order_completedinstead ofclick - Include relevant properties: Add context that helps analyze the event
- Be consistent: Use the same event names and property keys across your app
- Don’t track sensitive data: Avoid PII in event properties

