- Floating widget: a “Book” button on every page of your website;
- Embedded iframe: the booking form inside a “Book” page of your website — or your privatization form — with its source-tracking script;
- Direct links & QR code: one link per social network, your main link and the QR code for your printed materials.
The widget opens the booking portal or, if you sell gift cards, your gift card shop (see Gift card widget). The iframe opens the booking portal or, when it is on, the privatization form.
Floating widget
The Floating widget adds a booking button in a bottom corner of your site. When clicked, a panel opens with your booking page. Visitors book without leaving the page they are on. It is the recommended integration: one snippet, on every page, with source tracking included.Customize the button
The code updates as you change them. For example:
Where to paste the code
Under Your site is built with…, pick your website builder: Wix, WordPress, Squarespace, Shopify, Webflow or Other. The steps to paste the code on every page show below, with the menus to open. If your website address is filled in under Settings > Restaurant, EatNow reads its home page and recognizes the builder: Detected automatically: Wix, for example, and that builder is picked for you. A builder you pick by hand is remembered in your browser, for this restaurant.On Squarespace, code injection needs a plan that allows it: the Plan with custom code label is a reminder.
Check the installation
Under the code, a line tells you where your site stands:
Click Check once you have pasted the code and published your site. Only the home page is read.
Send to my webmaster
If someone else runs your website, Send to my webmaster emails them the code and the steps for the chosen builder, at the address you type. The code sent uses your position, label and color. The email goes out under your restaurant’s name; if they reply, the answer comes straight to you.What your visitors get
- The button uses your portal’s primary color (from Design), with black or white text depending on what reads best.
- The panel opens in your site’s language, like the button. If your site doesn’t state its language, it follows the guest’s browser.
- On a computer the panel opens in the corner; on a phone it takes the full screen, held upright or sideways, and your site stops scrolling behind it. It closes with the cross, by clicking outside it, or with the Escape key, even while the guest is filling in the form.
- The panel never closes by itself after a booking, so the guest always sees their confirmation. The confirmation page shows a Close button that closes the panel and brings them back to your site. This button only appears in the floating widget, not in the Embedded iframe.
- The booking page only loads on the first click, so the button doesn’t slow down your site.
- A Reservations powered by EatNow line sits at the bottom of the panel.
- Tagged links pointing to your site (
?utm_source=…) are remembered for 30 days and passed on to the booking automatically.
Gift card widget
When Sell gift cards is on in Settings > Gift cards, a Booking | Gift cards switch shows at the top of the block. Gift cards gives the code of a second widget: on click, your gift card shop opens over your site, and the guest buys a card without leaving it. The Get the floating widget link, under the shop address in Settings > Gift cards, opens this choice directly. It has the same settings as the booking widget (position, label, color) and installs the same way, on every page. Its code also carriesdata-eatnow-target="gift-cards":
- Without a label, the button reads Give a gift card, with a gift icon, in your site’s language.
- You can install both widgets on the same site. In the same corner, the two buttons stack, booking at the bottom; you can also put one on the left and the other on the right. Only one panel opens at a time.
- Each widget keeps its own label: the one you type under Gift cards does not change the booking code.
- After the purchase, the confirmation page shows the Close button, as after a booking.
- The button stays on your site if the shop closes (selling switched off, no online payment provider): the panel then says The shop is closed.
- Check, Send to my webmaster and the line at the bottom of the panel (Gift cards powered by EatNow) follow the widget picked in the switch.
Embedded iframe
The Embedded iframe shows your portal inside a page of your site, usually a “Book” page. It takes two snippets: the form, in that page, and the source-tracking script, on every page. Under each snippet, a line reminds you where to paste it for the builder picked in the floating widget block (for example Wix: In the editor, Add (+) › Embed Code › Embed HTML, then paste the code).A. The form, in your “Book” page
When your privatization portal is on, a Booking | Privatization selector sits at the top of this snippet. Privatization gives the code of your privatization request form, to paste in a “Private events” page of your site: guests send their inquiry without leaving your site. The code then points tohttps://book.eat-now.io/privatization/your-restaurant?widget=true, its credit reads Inquiries powered by EatNow, and the animated preview shows the privatization form. The source-tracking script (B) is the same for both forms: add it once. When the privatization portal is off, the selector is hidden and the code is always the booking form’s.
The booking form’s code looks like this:
- The frame takes the full height of the screen (
height:100vh). You can change that value if it doesn’t fit your layout. - Because the portal is inside your site, the Website link is hidden from the portal header, and the Privatization and Activities links open in a new tab so the guest isn’t trapped inside the frame. See Header links.
- On the privatization form, the header never shows a Privatization link to the form itself. After sending, the guest reads the Request sent confirmation inside the frame.
B. Source tracking, on every page
An embedded frame cannot see your page’s address. So if a visitor lands onyoursite.com/?utm_source=instagram and then books in the iframe, that source is lost, unless you also add this script, marked Essential:
Direct links & QR code
This block gathers your main link, one link per social network and the QR code. Each network link keeps its source: you know where every booking comes from.Main link
The Main link is the address of your booking portal:Links for social networks
Under Social networks, versions of your main link are ready to copy, one per network, each with its use (bio link, page button…). Instagram, Facebook, WhatsApp and TikTok are shown; Show TripAdvisor and Snapchat reveals the other two. Each one adds a short label to the address:
The portal is exactly the same for the guest. The difference is on your side: a reservation made through one of these links is saved with that network as its source. You see it on the reservation (with the network’s icon) and in the Customers > By source report. A guest who simply types your portal’s address is recorded as Website.
Paste each link where it belongs: the Instagram one in your bio, the Facebook one on your page’s button, the WhatsApp one in your business profile or quick replies, the TripAdvisor one as your website link on your listing.
These short links only fill the reservation’s source. They are not the campaign links described in Source tracking:
- the label is only read during that visit. It is not remembered if the guest leaves and comes back to book later, whereas a tagged link (
?utm_source=…) is remembered for 30 days; - they carry no medium or campaign name.
QR code
The QR code shows under the block’s animated preview. Download saves a PNG image named after your restaurant (for exampleLe Bistrot-qr-code.png). It opens your Main link, with no source label.
Print it on table tents, flyers, the bill or your window.
Related pages
Source tracking
Tagged links, the campaign report, and how bookings from your website are credited.
Header links
Settings > Portal > Links: the links shown at the top of your portal.