Website embed [Classic]
Your Customers can schedule without ever leaving your website if you use our Website embed publishing option. This creates an effective call to action that motivates your leads and prospects to schedule with you. The embedded pane fits into any web page and doesn’t show any OnceHub branding.
In this article, you’ll learn about the Website embed publishing option.
<iframe width="640" height="360" src="https://www.youtube.com/embed/GZzsZrwCYAw?&wmode=opaque&rel=0" frameborder="0" allowfullscreen="" class="fr-draggable"></iframe><script id="snippet-prepend">$(function(){
/*disable in widget*/ if($('.w-documentation-article').length === 0){
var ToC = "<nav role='navigation' class='table-of-contents toc-top'><h4>In this article:" + "<ul>"; var el, title, link, header; //Define the heading levels you want to use in ascending order. Can add extra or remove unneeded. $(".hg-article-body h1, .hg-article-body h2, .hg-article-body h3, .hg-article-body h4").each(function() { el = $(this); title = el.text(); if(title != ''){ anchorTitle = el.text().replace(/([~!@#$%^&*()_+=`{}\[\]\|\\:;'<>,.\/\? ])+/g, '-').toLowerCase(); link = "#" + anchorTitle; //Set all headers to a 0-nesting level. header = 'header-nesting-0'; //Adjust header-nesting layers so that they point to the correct html tag. header-nesting-1 should match the second .hg-article-body h# listed above; header-nesting-2 should match the third, etc. if($(this).is('h2')){ header = 'header-nesting-1'; }else if($(this).is('h3')){ header = 'header-nesting-2' } el.html('<a id="'+anchorTitle+'" class="toc-anchor">' + el.html()); newLine = "<li class='"+header+"'>" + "<a class='article-anchor' href='" + link + "'>" + title + "" + "";
ToC += newLine; } }); ToC += "" + ""; $("#snippet-prepend").before(ToC); }});
</script><style>/* CSS to style the TOC as it displays and the auto-created anchors.toc-top styles the box for the TOC; adjust styles here to tweak look and feel */
.toc-top { background-color: #FAFAFA; /* set to #fff or delete entirely for no background */ border: 1px solid #C8C8C8; /* adjust the color hex here to change border color */ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset; margin-top: 24px; margin-bottom: 36px; min-height: 20px; padding: 13px 20px; max-width: 75%;}.toc-top h4 { font-size: 18px; line-height: 26px; margin: 0 0 8px; font-weight: 400;}.toc-top ul { padding: 0 0 0 15px !important; margin-bottom: 0;}.toc-top > ul { margin-bottom: 13px!important;}.toc-anchor { display: block; height: 90px; margin-top: -90px; visibility: hidden;}
/* Set the indentation for the nesting levels. May need to be edited to match changes above. Increase or decrease the margin-left to get your desired level of indentation. */.header-nesting-1 { margin-left: 14px;}.header-nesting-1:before { background-image: url(https://dyzz9obi78pm5.cloudfront.net/app/image/id/5d31bcc88e121c9b25ba22c4/n/bulletv2.svg)!important;}.header-nesting-2 { margin-left: 28px;}.header-nesting-2:before { background-image: url(https://dyzz9obi78pm5.cloudfront.net/app/image/id/5d31be536e121cf22b0cc6ae/n/bulletv3.svg)!important;}</style>When should I use Website embed?
Section titled “When should I use Website embed?”Embedding a scheduling pane is an effective solution for several business flows, including:
- Offering scheduling to any site visitor.
- Offering scheduling only to prospects who fill out your web form.
- Offering scheduling only to top prospects based on specific criteria.
Learn more about Website embed business scenarios
Requirements
Section titled “Requirements”To embed a scheduling pane on your website, you must be a webmaster for your company’s website, or have direct access to your company website’s code.
Embedding your page onto your website
Section titled “Embedding your page onto your website”- Go to Booking pages in the bar on the left → Booking page → Share & Publish.
- Select the Website embed tab (Figure 1).
Figure 1: Website embed - Select the Booking page or Master page you want to embed on your website (Figure 1).
- Use the Width drop-down menu to select the width of the Scheduling pane outer border.
- Use the Color option to change the color of the border.
- In the Customer data step (Figure 2), select to have Customers fill out the Booking form, or select a Web form integration option.
If you select a web form integration option, you can select to Skip the Booking form or Prepopulate the Booking form. - Click the Copy code button to the copy the code to your clipboard.
- Paste the code into the relevant location on your website.
NoteIf you change any Website embed settings, you must replace the Website embed code that you previously added to your web pages.
However, you can edit Booking page settings, Master page settings, and the theme design without updating the code you added to your web pages.
Customizing the embedded scheduling pane
Section titled “Customizing the embedded scheduling pane”If you have a basic understanding of CSS, you can apply advanced customization (embed frame height and width) on top of the core settings. The height can be fixed or responsive.
- Fixed height: This is the default option. The height is set to 550 pixels. You can change the default height to any number you want by changing the height property in the code.
- Responsive height: This will automatically adjust the height to the frame content. To use this method, you must delete the height property in the code.
Learn more about customization
The embedded frame layout when width is between 900–541 pixels
Section titled “The embedded frame layout when width is between 900–541 pixels”
Figure 4: Embedded frame layout when width is between 900–541 pixels
Section titled “Figure 4: Embedded frame layout when width is between 900–541 pixels”The embedded frame layout when width is between 540–320 pixels
Section titled “The embedded frame layout when width is between 540–320 pixels”
Figure 5: Embedded frame layout when width is between 540–320 pixels
Restrictions for Website embed
Section titled “Restrictions for Website embed”- The embedded interface is a HTML 5 app and is not supported on old browsers, including Microsoft Internet Explorer. Learn more about our System requirements
- The embed code contains JavaScript, which might be blocked by some low-cost web hosting providers. In this case, you will not be able to embed a booking page on this website.