# Product event catalog (https://docs.open-e2ee.dev/signal-relay/event-catalog.md)

Catalog version: `signal-relay-funnel-v1`  
Reviewed: 2026-11-12

This catalog is non-authoritative. An event can explain onboarding and product behavior. It cannot authorize a request, calculate exact quota, create a message graph, or produce an invoice value.

## Privacy classes [#privacy-classes]

| Class | Identity boundary | Retention and deletion |
|---|---|---|
| Anonymous aggregate | No account, organization, project, device, visitor, session, cookie, or IP-address field. | The [privacy policy](https://open-e2ee.dev/legal/privacy#retention) sets the retention. No person identifier exists for a person-level deletion. |
| Project operational | Opaque project or organization handles only. No raw account, device, provider subject, message, attachment, group, certificate, or protocol identifier. | Planned. The OpenE2EE Signal Protocol Relay does not record these events yet. Authoritative billing, security, and deletion records follow their own policies. |

The identifier-free aggregate events in `signal-relay-funnel-v1` never join to a person, Organization, or project.

The separate discovery catalog below permits account attribution only after optional browser analytics consent.

OpenE2EE already keeps other analytics records about Relay usage, delivery, and presence, and about Console accounts and billing. OpenE2EE keeps each raw record for 380 days. A weekly job then deletes the older records. Summary tables do not expire. Deleting a project does not delete its analytics records.

## Website events active before Relay launch [#website-events-active-before-relay-launch]

| Event | Source | Bounded fields |
|---|---|---|
| `demo_run` | Home-page demo | event, path, count |
| `quickstart_open` | Website link | event, path, count |
| `runtime_select` | Runtime link | event, path, `expo` / `browser` / `node`, count |
| `install_copy` | Install-copy action | event, path, count |
| `guide_finish` | Article closing link | event, path, count |
| `github_open` | Repository link | event, path, count |
| `security_view` | Security page | event, path, count |
| `pricing_view` | Pricing page | event, path, count |
| `signup_start` | Console link | event, path, count |
| `enterprise_contact` | Enterprise contact link | event, path, count |

These events have no identifier and no cross-event deduplication. They are aggregate popularity signals. The demo records at most one `demo_run` for one page load and sends nothing about the typed text.

## Planned Signal Protocol Relay events [#planned-signal-protocol-relay-events]

Status: planned. Relay does not record these events yet.

Every project-operational event uses one stable event identifier from its authoritative transition. An exact retry cannot add another event. Common fields include the event name, stable event ID, UTC time, and optional opaque project or organization handles. An event can also contain one bounded plan, runtime, provider, guide, or outcome code.

| Journey | Events | Authoritative source |
|---|---|---|
| Learn and select | `quickstart_viewed`, `local_roundtrip_completed`, `provider_selected`, `runtime_selected`, `guide_selected` | Docs or Console selection boundary |
| Initialize | `control_operation_first_observed`, `project_files_initialized`, `account_created`, `organization_created`, `sandbox_environment_provisioned`, `device_registered_first` | A successful project setup or account change |
| Deliver | `managed_delivery_first_accepted`, `managed_delivery_first_acknowledged` | Relay's record that it accepted the message or that the recipient acknowledged it |
| Activate production | `production_activation_started`, `production_deploy_planned`, `production_deploy_confirmed`, `production_deploy_failed`, `production_deploy_completed` | Project policy and protected deploy result |
| Set up payment | `card_setup_started`, `card_setup_completed`, `card_setup_failed`, `card_setup_abandoned` | The Console and the card setup result |
| Reach a limit | `limit_warning`, `hard_cap_event` | Exact quota authority |
| Change plan | `upgrade_viewed`, `upgrade_previewed`, `upgrade_confirmed`, `upgrade_failed`, `upgrade_completed` | The Console and the plan change result |

The bounded plan IDs are `signal_relay_free_v1`, `signal_relay_hobby_v1`, `signal_relay_starter_v1`, `signal_relay_growth_v1`, `signal_relay_business_v1`, and `signal_relay_enterprise_v1`. An earlier analytics record names the same plan without the `signal_` prefix. A reader of the records counts both spellings of a plan ID as one plan. Runtime, provider, guide, and outcome values use reviewed allowlists. Free text is not allowed.

## Discovery and Console measurements [#discovery-and-console-measurements]

Catalog version: `discovery-v1`. Reviewed: 2026-11-02.

These measurements use PostHog in the United States. The [privacy notice](https://open-e2ee.dev/legal/privacy) describes the purposes, retention, recipients, and privacy rights.

### Optional browser analytics [#optional-browser-analytics]

Before acceptance, the browser does not initialize PostHog or send discovery events. Accept and reject have equal controls. The shared preference lasts 180 days across the website, docs, and the Console. PostHog uses a secure shared cookie, local storage, and auxiliary session storage after acceptance.

With acceptance, the Console can link the browser identifier to an opaque account identifier. It does not send an email, WorkOS identifier, Organization name, project identifier, token, payment detail, message, copied text, or search query.

| Event | Owner and source | Bounded fields and trigger |
|---|---|---|
| `$pageview` | Website, docs, or Console browser | Known public page or Console route template; one event per route change. The collector removes query strings and fragments. |
| `website_cta` | Website browser | Reviewed CTA name and optional runtime; the website owns this allowlist. |
| `docs_copy` | Docs browser | Code-copy button requested; no copied text or clipboard result. |
| `docs_search` | Docs browser | Search input focused; no query, result count, or selected text. |
| `docs_outbound` | Docs browser | Link requested to the website, the Console, or GitHub; no destination path. |
| `account_connected` | Console browser after authenticated identity response | First account connection on this browser identity; an existing account login is not a signup. |
| `$identify` | Console browser after authenticated identity response | Opaque account identifier plus the consented anonymous browser identifier. The only person properties are `internal` and `$internal_or_test_user`, both from the same server-derived boolean. |

Console and docs fields include `surface`, `page_path`, and server-derived `internal`. The SDK supplies event IDs, time, the project key, and bounded identity fields. Canonical URLs use sanitized routes. Referrers contain only an origin and domain. Session and window identifiers must be UUIDs.

Website fields also use its reviewed source and campaign allowlists. The collector removes unknown events and SDK properties before delivery. Validated identification reconstructs only `internal` and `$internal_or_test_user` person properties from the same authenticated server boolean. This supports report filters for earlier anonymous visits after linking. Impersonated sessions cannot identify the customer person. Identity refusal clears the active tracker without changing product access or the saved consent choice.

Admin, authentication, callback, payment, API, unknown resource, staging, preview, and local routes do not produce discovery events. Known Console project paths use a route template instead of the project identifier.

Open **Analytics preferences** on public docs or in the Console to reject or withdraw without signing in. Withdrawal removes browser analytics state and stops new optional events and account links. An event accepted before withdrawal can finish delivery. Account and product access stay available. Browser Do Not Track and Global Privacy Control block optional collection.

### Account-linked service analytics [#account-linked-service-analytics]

The authenticated Console server records `console_accessed` by default after it renders a Console entry. This is a service-use observation, not a signup or completed product action. It does not require browser analytics consent.

The event contains the same opaque account identifier, `surface=console`, and `source=server`. It contains no browser cookie, session identifier, referrer, page path, or raw account identifier. The collector excludes company, operator, and impersonated traffic. It also excludes staging, preview, and local deployments. Delivery has a finite timeout and cannot block product access.

A Console server render is one observation. Browser navigation can reuse the layout and produce no new observation. Counts do not establish unique sign-ins or exact active users. The browser does not emit `signup_completed`. Signout also rejects optional browser analytics. Accept again to resume browser attribution.

The server records `user_signed_up` only from a signature-verified WorkOS `user.created` webhook event. This names account creation, not a completed sign-in or product setup. The account identifier matches the Console pseudonym. The event contains a stable HMAC insert ID and the provider event time. Repeated provider deliveries use the same event identity. The collector excludes company email users.

Production collection requires a WorkOS `user.created` webhook subscription.

Withdrawal controls optional browser attribution. The privacy notice explains separate rights for account-linked service analytics, including objection and deletion requests. The existing onboarding service records and company data lake keep their separate contracts.

## CLI boundary [#cli-boundary]

The CLI sends no analytics beacon and contains no telemetry client. The planned `control_operation_first_observed` event comes from the first successful authenticated request to the service. It does not show that the user installed the package. The planned initialization event comes only after the service accepts an authenticated initialization request.
