Guides

Standard event schema for public and signed-in funnel

Use one v1 envelope for every marketing and quality event, so a page view, a call to action, sign-in, workspace creation, a question outcome, and a rating can be joined in one funnel. The checker on this page maps legacy payloads to the canonical form and shows the dedupe key and week bucket for each payload. Nothing entered here is sent to a server.

Audit findings this schema closes

Each row names a defect in the current pack and the v1 rule that closes it. No row adds a new event name beyond the names already stated in the pack.

Defect, evidence in this pack, and v1 rule
DefectEvidencev1 rule
Same value, three field namesQuality events use rating, outcome, and result_bucket, while aggregate and CSV use helpful, not_helpful, unanswered, no_result_searches, and with_result_searchesKeep the three per-event field names. Map aggregate names at report time only. Never emit a field named value
Surface driftDemo code emits surface guides, while the allowed list and normalizer still accept weekly-quality-rate-guide. Signed-in spec uses workspace as a surfaceSurface enum is marketing, guides, terminology, widget, or app. weekly-quality-rate-guide maps to guides and is retired. workspace maps to app and is retired as a surface
Time drift and no orderPayloads used week, ts, and week_starting_monday_utc in different places, with no occurred timestamp after ts was removedoccurred_at_utc is required in ISO 8601 form ending in Z. week_starting_monday_utc is derived from it at report time. ts and week are retired
Context loss at the funnel boundaryQuality payloads carry workspace, assistant, and channel as null on the public demo and carry no source page, referrer class, campaign snapshot, anonymous identifier, or session identifier, so they cannot join to page view or call to action eventsEvery event carries anonymous_id, session_id, source_page, referrer_class, and the allowlisted campaign snapshot. Client events always carry workspace, assistant, and channel as null. Signed-in values are filled from the record at report time and are never taken from a client payload
Duplicate firing and dual source of truthDemo aggregate counts each rating click, while the spec says a changed rating replaces the earlier rating. Demo also dispatches a campus-quality custom event while the spec says derive each event from the record at report time and do not add a client beaconorigin is client or derived. Demo and browser payloads are client and are example only. Signed-in quality counts use derived events only. Each event carries a deterministic dedupe_key, and a rating change reuses the same dedupe_key so report time keeps the last rating
No version and no retry identityPayloads carry no schema version, and event_id is random per payload, so a collector cannot tell a retry from a new actionschema_version is 1. event_id is generated once per user action and is reused on retry with the same field values. A new field value creates a new event_id

v1 envelope, every event

A strict collector accepts only these keys, plus the allowlisted campaign keys and the one event-specific field for that event. An unknown key is a validation error, not a silent drop.

Envelope field, type, and rule
FieldType and rule
schema_versionInteger 1 on every event
event_idString, generated once per user action, reused on retry with the same field values. Never an account identifier and never a token
event_nameOne name from the catalogue below, in lower snake_case with the campus prefix
occurred_at_utcISO 8601 in UTC ending in Z, set when the action happens, not when the report runs
surfacemarketing, guides, terminology, widget, or app
anonymous_idRandom identifier created on the first opted-in event on the device, stored on the device only, rotated when device data is cleared. It is not an account identifier, not a session token, and never appears in a page address. Recording off means no identifier is created or sent
session_idRandom identifier for one browser session, stored in session storage only, cleared when the session ends
source_pagePathname only, starting with a slash, with no query string and no hash. A query string can hold search words and is never sent
referrer_classsame_site, external, or none. The full referrer address is never sent
workspace, assistant, channelClient events carry null for all three. Derived signed-in events carry workspace and assistant identifiers from the record, and channel as app or widget. A client value for any of these on a signed-in route is ignored
week_starting_monday_utcMonday date in YYYY-MM-DD form derived from occurred_at_utc. Signed-in rates convert this bucket to college local time and state the basis used
dedupe_keyDeterministic string per event in the catalogue. A collector keeps the last event per dedupe_key for rating and outcome events
is_testBoolean. Test and staff preview sessions carry true and are excluded from every rate, with the excluded count shown where the screen can count it
originclient for a browser payload, derived for a signed-in event derived from a record at report time. Rates use derived events only
utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_idOptional, allowlisted values only, each trimmed, at most 120 characters, letters, digits, dot, underscore, or hyphen only. Any other value is dropped and the dropped name only may be counted

Never in any event: question text, answer text, comment text, search words, source title, source link, passage, office contact detail, person name, email address, phone number, account identifier, student record detail, file content, file name, form field values, or a full referrer address.

Event catalogue

One row per event. Install events already named in site code keep their existing names and adopt this envelope without a rename in v1.

Event, fires once when, extra field, dedupe key, and measure fed
EventFires once whenExtra fieldDedupe keyMeasure fed
campus_page_viewA public page is shownNone beyond the envelopeevent_id only. Each load is a new viewReach by source page and campaign
campus_cta_clickA call to action to request a demo, sign in, try a sample, or use the widget is chosencta_target, one of request_demo, sign_in, try_sample, widgetevent_id only. The 800 millisecond duplicate guard is a user interface guard, not a collector ruleCall to action rate by target and campaign
campus_sign_in_startSign-in is started from a public pageNone beyond the envelopeanonymous_id, session_id, source_pageSign-in starts per session
campus_demo_request_startThe demo request form is startedNone beyond the envelope. No form value is sentanonymous_id, session_id, source_pageDemo starts per session
campus_workspace_createdA workspace is created in the signed-in app, derived on the serverNone beyond the envelope. The client payload carries no college name and no workspace identifierServer derived workspace identifier, held outside the client payloadWorkspace creation by campaign
campus_feedback_givenA helpful or not helpful rating is saved on an answer, derived from the answer recordrating, helpful or not_helpful, plus answer_id as an opaque identifier. No comment textanswer_id plus actor pseudonym, filled on the server. A changed rating reuses the key, so report time keeps the last ratingHelpful rate and weekly quality rate numerator
campus_answer_shownAn answer, a not-known message, a handoff offer, or an unavailable message is shown for a question, derived from the question recordoutcome, one of answered, not_answered, handed_off, unavailable, plus question_id as an opaque identifier. No question textquestion_id plus outcome, filled on the serverAnswered share, unanswered rate, handoff rate. Only not_answered feeds the weekly quality rate denominator. Unavailable stays separate
campus_guide_search_performedA search on guides, terminology, or workspace settles with a result or with no resultresult_bucket, no_result or with_result. No search words and no result count beyond the bucketevent_id only. Search words are never sent, so no word based key can be builtNo-result search rate and weekly quality rate denominator

Retired names and fields, never emit

Legacy name or field and its v1 replacement
Legacyv1 replacement
campus_answer_feedback, campus_answer_unanswered, campus_search_no_resultcampus_feedback_given, campus_answer_shown, campus_guide_search_performed
value as a shared field namerating, outcome, or result_bucket for that event
week, ts, nothelpful, noresult, withresultweek_starting_monday_utc, occurred_at_utc, not_helpful, no_result, with_result
weekly-quality-rate-guide as a surface, workspace as a surfaceguides, app

Example payloads

Counts and identifiers only. No question text, no search words, and no personal detail appear in any example.

{
'schema_version': 1,
'event_id': 'example-event-id',
'event_name': 'campus_cta_click',
'occurred_at_utc': '2026-11-07T12:00:00Z',
'surface': 'marketing',
'anonymous_id': 'example-anonymous-id',
'session_id': 'example-session-id',
'source_page': '/guides/weekly-quality-rate',
'referrer_class': 'external',
'workspace': null, 'assistant': null, 'channel': null,
'week_starting_monday_utc': '2026-11-02',
'dedupe_key': 'example-event-id',
'is_test': false, 'origin': 'client',
'cta_target': 'request_demo',
'utm_source': 'newsletter'
}
{
'schema_version': 1,
'event_id': 'example-derived-id',
'event_name': 'campus_feedback_given',
'occurred_at_utc': '2026-11-07T12:05:00Z',
'surface': 'app',
'anonymous_id': 'example-anonymous-id',
'session_id': 'example-session-id',
'source_page': '/app/',
'referrer_class': 'same_site',
'workspace': 'workspace-id-from-record',
'assistant': 'assistant-id-from-record',
'channel': 'app',
'week_starting_monday_utc': '2026-11-02',
'dedupe_key': 'answer-id-from-record',
'is_test': false, 'origin': 'derived',
'rating': 'helpful', 'answer_id': 'answer-id-from-record'
}

Check and normalize a payload on this page

Paste a payload as JSON, or load an example. The checker maps legacy field names, computes the week bucket, builds the dedupe key where the inputs allow it, and shows the normalized v1 payload. Nothing entered here is sent to a server and nothing is saved.

Paste a payload, then choose Check payload.

    Checks before you ship an event change

    Run each check with the same payload on the public page and in the signed-in app before you publish.

    • A legacy payload with value, week, ts, and surface weekly-quality-rate-guide normalizes to rating or outcome or result_bucket, week_starting_monday_utc, occurred_at_utc, and surface guides, with no legacy key left in the output
    • A rating change reuses the same dedupe_key, so report time counts one rating per answer. A retry with the same event_id and the same field values does not create a second count
    • A public payload with a client supplied workspace, assistant, or channel is rejected on the signed-in route and the derived event fills those fields from the record
    • A payload with question text, search words, a form value, an account identifier, or a full referrer address fails validation and is not recorded
    • Recording off, Do Not Track, Global Privacy Control, and CAMPUS_ANALYTICS_OPT_OUT suppress identifier creation, storage, and forwarding, and the status line states that choice
    • Test sessions carry is_test true, are excluded from every rate, and show the excluded count where the screen can count it
    • Unanswered, handed off, and unavailable outcomes stay in separate counts, and a zero denominator shows no measured outcomes in this range, not zero percent

    Follow Weekly quality rate for the rate definition, Metric dictionary for KPI definitions, and Read reports for counts by college and assistant.

    Next guide

    Read the numbers, then work the largest gap first.