When your guests book a service or purchase a product on your Webstore, you can place tags and triggers in each of the pages to identify which pages your guests visited and also know how many of them successfully completed the booking of an appointment. This tracking helps you collect data on the guest behavior on your Webstore and provides an in-depth analysis of sales and appointment bookings.
This is done with the help of Google Tag Manager and Google Analytics.
Before You Begin
- Ensure you have added the Google Tag Manager to your Webstore.
Learn how to Add Google Tag Manager to your Webstore.
To track the user behavior
In Google Tag Manager, you must create the following:
- Triggers:
You must create the following triggers to track the user behavior for appointment booking:
a) Home Page: Create this trigger to track the number of home page views.
b) Book Appointment Button: Create this trigger to track the number of clicks on the Book Appointment button.
c) Confirm Booking Button: Create this trigger to track the number of clicks on the Confirm Booking button.
d) Thank You Page: Create this trigger to track the number of guests visiting Thank You page after they book the appointment. - Variables:
You must create the following variables to track the user behavior for booking an appointment:
a) Service Listing: Create a variable which tracks the listing of the services through a custom Javascript.
b) Book Appointment Button: Create a variable which tracks the book appointment button through a custom Javascript.
c) Confirm Booking Button: Create a variable that tracks the clicks on confirm booking button through a custom Javascript.
d) Thank You: Create a variable that tracks the Thank You page through a custom Javascript. - Tags:
You must create the following tags for tracking the user behavior for booking an appointment:
a) Step 1 - Service Listing: Create the service listing tag and associate with the Service Listing variable and Home Page trigger.
b) Step 2 - Book Appointment Button: Create the Book Appointment Button tag and associate with Book Appointment Button variable and Book Appointment Button trigger.
c) Step 3 - Confirm Booking Button: Create the Click on Confirm Booking tag and associate with the Confirm Booking Button variable and Confirm Booking Button trigger.
d) Step 4 - Thank You: Create the Thank You tag and associate with the Thank You variable and Thank You trigger.
Next Step: Create Triggers for Tracking the User Behavior while Booking an Appointment
See Also