When a booking is made using Phorest online booking you can track values like the order number, services ordered and overall cost.
In order to do this, using Google Tag Manager, you must set up user-defined variables in your tag manager account. The following is a list of variables available for you to track on the appointment confirmation page with online booking:
A unique identifier for this booking.
This is exposed in the data layer as appointmentId
The list of services booked with this appointment is exposed in the data layer as appointmentServices
Each entry in the list consists of
serviceId: The unique identifier for this service
serviceName: The name of this service
This is exposed in the data layer as appointmentTotalAmount
This is exposed in the data layer as appointmentDepositAmount
Once set up you can use these variables in your google tag manager account to inform other services like Floodlight by Google when a purchase has been made through your Phorest online booking