Setting Up Google Analytics and Meta Pixel for Online Booking
Setting Up Google Analytics and Meta Pixel for Online Booking
The online booking widget can send events to Google Analytics 4 and Meta Pixel so you can track where your bookings come from. Both setups happen in Online Booking Setup, where you paste a tracking ID and an API key for each service.
Before you start:
You need Editor access or higher on the Google Analytics 4 property you want to connect.
For Meta, you need access to the right Business Manager account and the Pixel in Events Manager.
You add two values from Google Analytics into Garage Hive: the Measurement ID that identifies the property, and a Measurement Protocol API secret that lets the booking widget send events server-side.
Under Data collection and modification, open Data streams.
Select the Web data stream for the property you want to track.
Copy the Measurement ID. The format starts with G- , for example G-WF6VYNR40S .
In Garage Hive, open the Online Booking Setup page and paste it into the Google Analytics Tracking ID field under the Analytics and Tracking FastTab.
Add a caption...
Step 2: Create the Measurement Protocol API Secret
Still in Admin → Data streams, choose the same data stream as in Step 1.
Open Measurement Protocol API secrets.
Click Create.
Enter a nickname, for example online-booking-events .
Copy the generated Secret value.
In Garage Hive, paste it into the Google Analytics Tracking API Key field in the Online Booking Setup page, under Analytics and Tracking FastTab.
Add a caption...
Note: Copy the Secret value as soon as it's generated. Google only displays it in full once, and you'll have to create a new secret if you lose it.
Once finished, enable the Google Analytics Enabled slider.
Setting Up Meta Pixel
The Meta side follows the same pattern: a Pixel ID that identifies your tracking source, and a Conversions API access token that authorises Garage Hive to send events.
In Garage Hive, paste it into the Meta Pixel Tracking ID field in the Online Booking Setup page, under Analytics and Tracking FastTab.
Add a caption...
Step 2: Generate the Conversions API Access Token
In Events Manager, select the correct Data Source.
Go to Settings.
Scroll to the Conversions API section.
Find, Set up manually, or Generate access token.
Choose a dataset if prompted, then click Generate access token.
Copy the generated token.
In Garage Hive, paste it into the Meta Pixel Tracking API Key field in the Online Booking Setup page, under Analytics and Tracking FastTab.
Add a caption...
Note: The access token is shown once. If you lose it, you'll need to generate a new one and update the field in Garage Hive again.
Once finished, enable the Meta Pixel Enabled slider.
Events Sent to Analytics
Once both integrations are set up, the booking widget sends events as the customer moves through each step of the booking flow. You'll see them under Events in Google Analytics and under Events in Meta Events Manager.
The events sent, in the order a customer encounters them:
booking_vehicle_info_page_view
booking_vehicle_details_page_view
booking_services_page_view
booking_cart_page_view
booking_calendar_page_view
booking_contact_info_page_view
generate_lead
booking_payment_page_view
booking_summary_page_view
generate_lead follows Google's standard naming for lead conversion events, so you can use it directly when setting up conversion goals in Google Analytics or custom audiences in Meta. The _page_view events let you see where customers drop off in the funnel.
English (UK, IE, IM and IZ). To find documentation in other regions where Garage Hive operates, click here.