Analytics inventory for ChauffeurDesk
Use this page before any funnel rate is read. It lists every event the public site script records today, the canonical name for each event in the measurement plan guide, the duplicates to remove, and the signup, install, and purchase steps that are still untracked.
How this inventory was made
Every emit call in public/site.js was read, plus the inline scripts on the home page, the public booking page, the app booking copy, the request demo page, and the receipt page. An event counts as tracked only when the script emits it in memory. A server record, such as a demo submission or a Quote booking, is not an analytics event until the script emits it.
Tracked today in public/site.js
Nine event names are emitted in memory only, with no network send, no cookie, and no storage. The envelope carries event, page_path, session_id, view_id, and occurred_at, plus the extra fields named in the table below. Do Not Track stops all recording.
Not tracked anywhere in the site pack
Quote preview, quote submission, booking status view, booking change, sign-in start in the app, sign-in completion, signup, and purchase. No inline script on the booking or receipt pages emits an analytics event. The receipt page makes one bare status fetch with no timeout and no retry, and emits nothing when it succeeds or fails.
Every event tracked today, with its canonical name
Read the current name as the canonical name in the same row. A name not in this table is not a recorded event.
| Current name | Trigger in public/site.js | Extra fields today | Canonical name | Defect to fix |
|---|---|---|---|---|
| site_page_view | Public page finishes loading, once per load | page_title, referrer_path | page_view | Rename, and remove page_title and referrer_path, which the catalog never records |
| site_section_view | A section stays half visible for one second | section_id, section_index, visible_ms | None, no funnel place | Remove the observer and the emit, since leaving and re-entering a section can fire it again in one load |
| site_cta_click | Click on a button link or a sign-in link | cta_label, cta_target, cta_location, cta_section | cta_click | Rename, remove free text label and section, and restrict target to /request-demo, /app/, and /passenger-book |
| signin_start_click | Second emit on a click to /app/ | cta_label, destination | None, a click is not a start | Remove, since one click then counts twice and signin_start fires only when /app/ loads unsigned in |
| demo_form_start | First input or change in a data-request form, once per form | form_kind | demo_form_start | Keep, and emit once per final result for success and error |
| demo_form_submit_success | POST to /api/public/request returns ok | form_kind | demo_form_submit_success | Keep, deduped by the outbox Idempotency-Key, never per retry attempt |
| demo_form_submit_error | Validation, timeout, network, or non-ok response ends the submit | form_kind, error_class | demo_form_submit_error | Keep, with error_class as validation, timeout, connection, or server |
| app_install_offer_seen | beforeinstallprompt fires | install_source | None, install is read as signin_complete | Remove, since app code is not in the site pack and no install event can be proven from this file |
| app_install_decision | Any document click after an offer is deferred | install_outcome | None | Remove, since a normal link click then counts as an install decision with no install offer shown |
- The envelope also needs utc_date, seq, and dedup_key, and must drop session_id, view_id, and occurred_at
- The in-memory array is uncapped today, and the correction caps it at 50 entries and drops the oldest
Signup, install, and purchase steps that are untracked
Each row states the step, what exists today, and the one source to count when the step is added.
Signup: there is no open sign-up
The request demo page states there is no trial sign-up form and sign-in is not open sign-up. No sign_up event is added here. The demo request is a lead record sent to /api/public/request, and demo_form_submit_success is its only funnel count.
Install: sign-in completion is the install reading
signin_start and signin_complete are measured in app code only, once per unsigned-in load and once per new workspace. No marketing identifier reaches the app, and the two steps join the funnel by utc_date aggregate only.
Purchase: no product price and no card step
No price for ChauffeurDesk is listed on this site, and the public form collects no card details. Payment is recorded as status and method label only. No purchase event exists, and none is estimated from a booking total, which is booking value and not collected revenue.
Quote funnel: untracked today
quote_form_start, quote_preview_request, quote_request_submit_success, and quote_request_submit_error are missing. The home estimator and both booking copies fetch the quote route and emit nothing, so the same form can be counted twice if the app copy is added later.
Booking funnel: untracked today
booking_status_view, booking_change_submit_success, and booking_change_submit_error are missing. The status card, update, reschedule, and cancel posts emit nothing, and the receipt status fetch is the one bare call with no timeout, no retry, and no error class.
What to count when a step is added
Count one source per step, deduped by Idempotency-Key where a post is involved, and never add client and server counts together. A Quote booking is a booking record, not a page view, and must not be relabelled as one.
Correction order
Ship in this order, with the same words, links, and form fields.
Fix the emitter first
Rename the three misnamed events, remove section and install emits, drop session and view identifiers, add utc_date, seq, and dedup_key, enforce the allowed property list per event, and cap the buffer at 50 entries.
Restrict cta_click
Emit only for destinations /request-demo, /app/, and /passenger-book, with location as header, hero, body, band, or footer, and remove the second sign-in emit so one click counts once.
Add quote and booking events on /passenger-book only
Add the seven missing events behind the existing emit guard, once per final result, deduped by Idempotency-Key where a post is involved, and keep the app copy and home estimator out of the quote funnel.
Add sign-in events in app code
Measure signin_start and signin_complete in the app with utc_date only, and do not emit either event from site.js.
Run the validation queries before reading any rate
Confirm no duplicate dedup key in one load, no prohibited field, utc_date order by seq, no later step count above an earlier step count, and deduped client demo submissions equal deduped server submissions for one utc_date and form_kind.
Read the funnel only from a checked count
Fix the emitter, add the missing quote and booking events, and measure sign-in in the app.