You or your web team can encode various parameters to pass through different data points into Google Analytics and Schedule Engine Dashboard for lead attribution. For ST clients, we can insert a campaign for revenue generation reporting in ST.
ServiceTitan Campaign Tracking
Sample direct link to Maintenance with campaign coding
https://www.insertdomain.com/?se_campaign=insertcampaignname&se_action=eyJ0eXBlIjoic2Utc2hvdy1tb2RhbCIsIm9wdGlvbnMiOnsicm9vbUtleSI6InByZXZlbnRhdGl2ZV9tYWludGVuYW5jZSJ9fQ%3D%3D
Sample direct link to Home Screen with Affiliate coding
http://example.com/?se_affiliate=affiliatename&se_action=eyJ0eXBlIjoic2Utc2hvdy1tb2RhbCJ9
Example with multiple parameters
You can simplify the url by inputting the parameters with Base 64. https://www.base64decode.org/
Sample website to build utm parameters into url. https://ga-dev-tools.web.app/campaign-url-builder/
Parameters available for lead attribution
In addition to encoding the parameters into an URL, you can also code them into the script for Scheduler and/or chat
These above parameters can be passed into the Schedule Engine booking .show() method or into the
Schedule Engine webchat .loadChat() or .open() methods.
Example
<button onclick="ScheduleEngine.show({
campaign: 'Your_Campaign_Name'
})">Book Now</button>
Example
ScheduleEngine.show({campaign: 'Internet- PPC'})
Example
<button class="se-widget-button" type="button" onclick="ScheduleEngine.show({campaign: 'Internet- PPC'})">
Book Now!
</button>
Note: setting tracking values using the .show() method will override the values passed through the URL.
For the Schedule Engine webchat, use:
WebChat.loadChat({
apiKey: 'YOUR API KEY',
sourceTracking: {
campaign: 'Campaign Value',
}
});
OR
WebChat.open({
sourceTracking: {
campaign: 'Campaign Value',
}
});