TASK #235 · Medium · eDreams ODIGEOBooking Funnel by Market
Your brief
The eDreams ODIGEO booking funnel has three steps logged in funnel_events:
search, selection (choosing a flight) and payment.
The session's market is stored in sessions.market.
Write a query that for each market returns market and the number of sessions: searches (with a search), selections (with a search and a selection) and payments (with all three steps, in any order). Add search_to_payment_pct: the percentage of payments out of searches, rounded to two decimals.
Write a query that for each market returns market and the number of sessions: searches (with a search), selections (with a search and a selection) and payments (with all three steps, in any order). Add search_to_payment_pct: the percentage of payments out of searches, rounded to two decimals.
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
customerscustomer_id, full_name, country, signup_datesessionssession_id, customer_id, market, ab_variant, device, session_datefunnel_eventsevent_id, session_id, step, event_timebookingsbooking_id, session_id, customer_id, market, booking_date, origin, destination, total_amount, status