Analytics taxonomy from landing to answer
Use this page as the single list of tracked events for Campus Answers. It maps every existing event to the landing to sign-in to workspace to answer funnel, states the exact name, properties, and trigger for each event, and specifies the form and discovery actions that close the funnel without collecting personal details. This page adds no tracking by itself.
Audit: where instrumentation lives today
Three places hold events in this pack. They use different payloads and different counting rules, so a funnel count must be read per stage and never joined at person level.
Marketing pages
public/site.js holds events in memory on the page only, capped at 100, dispatched as a campus-analytics event. No network request, beacon, cookie, or storage is used. Do Not Track, Global Privacy Control, and CAMPUS_ANALYTICS_OPT_OUT suppress every event.
Signed-in app
Four events described on Reports are derived on the server from question, answer, and feedback records at report time. They are never sent to an outside tracker and headline counts come from the records, not from event delivery.
Public demo tools
The weekly quality rate guide and the try a sample page record outcomes in memory on the page only, capped at 100, with no server record. Their event names are reconciled in this page and are not a second taxonomy.
Funnel map: landing to answer
Read counts per stage. A later stage count is never divided by an earlier stage count to claim a person-level conversion, because no person key crosses the marketing to signed-in boundary.
| Stage | Canonical event | Source |
|---|---|---|
| 0 Landing | campus_page_view | Marketing page load in public/site.js |
| 1 Interest | campus_cta_click | Qualifying link or button click in public/site.js |
| 2 Demo intent | campus_demo_request_start | Link to request demo or demo form anchor, in addition to campus_cta_click |
| 3 Sign-in intent | campus_sign_in_start | Link to the app address, in addition to campus_cta_click |
| 4 Install | campus_install_start, campus_install_completed | Browser install offer and installed notice in public/site.js |
| 5 Sign-in completed | campus_sign_in_completed | Derived on server from a completed MAJIC sign-in record for the college company |
| 6 Workspace confirmed | campus_workspace_created | Reserved name, fired only by the signed-in app on workspace create or confirm, never by marketing pages |
| 7 Question submitted | campus_question_submitted | Derived on server from a submitted question record |
| 8 Answer viewed | campus_answer_viewed | Derived on server from the first presentation of an answer, not-known, handoff, or unavailable message for that question |
| 9 Follow-up asked | campus_followup_asked | Derived on server from a follow-up question record |
| 10 Feedback given | campus_feedback_given | Derived on server from a saved helpful or not helpful rating |
Core journey: anonymous visit to answer viewed
Use this table to measure the core journey without mixing segments. Marketing events count page loads and clicks. Signed-in events count college workspaces from server records. No person key crosses the marketing to signed-in boundary, so a marketing count is never divided by a signed-in count.
| Journey step | Exact event name | Exact properties | Trigger point | Deduplication key |
|---|---|---|---|---|
| Anonymous visit, page view | campus_page_view | Marketing payload only: event, page, ts, viewport_class, referrer_origin. Page is an allowlisted path with query and hash stripped, unknown as other. No tenant_id, no assistant_id, no event_id, no account id, no question text. | Once per public page load in public/site.js, after DOM load and after the opt-out check. Fires before any click on that load. | No dedup key. Count page loads in the cohort week, Monday to Sunday in college local time for the report label, with UTC stated where the page bucket uses UTC. |
| Activation, sign-in completed | campus_sign_in_completed | Signed-in common fields: event_name, schema_version 1, event_id, occurred_at in UTC with Z or null, tenant_id, assistant_id null, channel app, role or null, is_test. Extra: sign_in_record_id with no account id. Identifiers are strings passed back unchanged. | Server record of a completed MAJIC sign-in for the college company, derived at report time, not by a client beacon. Never fired from marketing pages. | event_id is sign_in_record_id plus event name. One count per distinct sign_in_record_id in the cohort. Deriving the same record twice gives the same event and the same count. |
| Activation, workspace confirmed | campus_workspace_created | Same signed-in common fields as above. Extra: workspace_record_id equal to tenant_id. No college name and no workspace id in the marketing payload shape, no account id. | Signed-in app creates or confirms a college workspace, derived from the workspace record at report time. Reserved marketing name is never fired from marketing pages. | event_id is tenant_id plus event name. Count distinct tenant_id values first confirmed ever, not per week. A later week for the same workspace adds no new count. |
| Workspace question, question asked | campus_question_submitted | Same signed-in common fields. Extra: question_record_id, is_followup true when turn_index is 2 or more. Also turn_index 1 for first question or 2 or more for follow-up, or null. No question text, no search words. | Once when a submitted question record is created on Ask or the website widget. Draft writing never submitted does not fire. Derived at report time. | event_id is question_record_id plus event name. One event per question record. Headline activation count is distinct tenant_id plus assistant_id pairs with at least one non-test question in the cohort. |
| Answer viewed | campus_answer_viewed | Same signed-in common fields. Extra: question_record_id, answer_record_id or null, outcome answered or not_answered or handed_off or unavailable, has_citation true or false, citation_count integer 0 or more. No answer text, no source title, no source link, no passage, no office contact detail. | Once per question when the first answer, not-known message, handoff offer, or unavailable message is presented to the signed-in person after the generation-time source check passes. Derived from the answer record at report time. It is the viewed counterpart to campus_answer_shown and uses the same trigger, so a reload or a history reopen does not add a second count. | event_id is question_record_id plus event name. One event per question record. Sourced-answer activation count is distinct tenant_id plus assistant_id pairs with outcome answered and has_citation true in the cohort. Unavailable stays separate from not_answered and is never counted as a source gap. |
- Marketing events carry no tenant_id, no assistant_id, and no event_id. Signed-in events carry those fields. A workspace count can never be read from a marketing count.
- No view duration, no repeat view count, and no source-link click is recorded for campus_answer_viewed. Citation count records sources listed under the answer, not whether a reader opened a link.
- When a denominator is zero, show no page views in this range, no sign-in completions in this range, no workspaces in this range, or no questions in this range, as fits the stage, never zero percent, with counts beside the rate.
- Test and staff preview sessions are labeled as test with is_test true and are excluded from headline counts. In session-only mode, a stage that needs kept records states not calculated in session-only mode. System view returns counts grouped by tenant_id only.
Canonical taxonomy: existing events
Marketing payloads carry event, page, ts, and allowlisted properties only: cta_id, destination, placement, viewport_class, referrer_origin, source_page, plus form_kind, attempt_bucket, validation_error_bucket, failure_type, surface, result_bucket, or outcome where the canonical form and discovery table states them. Page and destination are allowlisted paths with query and hash stripped, unknown paths as other. Signed-in payloads carry common fields event_name, schema_version 1, event_id, occurred_at in UTC, tenant_id, assistant_id, channel, role or null, is_test, turn_index or null, plus the extra fields in the tables.
| Event | Trigger | Extra properties beyond common fields |
|---|---|---|
| campus_page_view | Once per public page load | viewport_class, referrer_origin |
| campus_cta_click | Click on a qualifying header, hero, button, band, or footer link | cta_id, destination, placement, source_page |
| campus_sign_in_start | In addition to campus_cta_click when destination is the app address | cta_id, destination, placement, source_page |
| campus_demo_request_start | In addition to campus_cta_click when destination is request demo or the demo form anchor | cta_id, destination, placement, source_page |
| campus_demo_submitted | Server confirms the demo form send and the form is hidden with a confirmation, once per form per page load. This is the form_submit_success case where form_kind is demo. Use this name for the funnel count and campus_form_submit_success for the form funnel. | form_kind demo, source_page, attempt_bucket first or second or third |
| campus_install_start, campus_install_completed | Browser install offer, and installed notice | source_page |
| campus_sign_in_completed | Once per completed MAJIC sign-in record for the college company | sign_in_record_id with no account id |
| campus_workspace_created | Signed-in app creates or confirms a college workspace | workspace_record_id equal to tenant_id |
| campus_question_submitted | Once when a submitted question record is created. Draft writing never submitted does not fire | question_record_id, is_followup |
| campus_answer_shown | Once per question when an answer, not-known message, handoff offer, or unavailable message is shown | question_record_id, answer_record_id or null, outcome, has_citation, citation_count |
| campus_answer_viewed | Once per question for the same presentation as campus_answer_shown, used as the answer viewed funnel stage. Do not emit both names for the same presentation in one build. Prefer campus_answer_viewed for the funnel and keep campus_answer_shown as the alias where Reports already uses it. | question_record_id, answer_record_id or null, outcome, has_citation, citation_count. Same extra fields as campus_answer_shown |
| campus_followup_asked | Once when a follow-up question record is created in a chat that already has an answer shown | question_record_id, prior_question_record_id, seconds_since_prior_answer or null |
| campus_feedback_given | Once when a helpful or not helpful rating is saved. A changed rating replaces the earlier rating | question_record_id, answer_record_id, rating, comment_present |
Canonical form and discovery events
These events close the gap between demo intent and demo submitted and between a public page load and a useful guide or sample answer. Add them to the allowlist in public/site.js with the same opt-out, in-memory, and no personal details rules. No field value, search word, question text, or draft content is ever a property.
| Event | Trigger | Allowlisted properties |
|---|---|---|
| campus_form_start | First input or focus in a demo or question form, once per form per page load | form_kind, source_page |
| campus_form_validation_failed | Submit blocked by page validation, once per blocked submit | form_kind, validation_error_bucket, source_page |
| campus_form_submit_attempt | Each send attempt for a validated demo or question form | form_kind, attempt_bucket, source_page |
| campus_form_submit_success | Server confirms the send and the form is hidden with a confirmation | form_kind, attempt_bucket, source_page |
| campus_form_submit_failure | Final send failure after retries, with entries kept on the page | form_kind, failure_type, attempt_bucket, source_page |
| campus_guide_search_performed | Guides index or terminology search settles with a result or with no result | surface, result_bucket, source_page |
| campus_status_check_performed | Live check on the status page completes with live or not live or did not complete | outcome, source_page |
| campus_sample_asked | Sample question asked on the try a sample page, sourced or not-known | outcome, source_page |
- form_kind is demo or question only. outcome is success, failure, validation, sourced, not_known, live, not_live, or did_not_complete. failure_type is timeout, network, server, or validation. attempt_bucket is first, second, or third. validation_error_bucket is one field, multiple fields, or none. result_bucket is with_result or no_result. surface is guides or terminology.
- Never collect form field values, search words, question text, answer text, comment text, draft content, request ids, email addresses, college names entered in a form, source titles, source links, office contact details, account ids, or student record details.
- Each event fires at most once per action per page load, uses the same opt-out check as existing events, and is capped with the existing in-memory queue. Retry reuses the same request reference and fires no new submit success event after confirmation.
Reconciliation of duplicate names
Use the canonical name on the left in every new build and report. The old name is retired and must not be emitted alongside the canonical name.
| Retired name | Canonical name | Mapping |
|---|---|---|
| campus_answer_feedback | campus_feedback_given | Same trigger and same rating property |
| campus_answer_unanswered | campus_answer_viewed | Outcome not_answered on campus_answer_viewed. Unavailable stays a separate outcome and is never counted here |
| campus_search_no_result | campus_guide_search_performed | Result bucket no_result, plus with_result for the companion search rate only |
| campus_demo_submitted emitted without attempt bucket | campus_form_submit_success with form_kind demo, and campus_demo_submitted as the funnel alias | Same trigger. Count the funnel stage once per successful send. Do not count both names as two sends. |
Join and counting rules
These rules keep the funnel honest across the marketing and signed-in boundary.
- Count stages in aggregate only. Do not join a marketing page view to a workspace or answer at person level. No fingerprint, cookie, device id, or cross-page identity is used.
- Signed-in event_id is the question record id plus the event name, or the sign-in record id plus the event name, or tenant_id plus the event name, as the core journey table states. Deriving the same record twice gives the same event and the same count. A changed question, assistant, wording version, or passage gives a new key.
- Marketing events carry no tenant_id, no assistant_id, and no event_id. A workspace count can never be read from a marketing count.
- Test and staff preview sessions are labeled as test and excluded from headline counts. Unavailable is recorded separately from not answered and is never a source gap.
- When a denominator is zero, show no questions in this range, no rated answers in this range, or the matching words for the measure, never zero percent, with counts beside the rate.
Checks before you ship an event change
Run each check in a test workspace and on a public page before you publish.
- Opt-out on, Do Not Track, or Global Privacy Control suppresses every listed event, including form and discovery events
- A payload holds allowlisted properties only, with no field value, search word, question text, or contact detail
- Each action fires its event once, retries reuse the same request reference, and a second submit after confirmation fires no new success event
- Footer, header, hero, and band clicks for the same destination give the same cta_id and placement is correct in each place
- Signed-in derived events still come from records at report time, with test sessions excluded and unavailable kept separate, and campus_answer_viewed never adds a second count for a reload or a history reopen
- Core journey counts are shown side by side with units stated, and no marketing count is divided by a signed-in count
Read Reports for signed-in event fields, Answer quality dashboard for the funnel limits, Weekly quality rate for the retired names, and Configuration manifest for the opt-out flag and the in-memory cap.
Use one taxonomy on every page
Build the next event from the tables above, with the same names, properties, and privacy rules.