Adding Booking Widget to GoDaddy Website (Java Script)

Learn how to add our new online booking widget to your GoDaddy website

Marc avatar
Written by Marc
Updated over a week ago

To add your online booking widget to your GoDaddy site, follow the steps below.

To make sure you have the right code reach out to us through the instant chat. An example of the widget code is below: 

Code Template - Floating Widget (left aligned)

<script>(function() {
    var s = document.createElement("script");
    s.type = "text/javascript";
    s.async = true;
    s.src = "https://www.yocale.com/tentacle" + "/" + "tentacle.v1.0.0.js";
    var x = document.getElementsByTagName("script")[0];
    x.parentNode.insertBefore(s, x);
    s.onload = s.onreadystatechange = function () {
        if (!this.readyState || this.readyState === "complete") {
            Tentacle.run({
                business: "YocaleDemo",
                buttonStyles: { left: 20, bottom: 20, right: null, top: null, fontWeight: 700 },
                label: "Book Now",
                backgroundColor: "#75635B",
            });
        }
    };

})();</script>

Here are the steps to add your booking widget:

  1. Select the "+" button to add a new section to your website 

2. Search for Javascript in the search area and then select Add for the HTML section

3. Add your booking widget code into the Custom Code area. 

The widget should appear in your site. When finished, don't forget to Publish!

If you have any questions, don't hesitate to reach out. We're always here to help!

Did this answer your question?