{"id":1463,"date":"2024-11-23T04:58:35","date_gmt":"2024-11-23T04:58:35","guid":{"rendered":"https:\/\/support-landing.altegio.cloud\/support\/4904742132509-adding-an-online-booking-form-inside-one-of-the-website-pages\/"},"modified":"2026-03-25T16:41:04","modified_gmt":"2026-03-25T16:41:04","password":"","slug":"4904742132509-adding-an-online-booking-form-inside-one-of-the-website-pages","status":"publish","type":"docs","link":"https:\/\/alteg.io\/en\/support\/knowledge-base\/4904742132509-adding-an-online-booking-form-inside-one-of-the-website-pages\/","title":{"rendered":"Adding an online booking form to website pages"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Use this instruction of setting an online booking up if you need the online booking widget to be embedded in the site as an interface element. In this case, the online booking form will be immediately visible on the page, and not in the pop-up window when you click the button<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">This is the way <strong>Online booking<\/strong> may look like in the main menu of the website, leading to a page with an online booking form.<\/span><\/p>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/22932327125917-1000x550.png\"><br><span style=\"font-weight: 400;\">In this case the booking form will look like part of the site, but the booking is available only on one page.&nbsp;<\/span><br><img loading=\"lazy\" decoding=\"async\" width=\"387\" height=\"632\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/22932327128605.png\"><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h_01HJ68ZEG7GBWNDCKMZ716KG9C\">Setup<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">In the required place of your site code add the following code:<\/span><\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code><span style=\"font-weight: 400;\">&lt;iframe height=\"545px\" width=\"320px\" scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\" id=\"ms_booking_iframe\" src=\"https:\/\/w1234.alteg.io\/\"&gt;&lt;\/iframe&gt;<\/span><\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">In the main menu go to<strong> Administration<\/strong> mode <strong>Online booking > Online booking links<\/strong>.<\/span><\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69deb7c303bfe&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69deb7c303bfe\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"390\" height=\"356\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-12.45.11-1.png\" alt=\"\" class=\"wp-image-226795\" srcset=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-12.45.11-1.png 390w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-12.45.11-1-300x274.png 300w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-12.45.11-1-360x329.png 360w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\"> Copy the link to the online booking form (link as <strong><a target=\"_self\" rel=\"noopener\">https:\/\/nXXXX.alteg.io\/<\/a><\/strong> is located to the right of the name of the online booking form).<\/span><\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69deb7c30445d&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69deb7c30445d\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22-1024x552.png\" alt=\"\" class=\"wp-image-226768\" srcset=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22-1024x552.png 1024w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22-300x162.png 300w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22-768x414.png 768w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22-1536x828.png 1536w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22-360x194.png 360w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22-1568x845.png 1568w, https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/11\/Screen-Shot-2025-12-23-at-13.32.22.png 1800w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Replace the <strong>bold<\/strong> part of the code with the link to your company\u2019s online booking form.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Note<\/strong><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">1. If you want to add an online booking form to a narrow site block, then use the mobile version.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">2. To adjust the width and height of the mobile booking form, change the <strong>width<\/strong> and <strong>height<\/strong> parameters of the <strong>iframe<\/strong> element. The width and height of the full booking form are fixed: 545 * 780 px.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">3. We do not guarantee normal operation of the widget that is installed on the site using the <strong>iframe<\/strong> element.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">We recommend setting up the button for online booking according to our <a href=\"https:\/\/support.alteg.io\/hc\/en-us\/articles\/4904684248477-How-to-add-an-online-booking-to-your-website\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>instructions<\/strong><\/a>. You can also use the <a href=\"https:\/\/developer.alteg.io\/api\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>API methods<\/strong><\/a> and develop your widget for online booking by posting it on your website. <\/span><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use this instruction of setting an online booking up if you need the online booking widget to be embedded in the site as an interface element. In this case, the online booking form will be immediately visible on the page, and not in the pop-up window when you click the button This is the way&hellip; <a class=\"more-link\" href=\"https:\/\/alteg.io\/en\/support\/knowledge-base\/4904742132509-adding-an-online-booking-form-inside-one-of-the-website-pages\/\">Continue reading <span class=\"screen-reader-text\">Adding an online booking form to website pages<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[70],"doc_tag":[1609],"class_list":["post-1463","docs","type-docs","status-publish","hentry","doc_category-adding-an-online-booking-to-website","doc_tag-online-booking-en","entry"],"aioseo_notices":[],"year_month":"2026-04","word_count":300,"total_views":"283","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ivan.k","author_nicename":"altegio","author_url":"https:\/\/alteg.io\/en\/author\/altegio\/"},"doc_category_info":[{"term_name":"Adding an online booking to website","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/categories\/adding-an-online-booking-to-website\/"}],"doc_tag_info":[{"term_name":"Online Booking","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/online-booking-en\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/comments?post=1463"}],"version-history":[{"count":3,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1463\/revisions"}],"predecessor-version":[{"id":311236,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1463\/revisions\/311236"}],"wp:attachment":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/media?parent=1463"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_category?post=1463"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_tag?post=1463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}