ScheduleCat

Developers

Embed a booking page

Show your booking page on your own site in three styles: inline, popup on click or a floating button.

Get the code

  1. Sign in at dashboard.schedulecat.co and open Event Types.
  2. On the event you want, open the menu and choose Embed. You can also copy the link and use it with the snippet below.
  3. Pick a style: Inline, Pop up via element click or Floating pop-up button.
  4. Set the options the dialog shows, such as the size, the theme and the button text.
  5. Copy the snippet and paste it into your site's HTML.

The three styles

StyleWhat it doesUse it for
InlineThe booking page shows inside a section of your page.A Book a call page.
Popup via element clickA button or link of yours opens the booking page in a popup.A Contact page or a menu button.
Floating buttonA fixed button on every page opens a popup.Whole-site Book now prompt.

Pattern of the snippet

<!-- Cal embed loader: copy the exact version from the Embed dialog -->
<script type="text/javascript">
  (function (C, A, L) { let p = function (a, ar) { a.q.push(ar); }; let d = C.document; C.Cal = C.Cal || function () { let cal = C.Cal; let ar = arguments; if (!cal.loaded) { cal.ns = {}; cal.q = cal.q || []; d.head.appendChild(d.createElement("script")).src = A; cal.loaded = true; } if (ar[0] === L) { const api = function () { p(api, arguments); }; const namespace = ar[1]; api.q = api.q || []; if (typeof namespace === "string") { cal.ns[namespace] = cal.ns[namespace] || api; p(cal.ns[namespace], ar); p(cal, ["initNamespace", namespace]); } else p(cal, ar); return; } p(cal, ar); }; })(window, "https://dashboard.schedulecat.co/embed/embed.js", "init");
  Cal("init", { origin: "https://dashboard.schedulecat.co" });
  // Inline example
  Cal("inline", { elementOrSelector: "#my-cal-inline", calLink: "<username>/<event>" });
</script>
<div id="my-cal-inline" style="width:100%;height:100%;overflow:scroll"></div>

Notes

  • Replace <username> and <event> with your username and event slug. Your booking link is https://dashboard.schedulecat.co/<username>/<event>.
  • The snippet from the Embed dialog is the source of truth. Use it over the pattern above if they differ.
  • A booking page embed sets cookies the app needs. See cookies.
  • The link also works with no embed at all. Just add a normal button that points to it.

Frequently asked questions

Do invitees need an account?

No. They pick a time and enter their details.

Can I embed a private or single-use link?

Embed a normal event link. Private links are meant to be shared directly.

Related

Try ScheduleCat

ScheduleCat is in private beta and free while it lasts. Invited workspaces sign in with Google.