Analytics

Every install, session and sale — named.

Firebase Analytics on the client, exported to BigQuery for the funnel and cohort views the admin dashboard reads from. The taxonomy below is the actual event set — not a promise to "add analytics hooks later."

The marketplace conversion funnel

Live in admin/dashboard.html — this is where "track conversion through the marketplace" is actually answered.

tour_view
18,402
ar_target_locked
11,780
artist_profile_view
6,990
add_to_cart
2,576
purchase
773
Event taxonomy
EventFired whenKey params
app_openCold or warm launchcity_id, is_first_open
city_selectedUser picks a city on onboardingcity_id
tour_viewTour detail screen openstour_id, category, source
tour_started"Start tour" tappedtour_id
stop_arrivedGeofence entry detectedstop_id, tour_id, dwell_prior_stop_s
audio_playedNarration playback startsstop_id, completion_pct (on end)
ar_scan_startedCamera opens on a stopstop_id, recognition_method
ar_target_lockedRecognition succeedsstop_id, method, latency_ms
ar_fallback_usedManual code or no-AR path takenstop_id, fallback_step (2/3/4)
tour_completedFinal stop's geofence exitedtour_id, duration_s, stops_completed
artist_profile_viewArtist profile openedartist_id, source (stop/market/passport)
artwork_viewArtwork detail openedartwork_id, artist_id, source_stop_id
add_to_cartAdd to cart tappedartwork_id, price, currency
checkout_startedCheckout screen openscart_value, item_count
purchasePayment confirmedorder_id, value, currency, payment_method, source_tour_id
review_submittedVerified-purchase review publishedorder_id, artwork_id, rating
offline_pack_downloadedTour pack cachedtour_id, size_mb

Note the purchase event's source_tour_id param — this is the field that answers "did the tour drive the sale," the attribution chain described on the landing page.

Retention view

Standard Firebase cohort retention (D1/D7/D30) plus a Madrid-specific cut: installs and sessions by tour, so the studio can see which route — Lavapiés Walls vs. Doctor Fourquet — is actually driving engagement and marketplace revenue, live on the admin dashboard.