Overview
If you’re using Facebook, Meta, or Instagram paid ads, you can track their success with Meta's Pixel. Pixel is the code that is inserted in your website that allows Meta to continue to track user activity after they arrive at your website through Facebook or Instagram.
Note: This feature applies only to the legacy Schedule Engine. ServiceTitan customers are encouraged to transition to Scheduling Pro, an upgraded tool designed to replace Schedule Engine on your website and provide a seamless booking experience.
Who uses this feature
Administrators, managers, and marketing specialists
Primarily benefits Residential Service
Things to know
You can install Pixel by following the directions on Meta Business Suite.
Facebook Click Identifiers (FBCLIDs) are tracking parameters automatically added to outbound links on Facebook. When a user clicks on a link shared on the platform, Facebook generates a unique FBCLID and appends it to the URL. This identifier allows businesses and advertisers to track and analyze traffic coming from Facebook to their websites.
The FBCLIDS can be downloaded from the Schedule Engine Dashboard, reach out to your Customer Success Manager (CSM) if you don’t have access.
Insert additional code to track Schedule Engine activities
After your Pixel is installed and collecting data, you can insert additional code to track scheduling activities. By adding this code, you'll be able to see, for example, if someone clicks on a Facebook ad and then books an appointment through Schedule Engine. This allows Facebook to optimize your advertisements to find and market towards those most likely to book through the scheduler in the future.
Here’s the script to add to your website to attribute leads to Facebook and track the booking process. You only need to include the events you want to track.
document.addEventListener('DOMContentLoaded', function() {
ScheduleEngine.addEventListener("BookingStarted", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingStarted");
}
});
ScheduleEngine.addEventListener("BookingIssueStarted", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingIssueStarted");
}
});
ScheduleEngine.addEventListener("BookingIssueCompleted", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingIssueCompleted");
}
});
ScheduleEngine.addEventListener("BookingDetailsMedia", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingDetailsMedia");
}
});
ScheduleEngine.addEventListener("BookingDetailsMore", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingDetailsMore");
}
});
ScheduleEngine.addEventListener("BookingCustomerQuestion", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingCustomerQuestion");
}
});
ScheduleEngine.addEventListener("BookingCustomer", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingCustomer");
}
});
ScheduleEngine.addEventListener("BookingSchedule", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingSchedule");
}
});
ScheduleEngine.addEventListener("BookingBooked", function(){
if (typeof(fbq) == 'function'){
fbq('trackCustom', "BookingBooked");
}
});
});