0
/devs documentation v0.0.1-beta Tracking

SDK · v0.0.1-beta

Tracking

track() — GA4 events + events table. Aggregator pattern post-run.

Translation in progress. This page is not yet translated to English. The full reference is available in Spanish — see the Spanish version until we ship the English copy.

track(name, params) is the heart of the SDK’s analytics. Dispatches a custom event to:

  1. GA4 (via window.gtag('event', name, params)) — for ad-hoc analysis on the founder’s Looker Studio.
  2. Supabase events table (via the track-event edge function) — source of truth for custom SQL queries + per-event-segmented leaderboards.

The full API reference, the aggregator pattern (one fat event per run, not granular per-frame), and the event catalog are in the Spanish version.

Sign in to Jugafy

Save your scores, hit the leaderboard, and sync progress across devices.

Talk to us

Bug, idea, gripe — anything helps us make this better.