best-burger as a placeholder.
If you are not sure which one to pick, the introduction compares the three and explains why we recommend the modal.
- Modal over your page (recommended)
- Inline in your page
- Hosted on Restoo
1
Add Restoo.js to your site
Paste Restoo.js just before the closing
</body> tag, and replace best-burger with your own Account ID.If your site already loads measurement tags (GA4, Google Ads, Meta, TikTok, ChatGPT Ads…), paste it after them, so no booking event is missed.2
Mark any button or link on your site
Add a
data-restoo-open attribute to any button or link that should open the booking form.3
Connect the button to the widget
Add this block right below Restoo.js. It is loaded as a deferred module, so the setup goes inside a
restoo:loaded listener: that is what guarantees window.Restoo already exists.4
Done
Refresh the page and click your button — the booking form opens on top of your page. You can add the same
data-restoo-open attribute to as many buttons or links as you like.Next steps
Appearance
Bring the widget into your brand: colors and fonts.
Set Up Your Integrations
Enable GA4, Google Ads, Meta, TikTok, ChatGPT Ads, or GTM in your account and start
measuring.