Analytics module for tracking custom events in your app. Use this module to track specific user actions. Track things like button clicks, form submissions, purchases, and feature usage.
Analytics events tracked with this module appear as custom event cards in the Analytics dashboard.
- Choose clear, descriptive event names in snake_case like
signup_button_clickorpurchase_completedrather than generic names likeclick. - Include relevant context in your properties such as identifiers like
product_id, measurements likeprice, and flags likeis_first_purchase.
base44.analytics).
Methods
track()
track(Tracks a custom event that appears as a card in your Analytics dashboard. Each unique event name becomes its own card showing total count and trends over time. This method returns immediately and events are sent in batches in the background.params):void
Parameters
Event parameters.
Properties
Properties
Returns
void

