Skip to main content
דף זה הוא חלק ממיומנות של סוכן קידוד AI ונכתב לסוכנים, לא לבני אדם. לתיעוד Base44 הקריא לבני אדם, ראה את תיעוד המפתחים.

Analytics Module

Track custom events and user activity via base44.analytics.

Contents

Methods

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
These internal events help measure user engagement without manual instrumentation.

Best Practices

  1. Use descriptive event names: order_completed instead of click
  2. Include relevant properties: Add context that helps analyze the event
  3. Be consistent: Use the same event names and property keys across your app
  4. Don’t track sensitive data: Avoid PII in event properties

Type Definitions

דף זה תורגם באמצעות בינה מלאכותית. למידע המדויק והעדכני ביותר, עיין בגרסה האנגלית.