Concepts

Event roles and tags

When you assign a Role during event setup, you’re not setting a permanent category; you’re choosing a shorthand for the event’s tags. Tags are the actual mechanism: they tell the model what an event means, which decides which starter metrics get generated and how the event participates in activity. Roles exist so the common cases are one dropdown instead of a tagging exercise.

The four roles

RoleMeaningWhat it unlocks
UserA user actionCounts toward activity (DAU/MAU); the default
RegistrationThe preferred registration row on a user’s first dayCohorts, retention, LTV
PaymentCarries the transaction amountRevenue metrics
SystemSystem-triggered (push sent, server job)Nothing; deliberately excluded from activity so it can’t inflate DAU

Why System exists

The subtle one is System. A push notification delivery or a server-side job produces event rows, but no user did anything. If those rows counted toward activity, DAU would be inflated by infrastructure: users who received a push but never opened the game would look “active”. Tagging such events System keeps activity metrics honest, while the events remain available for analysis.

Choosing roles that matter

Two assignments carry most of the model:

  • Registration names the event that best describes a user’s start. It is not what makes a user exist (see How a user is registered), but when it is sent on the user’s first day, its timestamp and properties are the ones recorded, and the cohort, retention, and LTV packs build on it.
  • Payment anchors money. The event tagged Payment must carry the transaction amount; revenue, ARPDAU, ARPPU, and LTV read from it.

If either is missing or mis-assigned, the corresponding metric packs won’t appear during model building, and a hint card will point at the gap.

How a user is registered

A user is registered on their first appearance: the first day any user-activity event sees them. A Registration event is optional. On that first day it is the preferred row, so its timestamp and its registration properties win when it is sent; otherwise the user’s earliest user-activity row of the day is used. Registration properties (country, platform, and the like) take the first non-null value on that day, registration-event rows first.

This keeps DAU, MAU, and revenue counting every active user, including users whose registration event was never sent and users who were already playing before your data begins. Nothing is filtered out automatically. Each registration records which event it came from as the user.first_event property, so when you need to separate users registered by your registration event from the rest, filter or group on it.

Day 0 is normally that first day. If your events carry a column with when the user really started, tag that column “Install time”: the registration date (user.registration_date, and with it cohort day) then follows the install time, capped at the first appearance, and user.registration_time holds the time itself. A player who installed before your data begins lands in their real install cohort. The column must be a timestamp (a Unix-epoch integer needs its unit declared) on an event whose date is derived from its timestamp. Adding the tag to an existing model takes a publish and a rebuild of your history through backfill; installs and early-cohort numbers change after the rebuild. On a Firebase/GA4 export this column is user_first_touch_timestamp; see Who counts as a new user.

In your warehouse, the generated registrations table in the “Data model schema” carries the same values as asemic_first_event, asemic_registration_time, and asemic_registration_date.

Tags after setup

Roles are a setup-time convenience; tags stay editable per event afterwards. When an event’s meaning is unusual (a registration that can repeat, a payment that needs excluding), adjust its tags on the event rather than forcing a role to fit.

Columns carry tags too. “Registration property” exposes a column as a per-user attribute captured at registration, “Install time” declares the install timestamp described above, and “Transaction amount” marks the column that carries revenue on a payment event. The user id, timestamp, and date columns are exposed automatically and take no tags.

Which rows count is decided by the event’s row filter, not by its tags. A row the event’s where excludes is not that event anywhere: it does not make a user active, does not register them, and does not feed properties or charts. See Refine an event.