Analytics (Cocos)
The Cocos wrapper exposes a compact analytics surface: level start/end events. These are the events every game should send, and they drive the funnel dashboards on FRVR’s side.
Level funnel
Section titled “Level funnel”Always pair a levelStart with exactly one levelEnd for the same id. Incomplete pairs throw off completion‑rate dashboards.
Naming conventions
Section titled “Naming conventions”- Level ids:
snake_case, scoped (world1_level3, not justlevel3). - Game‑mode qualifiers: fold into the id (
endless_hard,daily_2026_04_24) rather than passing extra fields.
What you don’t have to do
Section titled “What you don’t have to do”- Don’t batch events yourself — the underlying SDK queues them.
- Don’t gate on consent — events queue until the CMP resolves, then dispatch or drop based on the result.
- Built‑in events (
page_loading,game_loaded,device_info) fire automatically.
Related
Section titled “Related”- Full event taxonomy, FTUE patterns, custom events,
logValuedEvent: Web SDK analytics. These are exposed by the underlying SDK but not surfaced through the current Cocos wrapper.