Service Titan Knowledge Base

Can’t add web scheduler code to a websiteLast updated on 05/30/2022

This article helps resolve errors when adding web scheduler code to a website.


Problem

Companies can install the web scheduler on their website by adding the provided code. However, they may get error messages that prevent them from adding the web scheduler code successfully. Follow the troubleshooting steps to help resolve errors when adding web scheduler code to a website.


Solution

The web scheduler widget code is URL-specific, which means the website URL should match a company’s website URL. For example, if a company’s website is https://plumbers.com, but they have added the URL as www.plumbers.com when setting up their widget in ServiceTitan, then the URLs technically do not match and the code will not work when adding it to their website. Check if the URL that was added to the widget matches the exact URL of the company website. If it does not, then create a new web scheduler widget and add the correct URL.

Follow the workflows below to resolve the issue:


Check if the URL added to the widget matches the website URL

  1. Get the company website’s full URL link (including the https:// prefix).

  2. In ServiceTitan, click Settings.

  3. Go to Integrations > Marketing Integrations.

  4. Click View in the Web Scheduler widget.

  5. Find the active scheduler widget on the Web Scheduler widgets page.

  6. Double-click the URL link in the widget, and open a new tab.

  7. Paste the link into the URL bar of the new tab.

  8. The link pasted from the widget should match the company’s website URL.  Note: These are common examples of the actual website URL not matching the link entered in the widget.

    • The widget link is missing the https:// in the URL.

    • The widget link contains www. though the exact company URL doesn’t.

  9. If the company website link already matches the link entered in the widget exactly, reach out to the Support Team for further investigation. If the actual website link does not match the link entered in the widget, then follow the steps in the  Make a new web scheduler widget with correct website link section to fix the web scheduler URL.


Make a new web scheduler widget with a correct website link

  1. In ServiceTitan, click Settings.

  2. Go to Integrations > Marketing Integrations.

  3. Click View in the Web Scheduler widget.

  4. Toggle the incorrect widget off.

  5. Click the Add New button in the upper-right corner to create a new widget.

  6. Set up the new widget as desired, and make sure to paste the exact company website URL into the Website Link field (including the https:// prefix). 

  7. If needed, re-install the web scheduler code to the company website.


Related Content



Important note: Some features may not be currently included in your account and additional configuration may be required. Please contact technical support for details.