Tagging spec · member app

Data layer → GTM → GA4 → BigQuery · versioned with the app code

27events34parameters26GTM tags5key events

Data layer matrix

Every event the app pushes to window.dataLayer, where it fires, its parameters and where it lands. No names, emails or phones — user_id is the Firebase uid.

recommended GA4 standard custom ROD-specific ecommerce GA4 items ★ key event
#EventFires whenParametersGA4KeySourceBigQuery
Session
1page_viewEvery route change (SPA)page_path page_title app_display_mode user_idautopages/_app.jsstg_ga4_events
2user_readyAuth state restored; sets user_id + user properties— user_idcustomlib/analytics.jsstg_ga4_events
3app_openApp launched (home screen, push or browser)launch_source user_idcustompages/_app.jsstg_ga4_events
Account
4sign_upRegistration form submittedmethod user_idrecommended★components/forms/registroForm.jsmart_activation
5loginSuccessful sign-inmethod user_idrecommendedcomponents/forms/loginForm.jsstg_ga4_events
6login_errorSign-in rejectederror_type user_idcustomcomponents/forms/loginForm.jsstg_ga4_events
7documents_acceptRules, waiver and image release accepteddocuments user_idcustomcomponents/forms/aceptarForm.jsmart_activation
8logoutLog out from My account— user_idcustomcomponents/sections/cuentaResumen.jsstg_ga4_events
Purchase
9view_item_listPackage list for a class lineitem_list_id item_list_name ecommerce.items[] user_idrecommendedpages/indoor.js · outdoor · kids · rodmixmart_funnels
10view_itemPackage detail openedvalue currency ecommerce.items[] user_idrecommendedcomponents/sections/checkoutPreview.jsmart_funnels
11begin_checkoutTap on Buyvalue currency ecommerce.items[] user_idrecommendedcomponents/sections/checkoutPreview.jsmart_funnels
12add_payment_infoCard entered in Stripe Elementspayment_type value currency ecommerce.items[] user_idrecommendedcomponents/sections/checkout.jsmart_funnels
13purchasePayment confirmed by /api/chargetransaction_id value currency plan_type first_purchase ecommerce.items[] user_idrecommended★components/sections/checkout.jsmart_kpis_monthly
14payment_failedCard declined or API errorerror_type value currency user_idcustomcomponents/sections/checkout.jsmart_funnels
Booking
15class_viewSeat map of a class openedclass_id class_line class_date class_time class_weekday coach seats_total seats_free user_idcustompages/horarios/[id].jsmart_lost_demand
16seat_selectFree bike tapped on the mapclass_id class_line seat_number user_idcustomcomponents/clases/mapaIndoor.js · Outdoor · Kidsmart_funnels
17seat_select_cancelConfirmation sheet dismissedclass_id seat_number user_idcustomcomponents/clases/mapaIndoor.js · Outdoor · Kidsmart_funnels
18class_bookBooking confirmed in the sheetclass_id class_line class_date class_time class_weekday coach seat_number plan_type credits_left hours_before user_idcustom★components/clases/mapaIndoor.js · Outdoor · Kidsfct_bookings
19booking_cancelCancellation accepted by /api/cancelbooking_id class_id class_line class_date seat_number hours_before credit_returned user_idcustomcomponents/sections/eliminarFolio.jsfct_bookings
Attendance
20qr_pass_viewQR pass openedbooking_id class_line class_date user_idcustomcomponents/sections/previewFolioUser.jsstg_ga4_events
21check_inStaff scans the QR in the admin panelbooking_id class_line class_date seat_number check_in_method user_idcustom★admin-rod · folioPreview.jsfct_bookings
22check_in_undoStaff reverts a check-inbooking_id class_line class_date seat_number check_in_method user_idcustomadmin-rod · folioPreview.jsfct_bookings
Push
23push_permissionReminder toggle answeredstatus user_idcustomlib/push.jsmart_push_impact
24push_openNotification tapped (campaign in URL)campaign user_idcustompages/_app.jsmart_push_impact
25push_receivePush received with the app opencampaign foreground user_idcustomlib/push.jsmart_push_impact
Install
26pwa_install_promptBrowser offered the install— user_idcustompages/_app.jsstg_ga4_events
27pwa_installAdded to home screenplatform user_idcustom★pages/_app.jsstg_ga4_events
Source: rodcycling/analytics — tracking plan, GTM container, SQL models. Measurement not activated in production.Sample rows are simulated